Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: YARN-1011
    • Fix Version/s: YARN-1011
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The memory overallocate threshold is a float, so is (overAllocationThresholds.getMemoryThreshold() *
      containersMonitor.getPmemAllocatedForContainers()). Because Math.round(float) return an int, this would cap effectively the amount of memory available for overallocation to Integer.MAX_VALUE, see the code at here

        Attachments

        1. YARN-8921.00.patch
          10 kB
          Haibo Chen
        2. YARN-8921-YARN-1011.00.patch
          10 kB
          Haibo Chen
        3. YARN-8921-YARN-1011.01.patch
          2 kB
          Haibo Chen
        4. YARN-8921-YARN-1011.02.patch
          10 kB
          Haibo Chen

          Activity

            People

            • Assignee:
              haibochen Haibo Chen
              Reporter:
              haibochen Haibo Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: