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

Enhance NodeManager AllocatedGB and AvailableGB metrics for aggregation of decimal values

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: