是否有一个API来确定Hadoop作业执行的时间(确切地说 - >没有黑客攻击。)?
I think the simplest way is to measure time in Your driver class. Is it ok for you? I mean something like this:
long start = new Date().getTime();
boolean status = job.waitForCompletion(true);
long end = new Date().getTime();
System.out.println("Job took "+(end-start) + "milliseconds");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.