Andrey Stepachev created YARN-2134:

             Summary: FairSchduler AllocationConfiguration doesn't treat 
hierarchical queues settings
                 Key: YARN-2134
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler
            Reporter: Andrey Stepachev

AllocationConfiguration doesn't fully qualify queue names with respect to 
'root.' prefix. Such behaviour leads to situation where settings for nested 
queue doesn't take effect. 
Consider following config (working example in broken-hier-queues.diff attached) 
sub queue settings were not applied by method queueConf.getMaxResources.

<queue name="queueA">
<queue name="queueB">

I made patch, which unifies QueueName operations (remove those indexOf copy 
pastes) and apply some of settings in hierarchical manner  (say preemption 
timeout can be used from parent queue instead of global default).

Also it is interesting to introduce type safe object QueueName and replace 
String in interfaces, and a have made an attempt 
(, but 
looks like it lead to some inconstancy and I think that it is not necessary 
right now).

This message was sent by Atlassian JIRA

Reply via email to