// (https://issues.apache.org/jira/browse/MAPREDUCE-1832)
// so we use a local copy of TestDFSIO with this patch
int runs = Integer.parseInt(System.getProperty("testDFSIORuns", "3"));
for (int i = 0; i < runs; i++) {
LOG.info("Starting TestDFSIO run {} of {}", i + 1, runs);
TestDFSIO testDFSIO = new TestDFSIO();
JobConf jobConf = controller.getJobConf();
jobConf.set("test.build.data", "/user/root/benchmark/TestDFSIO");
testDFSIO.setConf(jobConf);
testDFSIO.run("-write -nrFiles 10 -fileSize 1000".split(" "));
testDFSIO.run("-read -nrFiles 10 -fileSize 1000".split(" "));
testDFSIO.run(new String[] { "-clean" });
LOG.info("Completed TestDFSIO run {} of {}", i + 1, runs);
}
}