UI for blockCache contents report
---------------------------------

                 Key: HBASE-4089
                 URL: https://issues.apache.org/jira/browse/HBASE-4089
             Project: HBase
          Issue Type: New Feature
            Reporter: Doug Meil



A UI that would display a block-cache report for a RegionServer would be 
helpful.  For example ...

table1
  cf1   100 blocks, totalBytes=yyyyy, averageTimeInCache=XXXX hours
  cf2   200 blocks, totalBytes=zzzzz, averageTimeInCache=XXXX hours

table2
  cf1  75 blocks, totalBytes=yyyyy, averageTimeInCache=XXXX hours
  cf2 150 blocks, totalBytes=zzzzz, averageTimeInCache=XXXX hours

... Etc.

The current metrics list blockCacheSize and blockCacheFree, but there is no way 
to know what's in there.  Any single block isn't really important, but the 
patterns of what CF/Table they came from, how big are they, and how long (on 
average) they've been in the cache, are important.

No such interface exists in HRegionInterface, so this is not just a UI request 
also an API change.  But I think it would be helpful from an operational 
perspective.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to