HBase table (manual)

0

I like to create a table in HBase from EMR cluster. however, after executing HBase shell , It gives the following error.

$ hbase shell

hbase:001:0> create 'test', 'data'

ERROR: KeeperErrorCode = NoNode for /hbase/master

For usage try 'help "create"'

Took 0.1030 seconds
hbase:002:0>

Any help is appreciated, thank you

amirh
asked 7 months ago238 views
1 Answer
3

The error message could be an issue with the ZooKeeper configuration or HBase’s connection to Zookeeper. HBase uses Apache ZooKeeper to manage coordination between the HBase master and regionservers. You can try to resolve the issue first by checking the logs for both HBase and ZooKeeper for any specific error messages that might provide more insights into the issue. Look for log entries indicating that HBase is running and that the regionservers are communicating with the master node. You can view the current HBase logs by using SSH to connect to the master node, and navigating to the /var/log/hbase directory.

Make sure the HBase Master is running. You can check the HBase master status using the HBase shell command. You can use the command sudo service hbase-master status to check if the HBase service is running. If the service is running, you should see a message indicating that the service is active (running).

Check also the ZooKeeper configuration and ensure that ZooKeeper is running and properly configured on your EMR cluster. Verify the ZooKeeper Quorum settings in your HBase configuration. The ‘hbasesite.xml’ file should contain the correct ZooKeeper quorum settings. Use the command sudo service zookeeper status to check the status of the ZooKeeper service. If the service is running, you should see a message indicating that the service is active (running).

Also ensure that there are no firewall rules or network issues blocking the communication between your EMR cluster and Zookeeper.

For further reference: Amazon EMR Release Guide

ZooKeeper

profile pictureAWS
BezuW
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions