[
https://issues.apache.org/jira/browse/HDFS-12684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16216364#comment-16216364
]
Weiwei Yang commented on HDFS-12684:
------------------------------------
Thanks [~anu], the UT failures were not related to this patch, I will fix the
minor checkstyle issue while committing the patch. Thanks a lot.
> Ozone: SCMMXBean NodeCount is overlapping with NodeManagerMXBean
> ----------------------------------------------------------------
>
> Key: HDFS-12684
> URL: https://issues.apache.org/jira/browse/HDFS-12684
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone, scm
> Reporter: Weiwei Yang
> Assignee: Weiwei Yang
> Priority: Minor
> Attachments: HDFS-12684-HDFS-7240.001.patch
>
>
> I found this issue while reviewing HDFS-11468, from http://scm_host:9876/jmx,
> both SCM and SCMNodeManager has {{NodeCount}} metrics
> {noformat}
> {
> "name" :
> "Hadoop:service=StorageContainerManager,name=StorageContainerManagerInfo,component=ServerRuntime",
> "modelerType" : "org.apache.hadoop.ozone.scm.StorageContainerManager",
> "ClientRpcPort" : "9860",
> "DatanodeRpcPort" : "9861",
> "NodeCount" : [ {
> "key" : "STALE",
> "value" : 0
> }, {
> "key" : "DECOMMISSIONING",
> "value" : 0
> }, {
> "key" : "DECOMMISSIONED",
> "value" : 0
> }, {
> "key" : "FREE_NODE",
> "value" : 0
> }, {
> "key" : "RAFT_MEMBER",
> "value" : 0
> }, {
> "key" : "HEALTHY",
> "value" : 0
> }, {
> "key" : "DEAD",
> "value" : 0
> }, {
> "key" : "UNKNOWN",
> "value" : 0
> } ],
> "CompileInfo" : "2017-10-17T06:47Z xxx",
> "Version" : "3.1.0-SNAPSHOT, r6019a25908ce75155656f13effd8e2e53ed43461",
> "SoftwareVersion" : "3.1.0-SNAPSHOT",
> "StartedTimeInMillis" : 1508393551065
> }, {
> "name" : "Hadoop:service=SCMNodeManager,name=SCMNodeManagerInfo",
> "modelerType" : "org.apache.hadoop.ozone.scm.node.SCMNodeManager",
> "NodeCount" : [ {
> "key" : "STALE",
> "value" : 0
> }, {
> "key" : "DECOMMISSIONING",
> "value" : 0
> }, {
> "key" : "DECOMMISSIONED",
> "value" : 0
> }, {
> "key" : "FREE_NODE",
> "value" : 0
> }, {
> "key" : "RAFT_MEMBER",
> "value" : 0
> }, {
> "key" : "HEALTHY",
> "value" : 0
> }, {
> "key" : "DEAD",
> "value" : 0
> }, {
> "key" : "UNKNOWN",
> "value" : 0
> } ],
> "OutOfChillMode" : false,
> "MinimumChillModeNodes" : 1,
> "ChillModeStatus" : "Still in chill mode, waiting on nodes to report in.
> 0 nodes reported, minimal 1 nodes required."
> }
> {noformat}
> hence, propose to remove {{NodeCount}} from {{SCMMXBean}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]