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

FairCallQueue makes callQueue larger than the configured capacity.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.5
    • Component/s: ipc
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FairCallQueue divides callQueue into multiple (4 by default) sub-queues, with each sub-queue corresponding to a different level of priority. The constructor for FairCallQueue takes the same parameter capacity as the default CallQueue implementation, and allocates all its sub-queues of size capacity. With 4 levels of priority (sub-queues) by default it results in the total callQueue size 4 times larger than it should be based on the configuration.
      capacity should be divided by the number of sub-queues at some place.

        Attachments

        1. HADOOP-13189.003-branch-2.7.patch
          5 kB
          Konstantin Shvachko
        2. HADOOP-13189.003.patch
          6 kB
          Vinitha Reddy Gankidi
        3. HADOOP-13189.002.patch
          6 kB
          Vinitha Reddy Gankidi
        4. HADOOP-13189.001.patch
          3 kB
          Vinitha Reddy Gankidi

          Issue Links

            Activity

              People

              • Assignee:
                redvine Vinitha Reddy Gankidi
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: