hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Answer Agrawal <yrsna.tse...@gmail.com>
Subject How to find execution time of a MapReduce job?
Date Fri, 15 May 2015 15:07:16 GMT

Date date; long start, end; // for recording start and end time of job
date = new Date(); start = date.getTime(); // starting timer


date = new Date(); end = date.getTime(); //end timer
log.info("Total Time (in milliseconds) = "+ (end-start));
log.info("Total Time (in seconds) = "+ (end-start)*0.001F);

I am not sure above is the correct way to find. Is there any other method
or API to find the execution time of a MapReduce job?


View raw message