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

Configure and Start Apache HBase

[Note]Note

The su commands in this section use keywords to represent the Service user. For example, "hbase" is used to represent the Apache HBase Service user. If you are using another name for your Service users, you will need to substitute your Service user name in each of the su commands.

  1. Start the ZooKeeper Server and NameNode services.

  2. As the HBase user, run an upgrade:

    su - hbase -c "hbase upgrade -execute"

    You should see a completed Znode upgrade with no errors.

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

  4. Start services. Run as root and suppose $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"

  5. Check processes.

    ps -ef | grep -i hmaster

    ps -ef | grep -i hregion