Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using HBase/ HBase Troubleshooting/ How to Delete the residual Table Name on the ZooKeeper table-lock Node After a Table Creation Failure

How to Delete the residual Table Name on the ZooKeeper table-lock Node After a Table Creation Failure

Updated on 2024-12-11 GMT+08:00

Question

In security mode, a table fails to be created, and a new table name remains on the table-lock node (default path: /hbase/table-lock) of ZooKeeper. How do I clear the table name?

Answer

The detailed procedure is as follows:

  1. In the environment where the client is installed, perform kinit authentication as user hbase.
  2. Run the hbase zkcli command to go to the ZooKeeper CLI.
  3. Run the ls /hbase/table command in the ZooKeeper command line to check whether the new table name exists.
    • If yes, run the ls /hbase/table-lock command to check whether the new table name exists. If the new table exists, run the delete /hbase/table-lock/<table> command to delete the table. <table> indicates the residual table name.
    • If no, no further operation is required.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback