Issue Details (XML | Word | Printable)

Key: HADOOP-3792
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Ben Slusky
Reporter: Ben Slusky
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

exit code from "hadoop dfs -test ..." is wrong for Unix shell

Created: 18/Jul/08 07:35 PM   Updated: 20/Nov/08 11:38 PM
Return to search
Component/s: fs
Affects Version/s: 0.17.1
Fix Version/s: 0.19.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works fsshell-test.patch 2008-08-06 02:42 PM Ben Slusky 2 kB
Environment: any Bourne-derived shell

Hadoop Flags: Reviewed, Incompatible change
Release Note: Changed exit code from hadoop.fs.FsShell -test to match the usual Unix convention.
Resolution Date: 06/Aug/08 10:31 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.