You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2017/10/19 07:00:13 UTC

[jira] [Created] (HDFS-12684) Ozone: SCM metrics NodeCount is overlapping with node manager metrics

Weiwei Yang created HDFS-12684:
----------------------------------

             Summary: 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
            Priority: Minor


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org