You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2016/05/20 22:26:12 UTC

[jira] [Moved] (HADOOP-13189) FairCallQueue makes callQueue larger than the configured capacity.

     [ https://issues.apache.org/jira/browse/HADOOP-13189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko moved HDFS-10443 to HADOOP-13189:
-----------------------------------------------------

    Affects Version/s:     (was: 2.6.0)
                       2.6.0
     Target Version/s: 2.6.5  (was: 2.6.5)
          Component/s:     (was: namenode)
                       ipc
                  Key: HADOOP-13189  (was: HDFS-10443)
              Project: Hadoop Common  (was: Hadoop HDFS)

> FairCallQueue makes callQueue larger than the configured capacity.
> ------------------------------------------------------------------
>
>                 Key: HADOOP-13189
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13189
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.6.0
>            Reporter: Konstantin Shvachko
>
> {{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org