[
https://issues.apache.org/jira/browse/HADOOP-10090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Mitic updated HADOOP-10090:
--------------------------------
Attachment: HADOOP-10090.branch-1.3.patch
Attaching a patch that goes with option #2 and addresses all the comments.
Luke, doing only the backport is not enough, the bug from this Jira will
remain.
Now we have to decide whether to do the backport in this Jira or not. Whether
we do it now or separately, I'd recommend that we change
MetricsSourceAdapter#getMetrics signature only to accept MetricsBuilderImpl
parameter. This is a package private method so this change should be ok.
Thoughts?
> Jobtracker metrics not updated properly after execution of a mapreduce job
> --------------------------------------------------------------------------
>
> Key: HADOOP-10090
> URL: https://issues.apache.org/jira/browse/HADOOP-10090
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 1.2.1
> Reporter: Ivan Mitic
> Assignee: Ivan Mitic
> Attachments: HADOOP-10090.branch-1.2.patch,
> HADOOP-10090.branch-1.3.patch, HADOOP-10090.branch-1.patch, OneBoxRepro.png
>
>
> After executing a wordcount mapreduce sample job, jobtracker metrics are not
> updated properly. Often times the response from the jobtracker has higher
> number of job_completed than job_submitted (for example 8 jobs completed and
> 7 jobs submitted).
> Issue reported by Toma Paunovic.
--
This message was sent by Atlassian JIRA
(v6.1#6144)