Reputation: 3
I am having a problem with Accumulo 1.5.1 involving the WholeRowIterator and getting the filter to return rows when the range is specified over one key.
Range testRange = new Range("aa", true, "aa\0", false);
When I set this range to a scanner with an associated WholeRowIterator, the filter does not return the specified row "aa" to the client even though the overridden filter function is returning true for this range.
Is the range malformed for a scanner using WholeRowIterator? What would be a correct range?
Thanks.
Upvotes: 0
Views: 144
Reputation: 3
After much digging around I was able to find this post:
A WholeRowIterator needs to have its priority set to 21 or greater to not have conflicting behavior with Version iterators.
This was an annoying bug because it provided many false positives in testing.
Upvotes: 0
Reputation: 3368
The Range
you specified should be correct. You can also try using the new Range(CharSequence)
constructor for simplicity.
Verify that your data is shaped how you think it is - you could have visibilities getting in the way or something else. Go to the shell and do a scan -t [table] -r aa
and make sure that you get results.
Upvotes: 1