Measure Hadoop job time using JobControl
问题 I used to launch my Hadoop job with the following long start = new Date().getTime(); boolean status = job.waitForCompletion(true); long end = new Date().getTime(); This way I could measure the time taken by the job once it ends directly in my code. Now I have to use the JobControl in order to express dependencies between my jobs: JobControl jobControl = new JobControl("MyJob"); jobControl.addJob(job1); jobControl.addJob(job2); job3.addDependingJob(job2); jobControl.addJob(job3); jobControl