4.2. Querying HBase Interactively

The HBase shell allows administrators and developers to specify the desired data consistency for each query:

hbase(main):001:0> get 't1', 'r6', {CONSISTENCY => "TIMELINE"}

Interactive scans also accept this syntax:

hbase(main):001:0> scan 't1', {CONSISTENCY => 'TIMELINE'}


This release of HBase does not provide a mechanism to determine if the results from an interactive query arrived from the primary or a secondary region server.

loading table of contents...