Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 39157 invoked from network); 7 Nov 2008 14:31:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2008 14:31:10 -0000 Received: (qmail 40059 invoked by uid 500); 7 Nov 2008 14:31:14 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 39830 invoked by uid 500); 7 Nov 2008 14:31:13 -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 39819 invoked by uid 99); 7 Nov 2008 14:31:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 06:31:13 -0800 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; Fri, 07 Nov 2008 14:30:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D734234C25C for ; Fri, 7 Nov 2008 06:30:46 -0800 (PST) Message-ID: <960416481.1226068246250.JavaMail.jira@brutus> Date: Fri, 7 Nov 2008 06:30:46 -0800 (PST) From: "Marc-Olivier Fleury (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4616) assertion makes fuse-dfs exit on incomplete data In-Reply-To: <588847328.1226068126529.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-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc-Olivier Fleury updated HADOOP-4616: ---------------------------------------- Summary: assertion makes fuse-dfs exit on incomplete data (was: assrtion makes fuse-dfs exit on incomplete data) > assertion makes fuse-dfs exit on incomplete data > ------------------------------------------------ > > Key: HADOOP-4616 > URL: https://issues.apache.org/jira/browse/HADOOP-4616 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/fuse-dfs > Affects Versions: 0.20.0 > Reporter: Marc-Olivier Fleury > Priority: Minor > > When trying to read a file that is corrupt on HDFS (registered by the namenode, but part of the data is missing on the datanodes), some of the assertions in dfs_read fail, causing the program to abort. This makes it impossible to access the mounted partition until it is mounted again. > A simple way to reproduce this bug is to remove enough datanodes to have part of the data missing, and to read each file listed in HDFS. > this is the assertion that fails (fuse_dfs.c:903) : assert(bufferReadIndex >= 0 && bufferReadIndex < fh->bufferSize); > The expected behaviour would be to return either no file or a corrupt file, but continue working afterward. > removing the assertion seems to work for now, but a special behaviour is probably needed to handle this particular problem correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.