hadoop-common-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] (HADOOP-9102) winutils task isAlive does not return a non-zero exit code if the requested task is not alive
Date Fri, 30 Nov 2012 16:53:58 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Nauroth updated HADOOP-9102:
----------------------------------

    Attachment: HADOOP-9102-branch-1-win.1.patch

This patch ports a similar change applied to branch-trunk-win for YARN-233 to branch-1-win.
                
> winutils task isAlive does not return a non-zero exit code if the requested task is not
alive
> ---------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9102
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9102
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-9102-branch-1-win.1.patch
>
>
> Work on YARN-233 noted that winutils task isAlive does not return a non-zero exit code
if the requested task is not alive.  This is inconsistent with the equivalent check on Unix,
kill -0, which uses a non-zero exit code to communicate status.  By changing winutils task
isAlive to return a non-zero exit code, we can make the error handling code on the Java side
consistent, avoiding the need for additional if (WINDOWS) checks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message