Add Configuration Parameters for Bulk Load Support
Follow these steps to configure bulk load support for backup and restore:
Register
org.apache.hadoop.hbase.backup.BackupHFileCleaner
throughhbase.master.hfilecleaner.plugins
.org.apache.hadoop.hbase.backup.BackupHFileCleaner
is responsible for keeping bulk loaded hfiles so that incremental backup can pick them up.Register
org.apache.hadoop.hbase.backup.BackupObserver
throughhbase.coprocessor.region.classes
.org.apache.hadoop.hbase.backup.BackupObserver
is notified when bulk load completes and writes records intohbase:backup table
.