[ 
http://issues.apache.org/jira/browse/HADOOP-494?page=comments#action_12431612 ] 
            
Christian Kunz commented on HADOOP-494:
---------------------------------------

I should have looked at the patch for Hadoop-488. It takes care of this issue 
as well.

> hadoop utility returning exit code 0 always
> -------------------------------------------
>
>                 Key: HADOOP-494
>                 URL: http://issues.apache.org/jira/browse/HADOOP-494
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.5.0
>            Reporter: Christian Kunz
>
> After switching from 0.4.0 to 0.5.0 my scripts using the hadoop utility 
> (mainly hadoop dfs) did not work anymore because the exit code is 0 
> regardless whether it is successfull or failing.
> This is obviously related to Hadoop-488, but I believe that after the fix in 
> doMain the main routine in DFSShell.java needs to call System.exit based on 
> return code of doMain or exception thrown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to