Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 50851 invoked from network); 12 Nov 2008 00:26:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 00:26:42 -0000 Received: (qmail 87521 invoked by uid 500); 12 Nov 2008 00:26:45 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 87462 invoked by uid 500); 12 Nov 2008 00:26:45 -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 87418 invoked by uid 99); 12 Nov 2008 00:26:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 16:26:45 -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; Wed, 12 Nov 2008 00:25:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 61376234C29B for ; Tue, 11 Nov 2008 16:25:44 -0800 (PST) Message-ID: <1459053835.1226449544397.JavaMail.jira@brutus> Date: Tue, 11 Nov 2008 16:25:44 -0800 (PST) From: "Pete Wyckoff (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4616) assertion makes fuse-dfs exit when reading 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 ] Pete Wyckoff updated HADOOP-4616: --------------------------------- Status: Patch Available (was: Open) re-submitting for hudson. > assertion makes fuse-dfs exit when reading 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.18.2 > Reporter: Marc-Olivier Fleury > Assignee: Pete Wyckoff > Priority: Minor > Fix For: 0.18.3, 0.19.1, 0.20.0 > > Attachments: HADOOP-4616.txt, HADOOP-4616.txt, HADOOP-4616.txt, HADOOP-4616_0.18.2.txt, HADOOP-4616_0.18.2.txt, HADOOP-4616_0.19.txt > > > 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.