Hello!
Troubleshooting guideline
Stop the HBase service, restore the table description information from another normal cluster and restart 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_0117892688.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.
Password for hbase@HADOOP.COM:
6. Upload the .tableinfo.0000000001 table description information to /hbase/data/hbase/namespace/.tabledesc/.
[root@10-10-10-11 client] # hdfs dfs -put .tableinfo.0000000001 /hbase/data/hbase/namespace/.tabledesc/
7. Change the permission to hbase supergroup.
[root@10-10-10-11 client] # hdfs dfs -chown hbase:supergroup /hbase/data/hbase/namespace/.tableinfo.0000000001
8. Restart the HBase service to clear the table information cached in the HBase memory.
Verification
1. Perform the hbase hbck check:
hbase hbck hbase:namespace
[root@10-10-10-11 client]# hbase hbck hbase:namespace #Check the status … …
Summary
Table hbase:meta is okay.
Number of regions: 1
Deployed on: hadoop01,21302,1520492976636
Table hbase:namespace is okay.
Number of regions: 1
Deployed on: hadoop02,21302,1520492979895
0 inconsistencies detected.
Status: OK
Check that the HBase service is normal.
http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0117892690.jpg