Hi, experts

I am using HBase0.98.10 and have 3 problems about BucketCache configuration.

First:
I  read the reference guide of Apache HBase to learn how to config  
BucketCache. I find that when using offheap BucketCache, the reference  guide 
says that I should config the HBASE_OFFHEAPSIZE , it also says  that I should 
config -XX:MaxDirectMemorySize. Since these two parameters  are both related to 
the DirectMemory, I am confused which one should I  configure?

Second:
I want to know how to configure the  BucketCache as a pure secondary cache, 
which I mean to bypass the  CombinedBlockCache policy. I tried to configure as 
following , but when I  go to the regionserver's webUI, I found it says "No L2 
deployed"

hbase.bucketcache.ioengine=offheap
hbase.bucketcache.size=200
hbase.bucketcache.combinedcache.enabled=false

Third:
I  made the following configuration to set the Bucket Sizes. But from  
regionserver's WebUI, I found that (4+1)K and (8+1)K sizes are used,  (64+1)K 
sizes are not used. What's wrong with my configuration?
hbase.bucketcache.ioengine=offheap
hbase.bucketcache.size=200
hbase.bucketcache.combinedcache.enabled=true
hbase.bucketcache.sizes=65536  hfile.block.cache.sizes=65536 I configured these 
two both for I don't  know which one is in use now.

Many Thanks!‍

Reply via email to