cluster.stopDataNode(1);
// wait for namenode to discover that a datanode is dead
Thread.sleep(15000);
namesystem.setReplication("/filestatus0", (short) 4);
namesystem.metaSave("metasave.out.txt");
// Verification
String logFile = System.getProperty("hadoop.log.dir") + "/"
+ "metasave.out.txt";
FileInputStream fstream = new FileInputStream(logFile);