Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 90306 invoked from network); 13 Aug 2008 23:37:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 23:37:36 -0000 Received: (qmail 27904 invoked by uid 500); 13 Aug 2008 23:37:35 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 27316 invoked by uid 500); 13 Aug 2008 23:37:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 27305 invoked by uid 99); 13 Aug 2008 23:37:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 16:37:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 23:36:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50D6D234C1B0 for ; Wed, 13 Aug 2008 16:36:44 -0700 (PDT) Message-ID: <1200915962.1218670604329.JavaMail.jira@brutus> Date: Wed, 13 Aug 2008 16:36:44 -0700 (PDT) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3873) DistCp should have an option for limiting the number of files/bytes being copied In-Reply-To: <1251364811.1217450851779.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-3873: ---------------------------------- Resolution: Fixed Fix Version/s: 0.19.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) +1 looks good. I just committed this. Thanks, Nicholas > DistCp should have an option for limiting the number of files/bytes being copied > -------------------------------------------------------------------------------- > > Key: HADOOP-3873 > URL: https://issues.apache.org/jira/browse/HADOOP-3873 > Project: Hadoop Core > Issue Type: New Feature > Components: tools/distcp > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.19.0 > > Attachments: 3873_20080808b.patch, 3873_20080811b.patch > > > A single DistCp command may potentially copies a huge number of files/bytes. In such case, DistCp will run a long time and there is no way stop it nicely. It would be good if DistCp have an option to limit the number of files/bytes being copied. Once the limit is reached, DistCp will terminate and return success. All files copied are guaranteed to be good and there is no partially copied file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.