Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.2-alpha
-
None
-
None
-
Reviewed
Description
Running hdfs dfs -test -d foo should return 0 or 1 as appropriate. It should not generate any output due to missing files. Alas, it prints an error message when foo does not exist.
$ hdfs dfs -test -d foo; echo $? test: `foo': No such file or directory 1
Attachments
Attachments
Issue Links
- relates to
-
HDFS-1331 dfs -test should work like /bin/test
- Closed