Use these steps to validate your installation.
Start HBase.
Execute this command from the HBase Master node:
<login as $HDFS_USER> /usr/lib/hadoop/bin/hadoop fs -mkdir /apps/hbase /usr/lib/hadoop/bin/hadoop fs -chown -R hbase /apps/hbase <login as $HBASE_USER> /usr/lib/hbase/bin/hbase-daemon.sh --config $HBASE_CONF_DIR start master
Execute this command from each HBase Region Server node:
<login as $HBASE_USER> /usr/lib/hbase/bin/hbase-daemon.sh --config $HBASE_CONF_DIR start regionserver
where:
$HBASE_CONF_DIR
is the directory to store the HBase configuration files. For example,/etc/hbase/conf
.$HBASE_USER
is the user owning the HBase services. For example,hbase
.
Smoke Test HBase.
From a terminal window, enter:
su - $HBASE_USER hbase shell
In the HBase shell, enter the following command:
status