You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mathieu Chataigner (JIRA)" <ji...@apache.org> on 2015/01/14 13:49:35 UTC
[jira] [Commented] (MAPREDUCE-5014) Extending DistCp through a
custom CopyListing is not possible
[ https://issues.apache.org/jira/browse/MAPREDUCE-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276872#comment-14276872 ]
Mathieu Chataigner commented on MAPREDUCE-5014:
-----------------------------------------------
I don't know if I need to create a new issue or re-open this one, but there is no way to extends CopyListing outside of package org.apache.hadoop.tools since both exceptions DuplicateFileException and InvalidInputException are packaged scope.
> 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
> Fix For: 2.5.0
>
> Attachments: MAPREDUCE-5014.patch, MAPREDUCE-5014.patch, m5014_20130322.patch, m5014_20130322_b-1.patch, m5014_20130322b.patch, m5014_20130322b_b-1.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 was sent by Atlassian JIRA
(v6.3.4#6332)