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

An earlier fix, for HADOOP-4373, results in a problem with reclaiming capacity when one or more queues have a capacity equal to zero

    Details

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

      Description

      HADOOP-4373 introduced a fix for queues with guaranteed capacity (gc) equal to zero. Part of the fix was in the queue comparator used to sort queues. Queues with gc=0 were placed at the end. This causes a problem with the code for reclaiming capacity, which assumes that queues are sorted based on free space available and that a queue with gc=0 is no different than a queue which is running at capacity. Because of this, the following problem can arise: if we have a system with at least one queue whose gc=0, we may fail to reclaim capacity for some queues.

        Attachments

        1. 4988.2.patch
          6 kB
          Vivek Ratan
        2. 4988.1.patch
          5 kB
          Vivek Ratan

          Activity

            People

            • Assignee:
              vivekr Vivek Ratan
              Reporter:
              vivekr Vivek Ratan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: