Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
The example of how to use a stop row in a scan in the Section 5.7.3 of the HBase book [1] is incorrect. It demonstrates using a start and stop row to only retrieve records with a given prefix, creating the stop row by appending a null byte to the start row.
This creates a scan that does not include any of the target rows, because the the stop row is less than the target rows via lexicographical sorting.
[1] http://hbase.apache.org/book/data_model_operations.html#scan