hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2026) NPE in StoreScanner on compaction
Date Thu, 03 Dec 2009 19:01:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785450#action_12785450
] 

Jean-Daniel Cryans commented on HBASE-2026:
-------------------------------------------

>From the peek() javadoc:

{quote}
Retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.

{quote}

So this is dangerous.

> 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