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
질문됨 7달 전258회 조회
1개 답변
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
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠