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

Gour Saha commented on YARN-7957:
---------------------------------

I clearly see that we need to add the state DELETED to ServiceState. We should 
also switch to publishing ServiceState instead of FinalApplicationStatus (as 
[~rohithsharma]  mentioned) and make sure that the DELETED state is published 
to ATS on the destroy event.

Note, the DELETED state will not be used to respond to cli or REST API GET 
calls on a previously-existing-but-deleted service. It will stick to the 
current behavior of responding with a 404 with no payload (or at least this 
Jira will not address this).

The DELETED state (along with the other already existing ones in ServiceState) 
can be used to cover all the logic in the UI as to when to show the Stop/Delete 
and even a Start option in the Settings drop-down.

I will file a sub-task for the Service side of changes. [~sunilg] , you can 
file sub-task(s) to address the UI changes required after the service change is 
available.

> 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
(v7.6.3#76005)

---------------------------------------------------------------------
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