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

ResourceCalculatorProcessTree#getCpuUsagePercent default return value is inconsistent with other getters

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.7.0
    • nodemanager
    • None
    • 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.patch
          6 kB
          Junping Du
        2. yarn-3304-5.patch
          17 kB
          Karthik Kambatla
        3. YARN-3304-appendix.patch
          22 kB
          Junping Du
        4. YARN-3304-appendix-v2.patch
          23 kB
          Junping Du
        5. YARN-3304-appendix-v3.patch
          24 kB
          Junping Du
        6. YARN-3304-appendix-v4.patch
          24 kB
          Junping Du
        7. YARN-3304-v2.patch
          6 kB
          Junping Du
        8. YARN-3304-v3.patch
          13 kB
          Junping Du
        9. YARN-3304-v4-boolean-way.patch
          14 kB
          Junping Du
        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-v6-no-rename.patch
          19 kB
          Junping Du
        13. YARN-3304-v6-with-rename.patch
          33 kB
          Junping Du
        14. YARN-3304-v7.patch
          34 kB
          Junping Du
        15. YARN-3304-v8.patch
          34 kB
          Junping Du

        Issue Links

        Activity

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

          People

            junping_du Junping Du
            junping_du Junping Du
            Votes:
            0 Vote for this issue
            Watchers:
            10 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment