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

Potential infinite loop in updateMinSlots

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • 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 Alexandru Zaharia
        2. hadoop-5075-v2.patch
          1 kB
          Matei Alexandru Zaharia
        3. hadoop-5075-v3.patch
          4 kB
          Matei Alexandru Zaharia
        4. hadoop-5075-v4.patch
          4 kB
          Matei Alexandru Zaharia

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: