DistCp should not setTimes on directories
-----------------------------------------
Key: MAPREDUCE-3592
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3592
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: distcp
Affects Versions: 0.22.0
Reporter: Konstantin Shvachko
On finalize() stage DistCp attempts to updateDestStatus(), which includes
calling setTimes(). In HDFS setTimes() is not supported for directories,
therefore DistCp fails if there are directories in the tree.
It looks the failure occurs only when there are no files to copy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira