[ 
https://issues.apache.org/jira/browse/HADOOP-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711761#action_12711761
 ] 

Raghu Angadi commented on HADOOP-5620:
--------------------------------------

Of course, modification time is the more often used stat. But setting access 
time does not cost more and seems like the right thing to do. Even though 
access times for both source and dest files (usually) changes during copy, it 
would not be same unless set explicitly.  

Alternately we could just do what ever Linux 'cp -a' command does. If it 
preserves access time, we should.

Also some file systems might not configured to update access times all the time.


> 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.

Reply via email to