Updating Regionserver Memory after Changing the Shape of an HBase Cluster

For information on changing the shape, see Changing the Shape of a Cluster Node.

You must update regionserver memory after changing the shape of an HBase cluster. For example, if the Big Data Service cluster has HBase installed and the node shape is changed from VM.Standard.E4.Flex (64 GB) to VM.DenseIO.E4.Flex (128 GB), you must reset the Regionserver heap memory and nodemanager by completing the following steps:

  1. Open the navigation menu and select Observability and Management. Under Monitoring, select Service Metrics.
  2. From the side toolbar, under Services select YARN.
  3. Select the Configs tab and select Settings.
  4. Make note of the node manager memory.

    nodemanager_memory = value of ('yarn.nodemanager.resource.memory-mb') configuation

  5. From the side toolbar, under Services select HBase.
  6. Select the Configs tab and select Settings.
  7. Increase HBase RegionServer maximum memory.

    regionserver heap memory (regionserver_heap_memory)= 32 GB or (0.5 * nodemanager_memory), which ever is lesser.(Max regionserver memory cap is 32 GB)

  8. Reset the nodemanager memory.
    1. From the side toolbar, under Services select YARN.
    2. Select the Configs tab and select Settings.

      Enter yarn.nodemanager.resource.memory-mb = nodemanager_memory - regionserver_heap_memory