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

Sanjay Radia commented on HADOOP-10919:
---------------------------------------

bq. Given that, I'm wondering what would the purpose be for checking that the 
target is an EZ? 
You mentioned that in your doc and hence I raised it here.

Given that your document mentioned that the target and src must match wrt to EZ 
I thought that you had made distcp  transparent: ie distcp will check if  any 
dir in the subtree is EZ and will prefix by /.reserved/.raw. And I think that 
is a good idea since it will mean that all existing distcp scripts will 
continue to work if you set the EZ on the src and target correctly.

> Copy command should preserve raw.* namespace extended attributes
> ----------------------------------------------------------------
>
>                 Key: HADOOP-10919
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10919
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>             Fix For: fs-encryption (HADOOP-10150 and HDFS-6134)
>
>         Attachments: HADOOP-10919.001.patch, HADOOP-10919.002.patch
>
>
> Refer to the doc attached to HDFS-6509 for background.
> Like distcp -p (see MAPREDUCE-6007), the copy command also needs to preserve 
> extended attributes in the raw.* namespace by default whenever the src and 
> target are in /.reserved/raw. To not preserve raw xattrs, don't specify 
> /.reserved/raw in either the src or target. 



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

Reply via email to