hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5620) discp can preserve modification times of files
Date Thu, 21 May 2009 19:12:46 GMT

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


Mime
View raw message