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

Suresh Srinivas resolved HADOOP-9102.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1-win
     Hadoop Flags: Reviewed

+1.

I committed the patch. Thank you Chris.
                
> 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
>             Fix For: 1-win
>
>         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

Reply via email to