[
https://issues.apache.org/jira/browse/HBASE-15976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15354636#comment-15354636
]
Jingcheng Du commented on HBASE-15976:
--------------------------------------
Thanks for pointing it out [~ndimiduk]. Most of the code check the null before
using. But still one method misses that {{public long
getBlockCacheFailedInsertions()}}.
This is my mistake, I will add an addendum for master and branch-1, and provide
new patches for other branches. Thanks.
> RegionServerMetricsWrapperRunnable will be failure when disable blockcache.
> ----------------------------------------------------------------------------
>
> Key: HBASE-15976
> URL: https://issues.apache.org/jira/browse/HBASE-15976
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.15, 1.2.1, 1.0.3, 1.1.5
> Reporter: Liu Junhong
> Assignee: Jingcheng Du
> Attachments: HBASE-15976-0.98.patch,
> HBASE-15976-branch-1&branch-1.3.patch, HBASE-15976-branch-1.0.patch,
> HBASE-15976-branch-1.1.patch, HBASE-15976-branch-1.2.patch,
> HBASE-15976-master.patch
>
>
> When i disable blockcache, the code "cacheStats = blockCache.getStats();"
> will occur NPE in
> org.apache.hadoop.hbase.regionserver.MetricsRegionServerWrapperImpl.RegionServerMetricsWrapperRunnable.
> It lead to many regionserver's metrics' value always equal 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)