hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13709) Ability to clean up subprocesses spawned by Shell when the process exits
Date Thu, 15 Dec 2016 21:34:58 GMT

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

Hudson commented on HADOOP-13709:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11003 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11003/])
Revert "HADOOP-13709. Ability to clean up subprocesses spawned by Shell (jlowe: rev 169bfc09037595610eb000fd3a0cb63cc9deca06)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestShell.java
HADOOP-13709. Ability to clean up subprocesses spawned by Shell when the (jlowe: rev 631f1daee3507a1adbc68b937cca31c27dbe8d3d)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestShell.java


> Ability to clean up subprocesses spawned by Shell when the process exits
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-13709
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13709
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: HADOOP-13709-branch-2.010.patch, HADOOP-13709.001.patch, HADOOP-13709.002.patch,
HADOOP-13709.003.patch, HADOOP-13709.004.patch, HADOOP-13709.005.patch, HADOOP-13709.006.patch,
HADOOP-13709.007.patch, HADOOP-13709.008.patch, HADOOP-13709.009.patch, HADOOP-13709.009.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