[
https://issues.apache.org/jira/browse/HADOOP-10561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999231#comment-13999231
]
Andrew Wang commented on HADOOP-10561:
--------------------------------------
I don't think xattrs should be copied by default, since that can lead to
potential confusion. {{cp}} doesn't by default either, you need to specify via
"--preserve=xattr" or "--preserve=all", not just "-p".
How about another flag like "-X" or "-pX"? I think ACLs are doing "-pa" for
distcp and ACLs, so something along those lines.
> 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
> Assignee: Yi Liu
>
> 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)