Gour Saha commented on YARN-7957:

[~sunilg] in addition to checking states FAILED/FINISHED/KILLED can we also hit 
the YARN SERVICE REST API (running on RM host/port). If the app is deleted, 
then the REST API will return 404. If the app is stopped (not running) but not 
deleted it will return a 200 with a JSON which has "state":"STOPPED" in the 
body as well. In fact, we don't need to check YARN App states at all and just 
rely on the REST API response.

> Yarn service delete option disappears after stopping application
> ----------------------------------------------------------------
>                 Key: YARN-7957
>                 URL: https://issues.apache.org/jira/browse/YARN-7957
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-ui-v2
>    Affects Versions: 3.1.0
>            Reporter: Yesha Vora
>            Assignee: Sunil G
>            Priority: Critical
>         Attachments: YARN-7957.01.patch
> Steps:
> 1) Launch yarn service
> 2) Go to service page and click on Setting button->"Stop Service". The 
> application will be stopped.
> 3) Refresh page
> Here, setting button disappears. Thus, user can not delete service from UI 
> after stopping application
> Expected behavior:
> Setting button should be present on UI page after application is stopped. If 
> application is stopped, setting button should only have "Delete Service" 
> action available.

This message was sent by Atlassian JIRA

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