Move cache stats out of RS log and into metrics
-----------------------------------------------

                 Key: HBASE-1729
                 URL: https://issues.apache.org/jira/browse/HBASE-1729
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack


We log this every minute in RS logs:

{code}
2009-07-30 16:24:54,479 DEBUG org.apache.hadoop.hbase.io.hfile.LruBlockCache: 
Cache Stats: Sizes: Total=414.8218MB (434972192), Free=252.50949MB (264775392), 
Max=667.3313MB (699747584), Counts: Blocks=1106, Access=273562, Hit=271671, 
Miss=1891, Evictions=0, Evicted=0, Ratios: Hit Ratio=99.30874705314636%, Miss 
Ratio=0.691250991076231%, Evicted/Run=NaN
{code}

Thats a metric.  Should be over in metrics.  Metrics does some of above but not 
all.  Extend it so just as comprehensive.  Then we can see it ganglia, jmx, etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to