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
E.g.,
Job job = ... ... boolean successful = job.waitForCompletion(true); String stats = job.getCounters().toString();
E.g.,