[
https://issues.apache.org/jira/browse/HADOOP-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe updated HADOOP-10622:
--------------------------------
Attachment: HADOOP-10622.patch
Attaching a quick patch that should solve the problem for the common case where
the thread is only interrupted once. Basic idea is to remember if we
successfully joined with the errThread, and if we didn't we try to do so again
before attempting to close the input stream.
> Shell.runCommand can deadlock
> -----------------------------
>
> Key: HADOOP-10622
> URL: https://issues.apache.org/jira/browse/HADOOP-10622
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Jason Lowe
> Priority: Critical
> Attachments: HADOOP-10622.patch
>
>
> Ran into a deadlock in Shell.runCommand. Stacktrace details to follow.
--
This message was sent by Atlassian JIRA
(v6.2#6252)