Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 E34D6924B for ; Wed, 1 Feb 2012 18:17:27 +0000 (UTC) Received: (qmail 35208 invoked by uid 500); 1 Feb 2012 18:17:27 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 34938 invoked by uid 500); 1 Feb 2012 18:17:26 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 34930 invoked by uid 99); 1 Feb 2012 18:17:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 18:17:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 18:17:24 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 88E11184D26 for ; Wed, 1 Feb 2012 18:17:03 +0000 (UTC) Date: Wed, 1 Feb 2012 18:17:03 +0000 (UTC) From: "Robert Joseph Evans (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1006989618.3600.1328120223562.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1078423305.2372.1327705210604.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8001) ChecksumFileSystem's rename doesn't correctly handle checksum files 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 [ https://issues.apache.org/jira/browse/HADOOP-8001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198021#comment-13198021 ] Robert Joseph Evans commented on HADOOP-8001: --------------------------------------------- The patch looks good to me too. It is a bit confusing to have dst refer to the destination in some cases, and the checkfile in others. > ChecksumFileSystem's rename doesn't correctly handle checksum files > ------------------------------------------------------------------- > > Key: HADOOP-8001 > URL: https://issues.apache.org/jira/browse/HADOOP-8001 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.23.0, 0.24.0 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Attachments: HADOOP-8001.patch > > > Rename will move the src file and its crc *if present* to the destination. If the src file has no crc, but the destination already exists with a crc, then src will be associated with the old file's crc. Subsequent access to the file will fail with checksum errors. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira