HBase Shell: get a list of the row keys

hbase

Solution

One possible method:

count 'table_name', INTERVAL=> 1

Problem

How can I print out only the row keys in a particular HBase table, using the hbase shell? The 'scan' command prints out all columns.

Original source