Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DC2DF0E3 for ; Wed, 20 Mar 2013 19:39:16 +0000 (UTC) Received: (qmail 80877 invoked by uid 500); 20 Mar 2013 19:39:15 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 80812 invoked by uid 500); 20 Mar 2013 19:39:15 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 80761 invoked by uid 99); 20 Mar 2013 19:39:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 19:39:15 +0000 Date: Wed, 20 Mar 2013 19:39:15 +0000 (UTC) From: "Venkatesh Seetharam (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-5014) Extending DistCp through a custom CopyListing is not possible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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