Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 89336 invoked from network); 8 Jan 2007 23:34:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2007 23:34:31 -0000 Received: (qmail 443 invoked by uid 500); 8 Jan 2007 23:34:27 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 313 invoked by uid 500); 8 Jan 2007 23:34:25 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 303 invoked by uid 99); 8 Jan 2007 23:34:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 15:34:24 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8333F7141A3 for ; Mon, 8 Jan 2007 15:33:27 -0800 (PST) Message-ID: <19126869.1168299207516.JavaMail.jira@brutus> Date: Mon, 8 Jan 2007 15:33:27 -0800 (PST) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-866) dfs -get should remove existing crc file if -crc is not specified In-Reply-To: <4771116.1168294947735.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-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated HADOOP-866: -------------------------------- Resolution: Fixed Fix Version/s: (was: 0.11.0) 0.10.1 Status: Resolved (was: Patch Available) I just fixed this. Thanks, Milind! > dfs -get should remove existing crc file if -crc is not specified > ----------------------------------------------------------------- > > Key: HADOOP-866 > URL: https://issues.apache.org/jira/browse/HADOOP-866 > Project: Hadoop > Issue Type: Bug > Components: fs > Affects Versions: 0.10.0 > Environment: All > Reporter: Milind Bhandarkar > Assigned To: Milind Bhandarkar > Fix For: 0.10.1 > > Attachments: hadoop-get.patch > > > When we added -crc option to dfs -get (aka dfs -copyToLocal) the absence of this command-line option implies not copying the crc file associated with hdfs file. However, if the checksum file already exists, it will not correspond with the newly copied data file, and opening it would cause checksum failure. The solution is to remove any existing crc file corresponding to the data file if -crc option is not given for -get. Patch forthcoming. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira