[
https://issues.apache.org/jira/browse/HADOOP-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711636#action_12711636
]
Rodrigo Schmidt commented on HADOOP-5620:
-----------------------------------------
let's assume we have a file /src/src.file, whose access time is Mar 30, 2005,
and then we run
$ bin/hadoop dstcp /src/src.file /dst
By the end of the execution, since distcp reads the source, the access time of
/src/src.file will be close to now().
My question is more fundamental: Does it make sense to preserve the access
time, if the copying itself will update the access time of the source? What are
we trying to preserve with it?
> 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
>
> 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.