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

Enhance NodeManager AllocatedGB and AvailableGB metrics for aggregation of decimal values

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.7.0
    • None
    • Reviewed

    Description

      AllocatedGB and AvailableGB metrics are now integer type. If there are four times 500MB memory allocation to container, AllocatedGB is incremented four times by (int)500/1024, which means 0. That is, the memory size allocated is actually 2000MB, but the metrics shows 0GB. Let's use float type for these metrics.

      Attachments

        1. YARN-1156.1.patch
          4 kB
          Tsuyoshi Ozawa
        2. YARN-1156.2.patch
          4 kB
          Tsuyoshi Ozawa
        3. YARN-1156.3.patch
          5 kB
          Tsuyoshi Ozawa
        4. YARN-1156.4.patch
          5 kB
          Tsuyoshi Ozawa
        5. YARN-1156.5.patch
          5 kB
          Tsuyoshi Ozawa

        Issue Links

        Activity

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

          People

            ozawa Tsuyoshi Ozawa
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment