hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1583) Ineffective state check in FairSchedulerAppsBlock#render()
Date Tue, 11 Feb 2014 22:44:19 GMT

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

Ted Yu updated YARN-1583:
-------------------------

    Priority: Major  (was: Minor)

> 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.1.5#6160)

Mime
View raw message