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

QueueMetrics pending cores and memory metrics wrong

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Submit 2 application to default queue
      Check queue metrics for pending cores and memory

          List<QueueInfo> allQueues = client.getChildQueueInfos("root");
      
          for (QueueInfo queueInfo : allQueues) {
            QueueStatistics quastats = queueInfo.getQueueStatistics();
            System.out.println(quastats.getPendingVCores());
            System.out.println(quastats.getPendingMemoryMB());
          }
      
      

      Output :

      -20
      -20480

        Attachments

        1. 0001-YARN-4538.patch
          4 kB
          Bibin A Chundatt
        2. 0002-YARN-4538.patch
          7 kB
          Bibin A Chundatt
        3. 0003-YARN-4538.patch
          7 kB
          Bibin A Chundatt
        4. 0004-YARN-4538.patch
          7 kB
          Bibin A Chundatt
        5. 0005-YARN-4538.patch
          7 kB
          Bibin A Chundatt

          Activity

            People

            • Assignee:
              bibinchundatt Bibin A Chundatt
              Reporter:
              bibinchundatt Bibin A Chundatt
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: