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

Song Jiacheng updated YARN-10868:
---------------------------------
    Description: 
In FairScheduler, remove a app attempt will call 
MaxRunningAppsEnforcer#updateRunnabilityOnAppRemoval to find some non-runnable 
apps and make them not pending. This method will call updateAppsRunnability at 
the end, and set appsNowMaybeRunnable.size() as the method parameter 
"maxRunnableApps",as below:

{code:java}
updateAppsRunnability(appsNowMaybeRunnable,
        appsNowMaybeRunnable.size());
{code}


  was:In FairScheduler, remove a app attempt will call 
MaxRunningAppsEnforcer#updateRunnabilityOnAppRemoval to find some non-runnable 
apps and make them not pending. This method will call updateAppsRunnability at 
the end, and set appsNowMaybeRunnable.size() as the method parameter 
"maxRunnableApps"


> FairScheduler: updateAppsRunnability never break
> ------------------------------------------------
>
>                 Key: YARN-10868
>                 URL: https://issues.apache.org/jira/browse/YARN-10868
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 3.2.1
>            Reporter: Song Jiacheng
>            Priority: Major
>
> In FairScheduler, remove a app attempt will call 
> MaxRunningAppsEnforcer#updateRunnabilityOnAppRemoval to find some 
> non-runnable apps and make them not pending. This method will call 
> updateAppsRunnability at the end, and set appsNowMaybeRunnable.size() as the 
> method parameter "maxRunnableApps",as below:
> {code:java}
> updateAppsRunnability(appsNowMaybeRunnable,
>         appsNowMaybeRunnable.size());
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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