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

Bangtao Zhou commented on YARN-1583:
------------------------------------

Line #84 {code}reqAppStates = new 
HashSet<RMAppState>(appStateStrings.length);{code}
so what do you mean "reqAppStates is of type YarnApplicationState."?

> 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
>            Priority: Minor
>
> 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)

Reply via email to