Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1011 [Umbrella] Schedule containers based on utilization of currently allocated containers
  3. YARN-8921

SnapshotBasedOverAllocationPolicy always caps the amount of memory availabe to 4 GBs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • YARN-1011
    • YARN-1011
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: