Using Apache HBase to store and access data
Also available as:
loading table of contents...

Tune JVM garbage collection in RegionServers

You can tune garbage collection in HBase RegionServers for stability, because a RegionServer cannot utilize a very large heap due to the cost of garbage collection. Administrators should specify no more than 24 GB for one RegionServer.

  1. Specify the following configurations in the HBASE_REGIONSERVER_OPTS configuration option in the /conf/
    -Xmn2500m (depends on MAX HEAP SIZE, but should not be less than 1g and more than 4g)
  2. Ensure that the block cache size and the MemStore size combined do not significantly exceed 0.5*MAX_HEAP, which is defined in the HBASE_HEAP_SIZE configuration option of the /conf/ file.