You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/11/09 22:27:17 UTC
[jira] [Updated] (YARN-1395) Distributed shell application master
launched with debug flag can hang waiting for external ls process.
[ https://issues.apache.org/jira/browse/YARN-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated YARN-1395:
--------------------------------
Attachment: YARN-1395.1.patch
I'm attaching a patch that switches to using {{Shell#execCommand}} and calls {{dir}} instead of {{ls}} when running on Windows. We didn't have any tests that run distributed shell with the debug flag, so I added one. I verified that the tests pass on Mac and Windows. Without the change in {{ApplicationMaster}}, the new test fails on timeout when running on Windows.
> Distributed shell application master launched with debug flag can hang waiting for external ls process.
> -------------------------------------------------------------------------------------------------------
>
> Key: YARN-1395
> URL: https://issues.apache.org/jira/browse/YARN-1395
> Project: Hadoop YARN
> Issue Type: Bug
> Components: applications/distributed-shell
> Affects Versions: 3.0.0, 2.2.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: YARN-1395.1.patch
>
>
> Distributed shell launched with the debug flag will run {{ApplicationMaster#dumpOutDebugInfo}}. This method launches an external process to run ls and print the contents of the current working directory. We've seen that this can cause the application master to hang on {{Process#waitFor}}.
--
This message was sent by Atlassian JIRA
(v6.1#6144)