Help Center/
CloudTable Service/
User Guide/
HBase User Guide/
Global Secondary Indexes/
Using the GSI Tool/
Deleting Indexes
Updated on 2024-04-29 GMT+08:00
Deleting Indexes
Scenario
You can use the GSI tool to delete an index.
Usage
Run the following command on the HBase client to delete an index:
hbase org.apache.hadoop.hbase.hindex.global.mapreduce.GlobalTableIndexer -Dtablename.to.index='table' -Dindexnames.to.drop='idx1#idx2'
The parameters are described as follows:
- tablename.to.index: indicates the name of the table where the index to be deleted is.
- indexnames.to.drop: indicates the name of the index to be deleted. You can specify multiple indexes and separate them with number signs (#).
Parent topic: Using the GSI Tool
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot