Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6212

NodeManager metrics returning wrong negative values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7.3
    • None
    • metrics
    • None

    Description

      It looks like the metrics returned by the NodeManager have negative values for metrics that never should be negative. Here is an output form NM endpoint

      /jmx?qry=Hadoop:service=NodeManager,name=NodeManagerMetrics
      
      {
        "beans" : [ {
          "name" : "Hadoop:service=NodeManager,name=NodeManagerMetrics",
          "modelerType" : "NodeManagerMetrics",
          "tag.Context" : "yarn",
          "tag.Hostname" : "<HOST>",
          "ContainersLaunched" : 707,
          "ContainersCompleted" : 9,
          "ContainersFailed" : 124,
          "ContainersKilled" : 579,
          "ContainersIniting" : 0,
          "ContainersRunning" : 19,
          "AllocatedGB" : -26,
          "AllocatedContainers" : -5,
          "AvailableGB" : 252,
          "AllocatedVCores" : -5,
          "AvailableVCores" : 101,
          "ContainerLaunchDurationNumOps" : 718,
          "ContainerLaunchDurationAvgTime" : 18.0
        } ]
      }
      

      Is there any circumstance under which the value for AllocatedGB, AllocatedContainers and AllocatedVCores go below 0?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abkshvn Abhishek Shivanna
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: