Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 72155 invoked from network); 16 Jun 2009 08:34:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 08:34:21 -0000 Received: (qmail 27361 invoked by uid 500); 16 Jun 2009 08:34:31 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 27305 invoked by uid 500); 16 Jun 2009 08:34:31 -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 27295 invoked by uid 99); 16 Jun 2009 08:34:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 08:34:31 +0000 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; Tue, 16 Jun 2009 08:34:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E4EE234C1ED for ; Tue, 16 Jun 2009 01:34:07 -0700 (PDT) Message-ID: <1912110496.1245141247516.JavaMail.jira@brutus> Date: Tue, 16 Jun 2009 01:34:07 -0700 (PDT) From: "Ravi Gummadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-6051) distcp does not skip copying file if we are updating single file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org distcp does not skip copying file if we are updating single file ---------------------------------------------------------------- Key: HADOOP-6051 URL: https://issues.apache.org/jira/browse/HADOOP-6051 Project: Hadoop Core Issue Type: Bug Components: tools/distcp Affects Versions: 0.21.0 Reporter: Ravi Gummadi Fix For: 0.21.0 distcp doesn't skip copying file when we do -update on single file if the destfile already exists. When we do hadoop distcp -update srcfilename destfilename it seems to be comparing checksums of srcfilename and destfilename/srcfilename and so skip is not done. It should compare checksums of srcfilename and destfilename. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.