[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom White updated MAPREDUCE-1920:
---------------------------------

    Attachment: MAPREDUCE-1920.patch

According to a comment in JobTracker#retireJob() 
mapreduce.jobtracker.retirejobs is "primarily for testing" (I assume because if 
you set it to true on a real installation the JT eventually runs out of 
memory?).

I think enabling the job completed store for 1 hour is the most natural 
workaround. Here's a patch for enabling it by default. The patch also adds 
javadoc to Job#getCounters().

Aaron, does this patch fix the issue for you?

> Job.getCounters() returns null when using a cluster
> ---------------------------------------------------
>
>                 Key: MAPREDUCE-1920
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1920
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Aaron Kimball
>            Priority: Critical
>         Attachments: MAPREDUCE-1920.patch
>
>
> Calling Job.getCounters() after the job has completed (successfully) returns 
> null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to