Mapreduce : Capture all Job statistics

64 views Asked by At

Is there a way I can capture all stats related to Job? I need this info to print it in an email (instead of logging into Job Tracker) to view it

1

There are 1 answers

0
zsxwing On BEST ANSWER

E.g.,

Job job = ...
...
boolean successful = job.waitForCompletion(true);
String stats = job.getCounters().toString();