Details
Description
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.