13. Configure and Start Apache HBase

RHEL/CentOS/Oracle Linux

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

  2. Start services as the <HBase_User>:

    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"

  3. Check processes.

    ps -ef | grep -i hmaster ps -ef | grep -i hregion

SLES

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

  2. Start services as the <HBase_User>:

    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"

  3. Check processes.

    ps -ef | grep -i hmaster ps -ef | grep -i hregion

Ubuntu/Debian

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

  2. Start services as the <HBase_User>:

    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"

  3. Check processes.

    ps -ef | grep -i hmaster ps -ef | grep -i hregion


loading table of contents...