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

Gour Saha commented on YARN-7991:
---------------------------------

[~rohithsharma], [~sunilg] and I had a discussion on this -
 - Delete API is invoked from the client.
 - The Service AM is not running during this time since the service is stopped.
 - ATSv2 is designed to publish data within the scope of the application.
 - So it won't be possible to publish data to ATSv2 from a client.

Couple of options we have now -
 # UI2 can consume YARN Service GET REST API to determine if a service is in 
STOPPED state or deleted, using which the Delete/Stop options can be displayed 
correctly. There are some UI2 framework related changes that are required to 
make this happen. The effort here is of medium size.
 # ATSv2 can support publishing of data outside the scope of an application. 
The effort here is pretty large.

 

> Use ServiceState values to publish to ATS
> -----------------------------------------
>
>                 Key: YARN-7991
>                 URL: https://issues.apache.org/jira/browse/YARN-7991
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn-native-services
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>            Priority: Major
>
> Add the state DELETED to ServiceState and then use ServiceState values to 
> publish to ATS (instead of FinalApplicationStatus). 
> Refer to parent issue for more details.



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