11. Configure and Start Apache HBase

  1. Start the ZooKeeper zkServer and NameNode services.

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

  3. As the HBase user, run an upgrade:

    sudo su -l $HBASE_USER -c "hbase upgrade -execute"

    You should see a completed Znode upgrade with no errors.

  4. Start services. Run as root and suppose $HBASE_USER = hbase:

    su -l hbase -c "/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master; sleep 25"

    su -l hbase -c "/usr/hdp/current/hbase-regionserver/bin/hbase-daemon.sh start regionserver"

  5. Check processes.

    ps -ef | grep -i hmaster

    ps -ef | grep -i hregion

loading table of contents...