hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13189) FairCallQueue makes callQueue larger than the configured capacity.
Date Tue, 07 Jun 2016 01:18:21 GMT

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

Konstantin Shvachko updated HADOOP-13189:
    Status: Patch Available  (was: Open)

Submitting to Jenkins.
Patch looks good. Two minor improvements:
# Could you add logging of queue size in {{CallQueueManager}}, so that we could see the size
in the logs for any implementation of call queue.
# In {{TestFairCallQueue}} we can remove all {{junit.Assert}} imports, as they are unused.

> 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
>            Assignee: Vinitha Reddy Gankidi
>         Attachments: HADOOP-13189.001.patch
> {{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

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

View raw message