Configuring HBase MultiWAL Support
CDH supports multiple write-ahead logs (MultiWAL) for HBase. (For more information, see HBASE-5699.)
Without MultiWAL support, each region on a RegionServer writes to the same WAL. A busy RegionServer might host several regions, and each write to the WAL is serial because HDFS only supports sequentially written files. This causes the WAL to negatively impact performance.
To configure MultiWAL for a RegionServer, set the value of the property hbase.wal.provider to multiwal and restart the RegionServer. To disable MultiWAL for a RegionServer, unset the property and restart the RegionServer.
RegionServers using the original WAL implementation and those using the MultiWAL implementation can each handle recovery of either set of WALs, so a zero-downtime configuration update is possible through a rolling restart.
Configuring MultiWAL Support Using Cloudera Manager
- Go to the HBase service.
- Click the Configuration tab.
- Select .
- Select .
- Set WAL Provider to MultiWAL.
- Set the Per-RegionServer Number of WAL Pipelines to a value greater than 1.
- Enter a Reason for change, and then click Save Changes to commit the changes.
- Restart the RegionServer roles.