[ https://issues.apache.org/jira/browse/HADOOP-10561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HADOOP-10561: ----------------------------------- Attachment: HADOOP-10561.branch-2.patch I committed this to trunk and branch-2. Yi, thank you for contributing the patch. Uma, thank you for the code review. There was a merge conflict when I took this to branch-2, but it was trivial to resolve. I'm attaching the branch-2 diff to maintain the history. > 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: Improvement > Components: fs > Affects Versions: 3.0.0 > Reporter: Uma Maheswara Rao G > Assignee: Yi Liu > Fix For: 3.0.0, 2.5.0 > > Attachments: HADOOP-10561.1.patch, HADOOP-10561.2.patch, > HADOOP-10561.3.patch, HADOOP-10561.4.patch, HADOOP-10561.5.patch, > HADOOP-10561.branch-2.patch, HADOOP-10561.patch > > > 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, > exception about XAttrs not supported will be thrown. -- This message was sent by Atlassian JIRA (v6.2#6252)