[
https://issues.apache.org/jira/browse/HADOOP-16391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873444#comment-16873444
]
Erik Krogen commented on HADOOP-16391:
--------------------------------------
Hi [~BilwaST], thanks for reporting this. I took a quick look and as far as I
can tell, this was introduced by HADOOP-11552 which initially introduced the
concept of the deferred metrics. I actually disagree with you that the problem
is calling {{init}} twice; that method simply initializes the local data
structures within {{RpcDetailedMetricsWithAggregation}}. I believe the problem
is that both {{rates}} and {{deferredRpcRates}} use the exact same method
names, thus the metric names overlap. We probably need to adjust
{{addDeferredProcessingTime}} to add a prefix or suffix to all of the metric
names.
> Duplicate values in rpcDetailedMetrics
> --------------------------------------
>
> Key: HADOOP-16391
> URL: https://issues.apache.org/jira/browse/HADOOP-16391
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bilwa S T
> Assignee: Bilwa S T
> Priority: Major
> Attachments: image-2019-06-25-20-30-15-395.png
>
>
> In RpcDetailedMetrics init is called two times . Once for deferredRpcrates
> and other one rates metrics which causes duplicate values in RM and NM
> metrics.
> !image-2019-06-25-20-30-15-395.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]