Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> LRU stats


I am running hbase 0.94.3 and I am trying to understand the LRU cache stats

LRU Stats: total=428.75 MB, free=4.05 GB, max=4.46 GB, blocks=35961,
accesses=23808283, hits=23098837, hitRatio=97.02%,
cachingAccesses=23135166, cachingHits=23066278,
cachingHitsRatio=99.70%, *evictions=0,
I don't understanding why the number of evictions is 0 - which means that
the number of eviction thread runs is 0, AFAIK. Also, I see that 30K blocks
were evicted - how is that possible ? I have set the hfile evict on close
to the default value - which is false - so blocks should not be evicted
when hfiles are closed. Where are the evicted blocks coming from when the
block is mostly empty and no eviction runs have occured.

Ted Yu 2013-01-27, 05:24
Varun Sharma 2013-01-27, 09:04
Jean-Daniel Cryans 2013-01-28, 19:27