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

Charles Lamb updated MAPREDUCE-6007:
------------------------------------

    Attachment: MAPREDUCE-6007.003.patch

[~andrew.wang],

This patch eliminates the confusing -pd flag and instead preserves raw.* xattrs 
if all pathnames have /.reserved/raw. If none of the pathnames have 
/.reserved/raw then no raw.* xattrs are preserved. If a subset of the src and 
target pathnames have /.reserved/raw, then an error is thrown and a non-0 
return code passed back.


> Create a new option for distcp -p which causes raw.* namespace extended 
> attributes to not be preserved
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6007
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: distcp
>    Affects Versions: fs-encryption
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>         Attachments: MAPREDUCE-6007.001.patch, MAPREDUCE-6007.002.patch, 
> MAPREDUCE-6007.003.patch
>
>
> As part of the Data at Rest Encryption work (HDFS-6134), we need to create a 
> new option for distcp which causes raw.* namespace extended attributes to not 
> be preserved. See the doc in HDFS-6509 for details. The default for this 
> option will be to preserve raw.* xattrs.



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

Reply via email to