Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 88378 invoked from network); 4 Dec 2009 22:37:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 22:37:44 -0000 Received: (qmail 55599 invoked by uid 500); 4 Dec 2009 22:37:43 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 55554 invoked by uid 500); 4 Dec 2009 22:37:43 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 55460 invoked by uid 99); 4 Dec 2009 22:37:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 22:37:43 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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, 04 Dec 2009 22:37:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ECBA0234C1EE for ; Fri, 4 Dec 2009 14:37:20 -0800 (PST) Message-ID: <673307934.1259966240968.JavaMail.jira@brutus> Date: Fri, 4 Dec 2009 22:37:20 +0000 (UTC) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-2026) NPE in StoreScanner on compaction In-Reply-To: <368330574.1259794460793.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786206#action_12786206 ] Jonathan Gray commented on HBASE-2026: -------------------------------------- If the KVHeap returns null that means the scanners are done. They all get seeked to whichever the last key was before the reader update, which could be no more keys. Should check for null from the heap, and if null then can set the row to whatever is in topKey. I think the scanner consumers will know what to do from there. Definitely needs unit test. Can look at patches but don't have any time to write one. > NPE in StoreScanner on compaction > --------------------------------- > > Key: HBASE-2026 > URL: https://issues.apache.org/jira/browse/HBASE-2026 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.2 > Reporter: Jean-Daniel Cryans > Fix For: 0.20.3, 0.21.0 > > > From Zhenyu: > {code} > 2009-12-01 00:35:05,321 INFO org.apache.hadoop.hbase.regionserver.HRegion: Starting compaction on region ip_info_238,41.214.148.221,1259132082707 > 2009-12-01 00:35:05,572 WARN org.apache.hadoop.hbase.regionserver.Store: Not in setorg.apache.hadoop.hbase.regionserver.StoreScanner@7f821a6c > 2009-12-01 00:35:05,572 WARN org.apache.hadoop.hbase.regionserver.Store: Not in setorg.apache.hadoop.hbase.regionserver.StoreScanner@7f821a6c > 2009-12-01 00:35:05,572 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region ip_info_238,41.214.148.221,1259132082707 > java.lang.NullPointerException > at org.apache.hadoop.hbase.regionserver.StoreScanner.updateReaders(StoreScanner.java:250) > at org.apache.hadoop.hbase.regionserver.Store.notifyChangedReadersObservers(Store.java:628) > ... > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.