Help Center/ CloudTable Service/ User Guide/ Using HBase/ HBase Enterprise-class Enhancement/ Configuring an HBase Global Secondary Index/ Deleting GSIs
Updated on 2025-11-11 GMT+08:00
Deleting GSIs
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: Configuring an HBase Global Secondary Index
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.