[
https://issues.apache.org/jira/browse/YARN-9931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966934#comment-16966934
]
Eric Payne commented on YARN-9931:
----------------------------------
[~cane], I'm a little reluctant to add features into the YARN framework that
could possibly be doneoutside of it. Wouldn't it be possible to add a JVM
shutdown hook to the class running in the container's JVM?
> 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: [email protected]
For additional commands, e-mail: [email protected]