Good day!
Troubleshooting guideline
Stop the HBase service, delete the HBase-related ZooKeeper data and start the HBase service.
Operation Procedure
1. Stop the HBase service.
http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0117892680.jpg
2. Run the following command to go to the installation directory on the client, for example, /opt/client:
cd /opt/client
3. Run the source bigdata_env command to configure environment variables.
4. If the cluster uses the security version, you need to perform security authentication.
kinit hbase
5. Enter the correct password as prompted.
[root@10-10-10-11 client]# source bigdata_env #Configure environment variables.
[root@10-10-10-11 client]# kinit hbase #Configure kinit authentication.
6. Password for hbase@HADOOP.COM:
Run the hbase zkcli command to connect to the ZooKeeper.
[root@10-10-10-11 client] # hbase zkcli
Run the deleteall/hbase/table/$table_name command to delete the ZNode.
Note:
Before performing this step, check the consistency between table names in the HDFS and ZooKeeper.
[zk: hadoop01:24002,hadoop02:24002,hadoop03:24002(CONNECTED) 0] deleteall /hbase/table/tbl_2
Run the deleteall /hbase/table-lock/$table_name command to delete the ZNode.
[zk: hadoop01:24002,hadoop02:24002,hadoop03:24002(CONNECTED) 0] deleteall /hbase/table-lock/tbl_2
Start the HBase service.
http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0117892681.jpg