Class RegionGroupingProvider

java.lang.Object
org.apache.hadoop.hbase.wal.AbstractWALProvider
org.apache.hadoop.hbase.wal.RegionGroupingProvider
All Implemented Interfaces:
PeerActionListener, WALProvider

@Private public class RegionGroupingProvider extends AbstractWALProvider
A WAL Provider that returns a WAL per group of regions. This provider follows the decorator pattern and mainly holds the logic for WAL grouping. WAL creation/roll/close is delegated to DELEGATE_PROVIDER Region grouping is handled via RegionGroupingProvider.RegionGroupingStrategy and can be configured via the property "hbase.wal.regiongrouping.strategy". Current strategy choices are
  • defaultStrategy : Whatever strategy this version of HBase picks. currently "bounded".
  • identity : each region belongs to its own group.
  • bounded : bounded number of groups and region evenly assigned to each group.
Optionally, a FQCN to a custom implementation may be given.