hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milosz Tanski <mil...@adfinsolutions.com>
Subject stopRow not working as expected
Date Wed, 09 May 2012 03:35:39 GMT
Hey guys,

I'm trying to get hbase scans working but it looks like I'm not
understanding the stopRow correctly and thus not doing it right.

Here's my start: 0x000000000000000000000000000000004effa200 (added the 0x
to signify this is my binary key)
and my end: 0x000000000000000000000000000000004f00f3800

I have some data (according to hbase shell) that looks like this:

 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ff a2 00
                  column=data:02 07 04 00 00 00 00 08 00 00 00 00 00 00 00
00 00 00 00 00, timestamp=1336412700755, value=3f a6 35 3f 00 00 02 d0


 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ff a2 00
                  column=data:02 07 04 00 00 00 00 09 00 00 00 00 00 00 00
00 00 00 00 00, timestamp=1336412700756, value=3f 98 90 2e 00 00 03 0c


 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ff a2 00
                  column=data:02 07 04 00 00 00 00 0a 00 00 00 00 00 00 00
00 00 00 00 00, timestamp=1336412700758, value=3f 8e 42 5b 00 00 02 94


 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ff a2 00
                  column=data:02 07 04 00 00 00 00 0b 00 00 00 00 00 00 00
00 00 00 00 00, timestamp=1336412700759, value=3f be 56 04 00 00 02 c6


 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ff a2 00
                  column=data:02 07 04 00 00 00 00 0c 00 00 00 00 00 00 00
00 00 00 00 00, timestamp=1336412700760, value=3f 9d a5 12 00 00 02 6c


 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ff a2 00
                  column=data:02 07 04 00 00 00 00 0d 00 00 00 00 00 00 00
00 00 00 00 00, timestamp=1336412700760, value=3f b6 7a 10 00 00 02 08
 ...


Now whenever i set my startRow and stopRow I get 0 results back. However
when I just set startRow to 0x000000000000000000000000000000004effa200 and
not set stopRow, i get all results starting
at 0x000000000000000000000000000000004effa200. I'm sure I'm doing something
stupid here. Can someone help me understand what's wrong?

Thanks,
-- Milosz

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message