Command Line Upgrade
Also available as:
PDF
loading table of contents...

Configure and Start Apache HBase

[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 need to substitute your HBASE Service user name for "hbase" in each of the su commands.

To enable Kerberos for clusters with dual home network setting, each HBase RegionServer must have its own key. See Installing HDP Manually.

The hbase.bucketcache.percentage.in.combinedcache is removed in . This simplifies the configuration of block cache. BucketCache configurations from HDP 2.3 needs to be recalculated to attain identical memory allotments in . The L1 LruBlockCache is whatever hfile.block.cache.size is set to and the L2 BucketCache is whatever hbase.bucketcache.size is set to.

  1. Replace your configuration after upgrading. Replace the Apache 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

  4. Run HBase smoke test. Verify that following commands can be executed successfully from HBase shell.

    create 'testtable', 'cf1'

    put 'testtable', 'r1', 'cf1:c1', 'v1'

    disable 'testtable'

    drop 'testtable'