hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10622) Shell.runCommand can deadlock
Date Tue, 20 May 2014 23:15:39 GMT

     [ 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)

Mime
View raw message