You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2021/11/05 22:12:00 UTC

[jira] [Commented] (HBASE-26429) HeapMemoryManager fails memstore flushes with NPE if enabled

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

Andrew Kyle Purtell commented on HBASE-26429:
---------------------------------------------

Seems like a long standing bug. I guess nobody uses this feature? [~anoop.hbase]

> HeapMemoryManager fails memstore flushes with NPE if enabled
> ------------------------------------------------------------
>
>                 Key: HBASE-26429
>                 URL: https://issues.apache.org/jira/browse/HBASE-26429
>             Project: HBase
>          Issue Type: Bug
>          Components: Operability, regionserver
>    Affects Versions: 2.4.8
>            Reporter: Andrew Kyle Purtell
>            Assignee: Andrew Kyle Purtell
>            Priority: Critical
>             Fix For: 2.5.0, 3.0.0-alpha-2, 2.4.9
>
>
> Nonstandard configuration under test:
> {quote}
> <property>
>   <name>hfile.block.cache.size.min.range</name>
>   <value>0.1</value>
> </property>
> <property>
>   <name>hfile.block.cache.size.max.range</name>
>   <value>0.5</value>
> </property>
> <property>
>   <name>hbase.regionserver.global.memstore.size.min.range</name>
>   <value>0.2</value>
> </property>
> <property>
>   <name>hbase.regionserver.global.memstore.size.max.range</name>
>   <value>0.7</value>
> </property>
> {quote}
> The NPE:
> {noformat}
> 2021-11-05 21:52:13,828 ERROR [MemStoreFlusher.1] regionserver.MemStoreFlusher: Cache flusher failed for entry [flush region IntegrationTestLoadCommonCrawl,com.yeqingteng.www//gysy/28,1636143958130.4be7e8d968cc73cf729cb4713328f729.]
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.regionserver.HeapMemoryManager$HeapMemoryTunerChore.flushRequested(HeapMemoryManager.java:402)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.notifyFlushRequest(MemStoreFlusher.java:661)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.flushRegion(MemStoreFlusher.java:616)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.flushRegion(MemStoreFlusher.java:586)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.access$1000(MemStoreFlusher.java:68)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher$FlushHandler.run(MemStoreFlusher.java:360)
> {noformat}
> The reason for the NPE is obvious in MemStoreFlusher.java. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)