Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12684

Ozone: SCMMXBean NodeCount is overlapping with NodeManagerMXBean

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone, scm
    • None
    • Reviewed

    Description

      I found this issue while reviewing HDFS-11468, from http://scm_host:9876/jmx, both SCM and SCMNodeManager has NodeCount metrics

       {
          "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."
        }
      

      hence, propose to remove NodeCount from SCMMXBean.

      Attachments

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: