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

QueueMetrics pending cores and memory metrics wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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 Chundatt
        2. 0002-YARN-4538.patch
          7 kB
          Bibin Chundatt
        3. 0003-YARN-4538.patch
          7 kB
          Bibin Chundatt
        4. 0004-YARN-4538.patch
          7 kB
          Bibin Chundatt
        5. 0005-YARN-4538.patch
          7 kB
          Bibin Chundatt

        Activity

          People

            bibinchundatt Bibin Chundatt
            bibinchundatt Bibin Chundatt
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: