[ 
https://issues.apache.org/jira/browse/YARN-11181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bilwa S T updated YARN-11181:
-----------------------------
    Description: 
Configure two queues q1 and q2.

Lets say AM Resource percent for q1 and q2 is both <5gb, 5vcores>. 

1. Run long running application to q1 which occupies 70% of cluster resources
2. Run small application to q2 .
3. Run one long running job to q2 and few more small jobs.
4. Once small application submitted to q2 finishes , AM resources gets 
decreased to <2gb, 2vcores>
5. Kill long running application submitted to q1.

Now long running job submitted to q2 will be running and all other jobs are in 
pending state.

This is because LeafQueue#ActivateApplications gets called only when AM starts 
running or finishes. 

> Applications in Pending state as AM resources are not updated when resources 
> from other queue gets released
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-11181
>                 URL: https://issues.apache.org/jira/browse/YARN-11181
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bilwa S T
>            Priority: Major
>
> Configure two queues q1 and q2.
> Lets say AM Resource percent for q1 and q2 is both <5gb, 5vcores>. 
> 1. Run long running application to q1 which occupies 70% of cluster resources
> 2. Run small application to q2 .
> 3. Run one long running job to q2 and few more small jobs.
> 4. Once small application submitted to q2 finishes , AM resources gets 
> decreased to <2gb, 2vcores>
> 5. Kill long running application submitted to q1.
> Now long running job submitted to q2 will be running and all other jobs are 
> in pending state.
> This is because LeafQueue#ActivateApplications gets called only when AM 
> starts running or finishes. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
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