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.
  Note: In the current implementation of MultiWAL, incoming edits are partitioned by Region. Therefore,
throughput to a single Region is not increased.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.
 - Click Save Changes to commit the changes.
 - Restart the RegionServer roles.
 
Configuring MultiWAL Support Using the Command Line
  Important:
- Follow these command-line instructions on systems that do not use Cloudera Manager.
 - This information applies specifically to CDH 5.12.x. See Cloudera Documentation for information specific to other releases.
 
- Edit hbase-site.xml on each RegionServer where you want to enable MultiWAL. Add the following property by pasting the XML.
<property> <name>hbase.wal.provider</name> <value>multiwal</value> </property>
 - Stop and restart the RegionServer.
 
| << Configuring and Using the HBase REST API | ©2016 Cloudera, Inc. All rights reserved | Storing Medium Objects (MOBs) in HBase >> | 
| Terms and Conditions Privacy Policy |