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

ResourceCalculatorProcessTree#getCpuUsagePercent default return value is inconsistent with other getters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: nodemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Per discussions in YARN-3296, getCpuUsagePercent() will return -1 for unavailable case while other resource metrics are return 0 in the same case which sounds inconsistent.

        Attachments

        1. YARN-3304-appendix-v4.patch
          24 kB
          Junping Du
        2. YARN-3304-appendix-v3.patch
          24 kB
          Junping Du
        3. YARN-3304-appendix-v2.patch
          23 kB
          Junping Du
        4. YARN-3304-appendix.patch
          22 kB
          Junping Du
        5. YARN-3304-v8.patch
          34 kB
          Junping Du
        6. YARN-3304-v7.patch
          34 kB
          Junping Du
        7. YARN-3304-v6-with-rename.patch
          33 kB
          Junping Du
        8. YARN-3304-v6-no-rename.patch
          19 kB
          Junping Du
        9. yarn-3304-5.patch
          17 kB
          Karthik Kambatla
        10. YARN-3304-v4-negative-way-MR.patch
          2 kB
          Junping Du
        11. YARN-3304-v4-negtive-value-way.patch
          12 kB
          Junping Du
        12. YARN-3304-v4-boolean-way.patch
          14 kB
          Junping Du
        13. YARN-3304-v3.patch
          13 kB
          Junping Du
        14. YARN-3304-v2.patch
          6 kB
          Junping Du
        15. YARN-3304.patch
          6 kB
          Junping Du

          Issue Links

            Activity

              People

              • Assignee:
                junping_du Junping Du
                Reporter:
                junping_du Junping Du
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: