[ 
https://issues.apache.org/jira/browse/HADOOP-10279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938492#comment-13938492
 ] 

Chris Li commented on HADOOP-10279:
-----------------------------------

Hi [~zhaoyunjiong], thanks for taking a look.

This is handled in the FairCallQueue: it treats the index from the Multiplexer 
as a suggestion and works on the first non-empty queue, starting from this 
suggestion. So if the Mux suggests queue 2 but queues 2, 3, and 4 are empty, 
the FairCallQueue will use queue 5, or whatever queue is not empty.

This way, the Mux doesn't need to know anything about what queues are.

> Create multiplexer, a requirement for the fair queue
> ----------------------------------------------------
>
>                 Key: HADOOP-10279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10279
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Chris Li
>         Attachments: subtask2_add_mux.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to