Can anybody tell me, how to list all row keys in an hbase table?
A row key is a unique identifier for the table row. An HBase table is a multi-dimensional map comprised of one or more columns and rows of data. You specify the complete set of column families when you create an HBase table.
Hey, list is the command that is used to list all the tables in HBase.
put - Puts a cell value at a specified column in a specified row in a particular table. get - Fetches the contents of row or a cell.
The HBase shell could be used to list all the row keys:
count 'table_name', { INTERVAL => 1 }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With