Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-01-2016 06:49 AM
I am testing bucket cache implementation on my dev cluster (2 node) before implementing on the production cluster. On the dev, i have 32GB RAM and i have tried to configure bucket cache with the free memory but it always bring down the region server with OOM error. I need a configuration specification to test before i slam it on the production cluster (production cluster has excess of 100GB RAM). Find attached the hortonworks template i used and the error log.
Created 08-01-2016 08:36 AM
As per your hbase-site.xml, bucket cache size is configured as
<property>
<name>hbase.bucketcache.size</name>
<value>6416</value>
</property
But hbase-env.sh has MaxDirectMemorySize is set to just
-XX:MaxDirectMemorySize=6128
You need to set this -XX:MaxDirectMemorySize in hbase-env.sh to more than the bucket cache size configuration, and remember to suffix the configuration with "m"
-XX:MaxDirectMemorySize=6528m
Created 08-01-2016 07:09 AM
can you please also attach hbase-site.xml and hbase-env.sh
Created 08-01-2016 07:30 AM
Please find attached the hbase-site.xml and hbase-env.sh files. Thank you @Ankit Singhal.
Created 08-01-2016 08:36 AM
As per your hbase-site.xml, bucket cache size is configured as
<property>
<name>hbase.bucketcache.size</name>
<value>6416</value>
</property
But hbase-env.sh has MaxDirectMemorySize is set to just
-XX:MaxDirectMemorySize=6128
You need to set this -XX:MaxDirectMemorySize in hbase-env.sh to more than the bucket cache size configuration, and remember to suffix the configuration with "m"
-XX:MaxDirectMemorySize=6528m
Created 08-10-2016 04:58 AM
Thank you @Ankit Singhal. The implementation worked as advised.
Created 08-01-2016 08:45 AM
Which release of HDP are you using ?
Created 08-01-2016 08:53 AM
Release 2.4.2