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

Chris Nauroth updated MAPREDUCE-5809:
-------------------------------------

    Attachment: MAPREDUCE-5809.4.patch

I'm attaching patch v4.  This implements Nicholas's suggestion to store the 
ACLs in the copy listing file for use by {{CopyCommitter}}.  Additional changes 
to this patch will come after we resolve HDFS-6326.

bq. If we cannot change FileStatus for backwards-compatibility, how about add 
new FileSystem methods such as listStatusWithACL(..) which returns 
FileStatusWithACL?

I'd like to have a follow-up discussion about possibly adding batch APIs to 
improve distcp performance, and this is one of them that I had in mind.  Can we 
please postpone this until later, since it's a performance optimization and not 
a correctness issue?  The current patch is already large, and adding new API 
definitions and the RPC calls to back them would likely double it.

> Enhance distcp to support preserving HDFS ACLs.
> -----------------------------------------------
>
>                 Key: MAPREDUCE-5809
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5809
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: distcp
>    Affects Versions: 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: MAPREDUCE-5809.1.patch, MAPREDUCE-5809.2.patch, 
> MAPREDUCE-5809.3.patch, MAPREDUCE-5809.4.patch
>
>
> This issue tracks enhancing distcp to add a new command-line argument for 
> preserving HDFS ACLs from the source at the copy destination.



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

Reply via email to