4. Validate the Installation

Use these steps to validate your installation.

  1. Start HBase.

    1. 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
    2. 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.

  2. Smoke Test HBase.

    From a terminal window, enter:

    su - $HBASE_USER
    hbase shell

    In the HBase shell, enter the following command:

    status 

loading table of contents...