You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "lohit giri (JIRA)" <ji...@apache.org> on 2012/05/03 22:20:49 UTC
[jira] [Commented] (MAPREDUCE-3592) DistCp should not setTimes on
directories
[ https://issues.apache.org/jira/browse/MAPREDUCE-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267770#comment-13267770 ]
lohit giri commented on MAPREDUCE-3592:
---------------------------------------
i can see the exceptions still coming when there is a new file gets copied. Job finishes fine but Distp client still throws this exception.
> 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