Class WALFactory

java.lang.Object
org.apache.hadoop.hbase.wal.WALFactory

@Private public class WALFactory extends Object
Entry point for users of the Write Ahead Log. Acts as the shim between internal use and the particular WALProvider we use to handle wal requests. Configure which provider gets used with the configuration setting "hbase.wal.provider". Available implementations:
  • defaultProvider : whatever provider is standard for the hbase version. Currently "asyncfs"
  • asyncfs : a provider that will run on top of an implementation of the Hadoop FileSystem interface via an asynchronous client.
  • filesystem : a provider that will run on top of an implementation of the Hadoop FileSystem interface via HDFS's synchronous DFSClient.
  • multiwal : a provider that will use multiple "filesystem" wal instances per region server.
Alternatively, you may provide a custom implementation of WALProvider by class name.