Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
Reviewed
Description
Might be an unlikely scenario, but if users copyFromLocal a file/dir from local to HDFS and want the file/dir to be renamed to .snapshot, then they'll see an Input/output error like the following:
schu-mbp:~ schu$ hdfs dfs -copyFromLocal testFile1 /tmp/.snapshot
copyFromLocal: rename `/tmp/.snapshot._COPYING_' to `/tmp/.snapshot': Input/output error
It'd be more clear if the error output was the usual ".snapshot" is a reserved name (this does show in the NN logs, though).