[ https://issues.apache.org/jira/browse/HADOOP-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531848#comment-14531848 ]
Rich Haase commented on HADOOP-1540: ------------------------------------ Found a bug in the patch. The CopyCommitter doesn't know about exclusions so it will throw an exception when it tries to preserve permissions on a Path that was excluded. Need to refactor the change to separate exclusion logic into a class that is usable by the CopyMapper and CopyCommiter. Since the code has to be refactored to work correctly it makes sense to define an interface for exclusions. > distcp should support an exclude list > ------------------------------------- > > Key: HADOOP-1540 > URL: https://issues.apache.org/jira/browse/HADOOP-1540 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Affects Versions: 2.6.0 > Reporter: Senthil Subramanian > Assignee: Rich Haase > Priority: Minor > Labels: BB2015-05-TBR, patch > Attachments: HADOOP-1540.003.patch, HADOOP-1540.004.patch, > HADOOP-1540.005.patch > > > There should be a way to ignore specific paths (eg: those that have already > been copied over under the current srcPath). -- This message was sent by Atlassian JIRA (v6.3.4#6332)