namenode = fs.getUri().toString();
mr = new MiniMRCluster(3, namenode, 1);
MyFile[] files = TestCopyFiles.createFiles(fs.getUri(), "/srcdat");
// create a under construction files
MyFile f = new MyFile();
Path p = new Path(new Path("/srcdat"), f.getName());
FSDataOutputStream out = fs.create(p);
byte[] toWrite = new byte[f.getSize()];
new Random(f.getSeed()).nextBytes(toWrite);
out.write(toWrite);
out.flush();
Log.info("Created under construction file: " + p);
Path destRoot = new Path("/destdat");
Path destPath = new Path(destRoot, f.getName());
String option = "";
if (type.equals(DistcpType.FASTCOPY)) {
option = "-usefastcopy";
} else if (type.equals(DistcpType.COPYBYCHUNK)) {