Deleting an Index
Scenarios
You can use the GSI tool to delete an index.
How to Use
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 (#).
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot