Chris Nauroth created HADOOP-9102:
-------------------------------------
Summary: 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
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