hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10561) Copy command with preserve option should handle Xattrs
Date Thu, 01 May 2014 18:53:21 GMT

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

Uma Maheswara Rao G commented on HADOOP-10561:
----------------------------------------------

Current code of copy command preserve options handled for owner. permission. times:

{code}
if(preserve) {
        target.fs.setTimes(
          target.path,
          src.stat.getModificationTime(),
          src.stat.getAccessTime());
        target.fs.setOwner(
          target.path,
          src.stat.getOwner(),
          src.stat.getGroup());
        target.fs.setPermission(
          target.path,
          src

{code}

> Copy command with preserve option should handle Xattrs
> ------------------------------------------------------
>
>                 Key: HADOOP-10561
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10561
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: HDFS XAttrs (HDFS-2006)
>            Reporter: Uma Maheswara Rao G
>
> The design docs for Xattrs stated that we handle preserve options with copy commands
> From doc:
> Preserve option of commands like “cp -p” shell command and “distcp -p” should
work on XAttrs. 
> In the case of source fs supports XAttrs but target fs does not support, XAttrs will
be ignored 
> with warning message



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message