[ https://issues.apache.org/jira/browse/HADOOP-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711777#action_12711777 ]
Rodrigo Schmidt commented on HADOOP-5620: ----------------------------------------- The main reason we needed this option was to preserve the properties of files that are being migrated from one cluster to another one, without losing last access and modification times (and without interfering with it). In that sense, I think the best option is to set the destination with last modification and access times of the source file immediately before it is copied. > discp can preserve modification times of files > ---------------------------------------------- > > Key: HADOOP-5620 > URL: https://issues.apache.org/jira/browse/HADOOP-5620 > Project: Hadoop Core > Issue Type: Improvement > Components: tools/distcp > Reporter: dhruba borthakur > Assignee: Rodrigo Schmidt > Fix For: 0.21.0 > > Attachments: HADOOP-5620.patch > > > It will be helpful if distcp can preserve the modification time and access > time of files. This helps to archive/unarchive hdfs files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.