hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13709) Clean up subprocesses spawned by Shell.java:runCommand when the shell process exits
Date Tue, 11 Oct 2016 22:34:20 GMT

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

Eric Badger commented on HADOOP-13709:
--------------------------------------

bq. TestShell fails because it does not have the YARN component of the fix from YARN-5641.
I've manually tested that it passes with that fix.
I was incorrect about this. This patch is completely independent of (though required by) YARN-5641.
I did manually test that TestShell#testShellCommandTimerLeak passes, but the failure may be
related to this patch. 

> Clean up subprocesses spawned by Shell.java:runCommand when the shell process exits
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-13709
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13709
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: HADOOP-13709.001.patch
>
>
> The runCommand code in Shell.java can get into a situation where it will ignore InterruptedExceptions
and refuse to shutdown due to being in I/O waiting for the return value of the subprocess
that was spawned. We need to allow for the subprocess to be interrupted and killed when the
shell process gets killed. Currently the JVM will shutdown and all of the subprocesses will
be orphaned and not killed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message