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

FairCallQueue makes callQueue larger than the configured capacity.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.5
    • ipc
    • None
    • 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.001.patch
          3 kB
          Vinitha Reddy Gankidi
        2. HADOOP-13189.002.patch
          6 kB
          Vinitha Reddy Gankidi
        3. HADOOP-13189.003.patch
          6 kB
          Vinitha Reddy Gankidi
        4. HADOOP-13189.003-branch-2.7.patch
          5 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              redvine Vinitha Reddy Gankidi
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: