Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5075

Potential infinite loop in updateMinSlots

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We ran into a problem at Facebook where the updateMinSlots loop in the scheduler was repeating infinitely. This might happen if, due to rounding, we are unable to assign the last few slots in a pool. This patch adds a break statement to ensure that the loop exists if it hasn't managed to assign any slots.

        Attachments

        1. hadoop-5075.patch
          0.6 kB
          Matei Zaharia
        2. hadoop-5075-v2.patch
          1 kB
          Matei Zaharia
        3. hadoop-5075-v3.patch
          4 kB
          Matei Zaharia
        4. hadoop-5075-v4.patch
          4 kB
          Matei Zaharia

          Activity

            People

            • Assignee:
              matei@eecs.berkeley.edu Matei Zaharia
              Reporter:
              matei Matei Zaharia
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: