[ https://issues.apache.org/jira/browse/HBASE-15976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355861#comment-15355861 ]
Mikhail Antonov commented on HBASE-15976: ----------------------------------------- +1 for 1.3, thanks for patch and heads up! > 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 > Fix For: 2.0.0, 1.0.4, 1.4.0, 1.2.2, 1.1.6, 1.3.1, 0.98.21 > > Attachments: HBASE-15976-0.98-v2.patch, HBASE-15976-0.98.patch, > HBASE-15976-branch-1&branch-1.3.patch, HBASE-15976-branch-1-addendum.patch, > HBASE-15976-branch-1.0.patch, HBASE-15976-branch-1.1.patch, > HBASE-15976-branch-1.2-v2.patch, HBASE-15976-branch-1.2.patch, > HBASE-15976-branch-1.3-v2.patch, HBASE-15976-master-addendum.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)