Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.15.1, 0.16.0
-
None
-
None
Description
The dfs cat command throws an IOException when the file does not exist:
bin/hadoop dfs -cat doesnotexist
cat: java.io.IOException: Cannot open filename<home directory>/doesnotexist]
In Linux, if a file does not exist, cat displays this:
cat: doesnotexist: No such file or directory