Updated on 2024-11-29 GMT+08:00

Enabling CCSMap Functions

Scenario

CompactedConcurrentSkipListMap (CCSMap) optimizes the Memstore data structure and uses less memory in data write scenarios, reducing GC times for higher data write performance. You can enable this feature to handle tasks that require high data write performance.

Procedure

  1. Log in to FusionInsight Manager of the cluster and choose Cluster > Services > HBase > Configurations > All Configurations.
  2. Search for and modify the following parameters to enable the CCSMap feature:

    • hbase.regionserver.memstore.class: Memstore implementation class. Set this parameter to org.apache.hadoop.hbase.regionserver.CCSMapMemStore.
    • hbase.hregion.compacting.memstore.type: Memstore memory compaction policy. Set this parameter to NONE.

  3. Click Save.
  4. Click Instances, select all RegionServer instances, choose More > Instance Rolling Restart, and enter the password of the user to restart the RegionServer instances.