hadoop-common-dev mailing list archives

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

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


Mime
View raw message