Configure and Start Apache HBase
Note | |
---|---|
The |
The hbase.bucketcache.percentage.in.combinedcache is removed in HDP 2.6.0. This simplifies the configuration of block cache. BucketCache configurations from HDP 2.5 needs to be recalculated to attain identical memory allotments in HDP 2.6.0. The L1 LruBlockCache is whatever hfile.block.cache.size is set to and the L2 BucketCache is whatever hbase.bucketcache.size is set to.
Replace your configuration after upgrading. Replace the Apache HBase template configuration in
/etc/hbase/conf
.Start services. From root, assuming that $HBASE_USER=hbase:
su - hbase -c "/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master; sleep 25"
su - hbase -c "/usr/hdp/current/hbase-regionserver/bin/hbase-daemon.sh start regionserver"
Check processes.
ps -ef | grep -i hmaster
ps -ef | grep -i hregion
If bulk load support for backup/restore is required, follow these steps:
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
.