[
https://issues.apache.org/jira/browse/YARN-7602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309688#comment-16309688
]
Haibo Chen commented on YARN-7602:
----------------------------------
Thanks [~mdrob] [~rkanter] and [~rohithsharma] for the reviews!
Looks like the new failures with mockito-related error messages are caused by
the change (making NodeManagerMetrics class final)
to address the checkstyle warning.
> NM should reference the singleton JvmMetrics instance
> -----------------------------------------------------
>
> Key: YARN-7602
> URL: https://issues.apache.org/jira/browse/YARN-7602
> Project: Hadoop YARN
> Issue Type: Bug
> Components: nodemanager
> Affects Versions: 3.0.0-beta1
> Reporter: Haibo Chen
> Assignee: Haibo Chen
> Attachments: YARN-7602.00.patch, YARN-7602.01.patch,
> YARN-7602.02.patch, YARN-7602.03.patch
>
>
> NM does not reference the singleton JvmMetrics instance in its
> NodeManagerMetrics. This will easily cause NM to crash if any of the node
> manager components tries to register JvmMetrics. An example of this is
> TimelineCollectorManager that hosts a HBaseClient that registers JvmMetrics
> again. See HBASE-19409 for details.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]