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

Configuring HBase Parameters

The operations described in this section apply only to clusters of versions earlier than MRS 3.x.

If the default parameter settings of the MRS service cannot meet your requirements, you can modify the parameter settings as required.

  1. Go to the cluster details page and choose Components.

    If the Components tab is unavailable, complete IAM user synchronization first. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)

  2. Choose HBase > Service Configuration and switch Basic to All. On the displayed HBase configuration page, modify parameter settings.

    Table 1 HBase parameters

    Parameter

    Description

    Value

    hbase.regionserver.hfile.durable.sync

    Whether to enable the HFile durability to make data persistence on disks. If this parameter is set to true, HBase performance is affected because each HFile is synchronized to disks by hadoop fsync when being written to HBase.

    This parameter exists only in MRS 1.9.2 or earlier.

    Possible values are as follows:

    • true
    • false

    The default value is true.

    hbase.regionserver.wal.durable.sync

    Specifies whether to enable WAL file durability to make the WAL data persistence on disks. If this parameter is set to true, HBase performance is affected because each edited WAL file is synchronized to disks by hadoop fsync when being written to HBase.

    This parameter exists only in MRS 1.9.2 or earlier.

    Possible values are as follows:

    • true
    • false

    The default value is true.