hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2026) NPE in StoreScanner on compaction
Date Fri, 04 Dec 2009 22:37:20 GMT

    [ 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.


Mime
View raw message