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

Sunil Govindan commented on YARN-8421:
--------------------------------------

This change makes sense. Could you please add unit test to validate this and to 
verify the patch fixes it.

3 cases to look here
 # Active user count has to decrease from old queue
 # Increase the active user count in target queue if the moved app has pending 
requests 
 # Active user count in target queue stays same if the moved app has NO pending 
requests 

> when moving app, activeUsers is increased, even though app does not have 
> outstanding request 
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-8421
>                 URL: https://issues.apache.org/jira/browse/YARN-8421
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.8.4
>            Reporter: kyungwan nam
>            Priority: Major
>         Attachments: YARN-8421.001.patch
>
>
> all containers for app1 have been allocated.
> move app1 from default Queue to test Queue as follows.
> {code}
>   yarn rmadmin application -movetoqueue app1 -queue test
> {code}
> _activeUsers_ of the test Queue is increased even though app1 which does not 
> have outstanding request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to