Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.15.2
-
None
-
None
Description
hadoop dfs -copyToLocal with an no existing source file creates a zero byte destination file. It should throw an error message indicating the source file does not exists.
[lohit@ hadoop-trunk]$ hadoop dfs -get nosuchfile nosuchfile [lohit@ hadoop-trunk]$ ls -l nosuchfile -rw-r--r-- 1 lohit users 0 Jan 11 21:58 nosuchfile [lohit@ hadoop-trunk]$