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

Tom White commented on YARN-333:
--------------------------------

This is not a problem in MR is it, since the queue is always set? But I can see 
that it would be needed in general.

The approach looks fine, although I think it would be simpler just to have a 
getDefaultQueueName() method on YarnScheduler.

                
> On app submission, have RM ask scheduler for queue name
> -------------------------------------------------------
>
>                 Key: YARN-333
>                 URL: https://issues.apache.org/jira/browse/YARN-333
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: YARN-333.patch
>
>
> Currently, if an app is submitted without a queue, RMAppManager sets the 
> RMApp's queue to "default".
> A scheduler may wish to make its own decision on which queue to place an app 
> in if none is specified. For example, when the fair scheduler 
> user-as-default-queue config option is set to true, and an app is submitted 
> with no queue specified, the fair scheduler should assign the app to a queue 
> with the user's name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to