Hadoop Time

Is there an API for determining how long the Hadoop job took (exactly -> no hacks.)?

+2
source share
1 answer

I think the easiest way is to measure the 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"); 
+8
source

Source: https://habr.com/ru/post/921700/


All Articles