5. Upgrade HBase

  1. Start the Zookeeper zkServer and NameNode services.

  2. Upgrade HBase.

    Run the following commands on both the HBase Master and the RegionServers hosts.

    • For RHEL/CentOS/Oracle Linux:

      yum upgrade hbase
    • For SLES:

      Run the following commands:

      zypper up hbase

    • For Ubuntu:

       apt-get install hbase
  3. Replace your configuration after upgrading. Replace the HBase template configuration in /etc/hbase/conf.

  4. 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.

  5. Start services. Run as root:

    Suppose $HBASE_USER = hbase
    sudo su -l hbase -c "/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hbase/conf start master"
    sudo su -l hbase -c "/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hbase/conf start regionserver"
  6. Check processes.

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


loading table of contents...