hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-3592) DistCp should not setTimes on directories
Date Wed, 21 Dec 2011 18:55:31 GMT
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

        

Mime
View raw message