Execute the following command on all the ZooKeeper nodes:
For RHEL/CentOS:
yum upgrade zookeeper
For SLES:
zypper update zookeeper
Start ZooKeeper. On all the ZooKeeper host machines, execute the following command:
sudo su -l zookeeper -c \"source /etc/zookeeper/conf/zookeeper-env.sh; export ZOOCFGDIR=/etc/zookeeper/conf; /usr/lib/zookeeper/bin/zkServer.sh start >> $ZOOKEEPER_LOG_DIR/zoo.out\"
where
$ZOOKEEPER_LOG_DIR
is the directory where ZooKeeper server logs are stored. For example,/var/log/zookeeper
.Execute the following commands on the HBase Master and the HBase slave nodes (RegionServers):
For RHEL/CentOS:
yum upgrade hbase
For SLES:
zypper update hbase
Start HBase.
Start HBase Master. On the HBase Master host machine, execute the following command:
sudo su -l hbase -c "/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hbase/conf start master"
Start all RegionServers. On all the RegionServers, execute the following command:
sudo su -l hbase -c \"/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hbase/conf start regionserver\"