You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jian He (JIRA)" <ji...@apache.org> on 2015/05/01 22:43:08 UTC

[jira] [Resolved] (YARN-1583) Ineffective state check in FairSchedulerAppsBlock#render()

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

Jian He resolved YARN-1583.
---------------------------
    Resolution: Fixed

> Ineffective state check in FairSchedulerAppsBlock#render()
> ----------------------------------------------------------
>
>                 Key: YARN-1583
>                 URL: https://issues.apache.org/jira/browse/YARN-1583
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> Starting line 90:
> {code}
>     for (RMApp app : apps.values()) {
>       if (reqAppStates != null && !reqAppStates.contains(app.getState())) {
> {code}
> reqAppStates is of type YarnApplicationState.
> app.getState() returns RMAppState.
> These are two different enum types.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)