[ https://issues.apache.org/jira/browse/YARN-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792357#comment-13792357 ]
Chris Nauroth commented on YARN-445: ------------------------------------ I haven't had a chance to look at this patch, but I did want to link to MAPREDUCE-5387. We have discussed the possibility of using {{SetConsoleCtrlHandler}}/{{GenerateConsoleCtrlEvent}} to approximate SIGTERM on Windows. (The current task termination logic on Windows is more like a SIGKILL.) Perhaps this patch could be a foundation for that. > Ability to signal containers > ---------------------------- > > Key: YARN-445 > URL: https://issues.apache.org/jira/browse/YARN-445 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager > Reporter: Jason Lowe > Attachments: YARN-445--n2.patch, YARN-445--n3.patch, YARN-445.patch > > > It would be nice if an ApplicationMaster could send signals to contaniers > such as SIGQUIT, SIGUSR1, etc. > For example, in order to replicate the jstack-on-task-timeout feature > implemented by MAPREDUCE-1119 in Hadoop 0.21 the NodeManager needs an > interface for sending SIGQUIT to a container. For that specific feature we > could implement it as an additional field in the StopContainerRequest. > However that would not address other potential features like the ability for > an AM to trigger jstacks on arbitrary tasks *without* killing them. The > latter feature would be a very useful debugging tool for users who do not > have shell access to the nodes. -- This message was sent by Atlassian JIRA (v6.1#6144)