[
https://issues.apache.org/jira/browse/HADOOP-10090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820293#comment-13820293
]
Chris Nauroth commented on HADOOP-10090:
----------------------------------------
Another possibility could be to change {{MetricsSourceAdapter#getMetrics}} to
combine the prior elements of a non-null {{lastRecs}} with the new values.
Right now, it's just a complete overwrite, so "unconsumed" values from the
prior run get dropped. If we combine, then we might need to de-duplicate (not
simply append), and I haven't yet thought about whether or not this brings
additional complexity.
> 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: 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)