[ 
https://issues.apache.org/jira/browse/HDFS-12684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-12684:
-------------------------------
    Attachment: HDFS-12684-HDFS-7240.001.patch

> Ozone: SCM metrics NodeCount is overlapping with node manager metrics
> ---------------------------------------------------------------------
>
>                 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to