Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13905

HDFS NameNode jmx information inaccuracy

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • nn
    • None

    Description

      The information obtained using Namenode jmx does not match the actual situation。

      jmx json data:

      // http://{namenode_ip}:50070/jmx/?qry=Hadoop:service=NameNode,name=BlockStats
      {
        "beans" : [ {
          "name" : "Hadoop:service=NameNode,name=BlockStats",
          "modelerType" : "org.apache.hadoop.hdfs.server.blockmanagement.BlockManager",
          "StorageTypeStats" : [ {
            "key" : "ARCHIVE",
            "value" : {
              "blockPoolUsed" : 10411907414335294,
              "capacityRemaining" : 1435938815980942,
              "capacityTotal" : 11851673443205120,
              "capacityUsed" : 10411907414335294,
              "nodesInService" : 111
            }
          }, {
            "key" : "DISK",
            "value" : {
              "blockPoolUsed" : 16789505803398474,
              "capacityRemaining" : 3404376930515479,
              "capacityTotal" : 20204114325184512,
              "capacityUsed" : 16789505803398474,
              "nodesInService" : 473
            }
          } ]
        } ]
      }
      

      but ,in our cluster :

      disk nodesInService = 462

      archive nodesInService = 110

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            dengsc dengsc

            Dates

              Created:
              Updated:

              Issue deployment