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

Subramaniam Venkatraman Krishnan commented on YARN-2378:
--------------------------------------------------------

I am attaching a patch that has the following updates:
   
   * Add moveApplication() and moveAllApps() to ResourceSchedulerAPI.
   * Implementation of above APIs for Capacity Scheduler
   * Update RMAppImpl state machine to handle Move app event correctly. This is 
required especially if we use move programmatically as is done by the 
reservation system as part of YARN-1051. Essentially we need to handle Move 
event when app is in NEW_SAVING state and add it ignore list for other missing 
states like FINISHED, KILLED, FAILED etc that are tracked by scheduler
   * Test cases for testing moveApplication() and moveAllApps()

Let me know your thoughts.

> Adding support for moving apps between queues in Capacity Scheduler
> -------------------------------------------------------------------
>
>                 Key: YARN-2378
>                 URL: https://issues.apache.org/jira/browse/YARN-2378
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler
>            Reporter: Subramaniam Venkatraman Krishnan
>            Assignee: Subramaniam Venkatraman Krishnan
>              Labels: capacity-scheduler
>         Attachments: YARN-2378.patch
>
>
> As discussed with [~leftnoteasy] and [~jianhe], we are breaking up YARN-1707 
> to smaller patches for manageability. This JIRA will address adding support 
> for moving apps between queues in Capacity Scheduler.



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

Reply via email to