Upgrading HDP Manually
Also available as:
PDF
loading table of contents...

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.3.6). This section assumes that you have already upgraded your components for HDP 2.3.6. If you have not already completed these steps, return to Getting Ready to Upgrade and Upgrade 2.2 Components for instructions on how to upgrade your HDP components to 2.3.6.

[Note]Note

The su commands in this section use "hbase" to represent the HBASE Service user. If you are using another name for your HBASE Service user, you will need to substitute your HBASE Service user name for "hbase" in each of the su commands.

The hbase.bucketcache.percentage.in.combinedcache is removed in HDP 2.3.6. To enable Kerberos for clusters with dual home network setting, each HBase RegionServer must have its own key. See Installing HDP Manually. This simplifies the configuration of block cache. BucketCache configurations from HDP 2.2 will need to be recalculated to attain identical memory allotments in HDP 2.3.6. 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.

  1. Replace your configuration after upgrading. Replace the HBase template configuration in /etc/hbase/conf.

  2. 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"

  3. Check processes.

    ps -ef | grep -i hmaster

    ps -ef | grep -i hregion