Enabling Succinct Trie
Scenario
Succinct Trie optimizes the HFile Block structure. It uses less cache space, reduces the cache data eviction rate, and improves the cache hit ratio. You can enable this feature to improve performance of tasks that frequently read data.
If Succinct Trie is enabled, open-source versions of HFiles are incompatible. If you are using an HFile to migrate data to MRS 3.2.1- or an earlier version, disable this feature and then run the major compaction command on the data table to generate a new HFile file.
Procedure
- Log in to FusionInsight Manager of the cluster and choose Cluster > Services > HBase > Configurations.
- In the search box, search for and modify the configuration in Table 1 to enable Succinct Trie.
Table 1 Succinct Trie parameters Parameter
Description
New Value
Must Be Modified
hbase.write.tries
Whether to enable Succinct Tries
- true: Enable Succinct Tries
- false: Disable Succinct Tries
true
Yes
hbase.tries.cache.enabled
If this parameter is set to true, LoudsTriesLruBlockCache uses off-heap memory to cache index blocks, reducing the eviction rate of index blocks and improving cache efficiency.
true
No
hbase.index.block.cache.size
Cache size ratio of the LoudsTriesLruBlockCache index block to the blocksize
If the value of blocksize is small, you are advised to increase the value.
-
No
- Click Save.
- Click Instances, select all RegionServer instances, choose More > Instance Rolling Restart, and enter the password of the user to restart the RegionServer instances.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot