HamaConfiguration conf = new HamaConfiguration();
GraphJob mfmcJob = createJob(args, conf);
long startTime = System.currentTimeMillis();
MaxFlowVertex.OUTPUT = args[1];
if (mfmcJob.waitForCompletion(true)) {
System.out.println("Job Finished in "
+ (System.currentTimeMillis() - startTime) / 1000.0 + " seconds");
}
}
}