This is what I found
in 
src/main/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerMetrics.java
(assuming you're using 0.94.x)

  public final MetricsLongValue blockCacheHitCount =

      new MetricsLongValue("blockCacheHitCount", registry);

  public final MetricsLongValue blockCacheMissCount =

      new MetricsLongValue("blockCacheMissCount", registry);

  public final MetricsLongValue blockCacheEvictedCount =

      new MetricsLongValue("blockCacheEvictedCount", registry);

  public final MetricsIntValue blockCacheHitRatio =

      new MetricsIntValue("blockCacheHitRatio", registry);

Cheers


On Fri, Oct 18, 2013 at 3:20 PM, Vaibhav Puranik <[email protected]> wrote:

> Hi all,
>
> Our HBase is slowing down because of lots of disk reads. We are trying to
> analyze it. We have lots of real time random reads. And We found that HBase
> is constantly reading from disk instead of from memory.
>
> Looks like block cache hit ratio is a good place to start.
>
> Is there any way we can get block cache hit ratio by table or by region? I
> could only find it per region server in region server UI. I couldn't find
> it in API either.
>
> Feel free to suggest any other metrics we should be looking at too.
>
> Thanks,
> Vaibhav
> GumGum
>

Reply via email to