Configure and Start Apache HBase
Before you can upgrade Apache HBase, you must have first upgraded your HDP components to the latest version (in this case, 2.4.2). This section assumes that you have already upgraded your components for HDP 2.4.2. If you have not already completed these steps, return to Getting Ready to Upgrade and Upgrade 1.3 Components for instructions on how to upgrade your HDP components to 2.4.2.
The hbase.bucketcache.percentage.in.combinedcache is removed in HDP-2.4.2. This simplifies the configuration of block cache. BucketCache configurations from HDP 2.1 will need to be recalculated to attain identical memory allotments in HDP-2.4.2. The L1 LruBlockCache will be whatever hfile.block.cache.size is set to and the L2 BucketCache will be whatever hbase.bucketcache.size is set to.
Upgrade HBase.
hbase upgrade -execute
Replace your configuration after upgrading. Replace the 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