Querying Index Information
Scenarios
You can use the GSI tool to view the definition and status of indexes of a data table in batches.
How to Use
Run the following command on the HBase client to view the definition and status of an index:
hbase org.apache.hadoop.hbase.hindex.global.mapreduce.GlobalTableIndexer -Dtablename.to.show = 'Data table name'
Figure 1 shows the query result. The index column definition, covering column definition, TTL, pre-partition information, and index status are displayed.
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