Querying an HBase Global Secondary Index
Scenarios
You can use the global secondary index tool to view the definition and status of indexes related to a data table in batches.
Querying an HBase Global Secondary Index
Run the following command on the HBase client to view the definition and status of the index:
Indicates the name of the hbase org.apache.hadoop.hbase.hindex.global.mapreduce.GlobalTableIndexer -Dtablename.to.show=' data table.'
Figure 1 shows the query result. The index column definition, overwrite column definition, TTL, pre-partition information, and index status are printed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.