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

zhoukang commented on YARN-9931:
--------------------------------

The background is that in our production  cluster we have many Applications and 
framework.
We always encountered problem that the container was killed and we have no 
information about the operation which the container was doing.
Add a shutdown hook may be unfriendly to the users. And add a feature in yarn 
will make the troubleshooting more efficient. [~epayne]
Thanks!

> Support run script before kill container
> ----------------------------------------
>
>                 Key: YARN-9931
>                 URL: https://issues.apache.org/jira/browse/YARN-9931
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>            Reporter: zhoukang
>            Assignee: zhoukang
>            Priority: Major
>
> Like node health check script. We can add a pre-kill script which run before 
> kill container.
> For example we can save the thread dump before kill the container, which is 
> helpful for troubleshooting.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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