Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2788

Normalize requests in FifoScheduler.allocate to prevent NPEs later

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None

      Description

      The assignContainer() method in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue can cause the scheduler to crash if the ResourseRequest capability memory == 0 (divide by zero).

      1. MAPREDUCE-2788.patch
        2 kB
        Ahmed Radwan
      2. MAPREDUCE-2788_rev5.patch
        9 kB
        Ahmed Radwan
      3. MAPREDUCE-2788_rev4.patch
        6 kB
        Ahmed Radwan
      4. MAPREDUCE-2788_rev3.patch
        2 kB
        Ahmed Radwan
      5. MAPREDUCE-2788_rev2.patch
        4 kB
        Ahmed Radwan

        Activity

          People

          • Assignee:
            Ahmed Radwan
            Reporter:
            Ahmed Radwan
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development