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

Ben Slusky updated HADOOP-3792:
-------------------------------

    Attachment: fsshell-test.patch

DfsTask updated to reflect the change to FsShell.

> 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, 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.

Reply via email to