hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1395) Distributed shell application master launched with debug flag can hang waiting for external ls process.
Date Sat, 09 Nov 2013 21:27:17 GMT

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

Mime
View raw message