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

Rohith Sharma K S commented on YARN-5759:
-----------------------------------------

I believe intention of notification/callback is to clean up AM specific data 
which are stored in any of the storage. Unfortunately, there is no such hook or 
alternative solution exist today. There are couple of JIRA exist to provide 
solution in-general. YARN-2261 is Umbrella JIRA trying to provide  a way to run 
post-application cleanup. YARN-5658 is also another related JIRA. 

> Capability to register for a notification/callback on the expiry of timeouts
> ----------------------------------------------------------------------------
>
>                 Key: YARN-5759
>                 URL: https://issues.apache.org/jira/browse/YARN-5759
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Gour Saha
>
> There is a need for the YARN native services REST-API service, to take 
> certain actions once a timeout of an application expires. For example, an 
> immediate requirement is to destroy a Slider application, once its lifetime 
> timeout expires and YARN has stopped the application. Destroying a Slider 
> application means cleanup of Slider HDFS state store and ZK paths for that 
> application. 
> Potentially, there will be advanced requirements from the REST-API service 
> and other services in the future, which will make this feature very handy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to