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

Sandy Ryza commented on YARN-333:
---------------------------------

Uploading a patch that adds a setQueue method to RMApp, allowing a scheduler to 
change the name of an application.  RMApp was previously read-only, so this is 
a departure from that, but I couldn't think of a case where changing a queue 
name would cause a problem.  We could use an event here, but it seems like 
overkill to me when we're just setting a single field.
                
> Schedulers cannot control the queue-name of an application
> ----------------------------------------------------------
>
>                 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