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

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

Thanks [~epayne]I think the command line is used for given container?
what i want to do in this jira is that, we want run a script for each 
container(killed by nodemanager).
Since in the production cluster there will always have many containers killed 
by rm or am, save some useful information will be helpful.

Thanks [~tangzhankun]this is not for debugging why the container was killed, it 
is for debugging what was doing when the container being killed by rm or am.
I have a patch, since we have used this feature in our production for a long 
time.

> 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