hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5620) discp can preserve modification times of files
Date Tue, 26 May 2009 18:01:45 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HADOOP-5620:
-------------------------------------------

    Hadoop Flags: [Incompatible change]

- Should discp also preserve modification times of directories?  Otherwise, the new -t option
seems confusing.

- It might be better to get mtime and atime inside the if-statement
{code}
if ( preserve_status && preseved.contains(FileAttribute.TIMES)) {
  ...
}
{code}
since srcstat remains unchanged in the method.

- Marking this as an incompatible change because it change the meaning of -p.

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


Mime
View raw message