[
https://issues.apache.org/jira/browse/MAPREDUCE-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608066#comment-13608066
]
Venkatesh Seetharam commented on MAPREDUCE-5014:
------------------------------------------------
bq. CopyListing class has a static factory method getCopyListing(). We should
make the factory method configuration based, sothat users can plugin the custom
CopyListing without extending the Tool itself.
[~amareshwari] Great suggestion but could be another jira since the scope of
this jira is enabling a simple extension point which can be enhanced further.
Appreciate if you could review and commit this. Thanks!
> Extending DistCp through a custom CopyListing is not possible
> -------------------------------------------------------------
>
> Key: MAPREDUCE-5014
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5014
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: distcp
> Affects Versions: 0.23.0, 0.23.1, 0.23.3, trunk, 0.23.4, 0.23.5
> Reporter: Srikanth Sundarrajan
> Assignee: Srikanth Sundarrajan
> Attachments: MAPREDUCE-5014.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> * While it is possible to implement a custom CopyListing in DistCp, DistCp
> driver class doesn't allow for using this custom CopyListing.
> * Allow SimpleCopyListing to provide an option to exclude files (For instance
> it is useful to exclude FileOutputCommiter.SUCCEEDED_FILE_NAME during copy as
> premature copy can indicate that the entire data is available at the
> destination)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira