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

Sunil G commented on YARN-6992:
-------------------------------

I think in align to RMAppImpl#isAppInCompletedStates, we could add below states 
as well. Thoughts?
{code}
  public boolean isAppInCompletedStates() {
    RMAppState appState = getState();
    return appState == RMAppState.FINISHED || appState == RMAppState.FINISHING
        || appState == RMAppState.FAILED || appState == RMAppState.KILLED
        || appState == RMAppState.FINAL_SAVING
        || appState == RMAppState.KILLING;
  }
{code}


> "Kill application" button is present even if the application is FINISHED in 
> RM UI
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-6992
>                 URL: https://issues.apache.org/jira/browse/YARN-6992
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Sumana Sathish
>            Assignee: Suma Shivaprasad
>         Attachments: YARN-6992.001.patch
>
>
> Kill button should not be displayed for FAILED, KILLED and FINISHED apps in 
> Application specific landing page



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to