Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@minotaur.apache.org Received: (qmail 53838 invoked from network); 3 Apr 2009 15:30:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 15:30:36 -0000 Received: (qmail 88109 invoked by uid 500); 3 Apr 2009 15:30:36 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 88079 invoked by uid 500); 3 Apr 2009 15:30:36 -0000 Mailing-List: contact zookeeper-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-dev@hadoop.apache.org Delivered-To: mailing list zookeeper-dev@hadoop.apache.org Received: (qmail 88069 invoked by uid 99); 3 Apr 2009 15:30:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 15:30:36 +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; Fri, 03 Apr 2009 15:30:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8513B234C48D for ; Fri, 3 Apr 2009 08:30:13 -0700 (PDT) Message-ID: <1013799340.1238772613544.JavaMail.jira@brutus> Date: Fri, 3 Apr 2009 08:30:13 -0700 (PDT) From: "Flavio Paiva Junqueira (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Updated: (ZOOKEEPER-363) NPE when recovering ledger with no hint In-Reply-To: <1086733132.1238756893004.JavaMail.jira@brutus> 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/ZOOKEEPER-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-363: --------------------------------------------- Attachment: (was: ZOOKEEPER-XXX.patch) > NPE when recovering ledger with no hint > ---------------------------------------- > > Key: ZOOKEEPER-363 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-363 > Project: Zookeeper > Issue Type: Bug > Components: contrib-bookkeeper > Affects Versions: 3.1.1 > Reporter: Luca Telloli > Assignee: Flavio Paiva Junqueira > Fix For: 3.2.0 > > Attachments: ZOOKEEPER-363.patch, ZOOKEEPER-363.patch > > > When recovering a ledger, LedgerRecoveryMonitor currently start from the entry preceding the hint. if the hint is zero, then it causes an access out of the bounds of the bookie array in QuorumEngine, leading to the mentioned NPE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.