You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2008/08/01 01:26:31 UTC
[jira] Commented: (HADOOP-3792) exit code from "hadoop dfs -test
..." is wrong for Unix shell
[ https://issues.apache.org/jira/browse/HADOOP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618904#action_12618904 ]
Chris Douglas commented on HADOOP-3792:
---------------------------------------
This should also update DfsTask, which assumes a return value of 0 is false.
> exit code from "hadoop dfs -test ..." is wrong for Unix shell
> -------------------------------------------------------------
>
> Key: HADOOP-3792
> URL: https://issues.apache.org/jira/browse/HADOOP-3792
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.17.1
> Environment: any Bourne-derived shell
> Reporter: Ben Slusky
> Assignee: Ben Slusky
> Priority: Minor
> Attachments: fsshell-test.patch
>
>
> The exit code for the "test" command in hadoop.fs.FsShell is backwards relative to the Unix shell, which interprets an exit code of 0 as true and anything else as false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.