Help Center> MapReduce Service> User Guide (ME-Abu Dhabi Region)> Troubleshooting> Using HBase> Failed to Run the hbase shell Command on the MRS Cluster Client
Updated on 2022-12-08 GMT+08:00

Failed to Run the hbase shell Command on the MRS Cluster Client

Issue

A user fails to run the hbase shell command on the MRS cluster client.

Cause Analysis

  • Environment variables have not been configured before the hbase shell command is executed.
  • The HBase client is not installed in the MRS cluster.

Procedure

  1. Log in to the node where the client is installed as user root, switch to the client installation directory, and check whether the HBase client is installed.

    • If yes, go to 2.
    • If no, download and install the client.

  2. Run the following command to set environment variables:

    source bigdata_env

  3. If Kerberos authentication is enabled for the current cluster, run the following command to authenticate the current user. The current user must have the permission to create HBase tables. If Kerberos authentication is disabled for the current cluster, skip this step.

    kinit MRS cluster user

  4. Run the HBase client command.

    hbase shell