I’m using version 0.20.2 for the sake of MultipleOutputFormat,
and want to extract counters after the job is finished.
I tried to google some useful and practical examples, but I couldn’t.
Anyone can show be a simple example?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are submitting your job like this:
And it has finished (you can call this even when its running, but the results won’t be final then, because the job hasn’t completed yet.), you can grab the counters by using:
This is the name of the enum counter I used in my job:
If you want all counter you have to traverse the backing structure behind the
Countersobject. There is an iterator for it.