accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-633) FirstEntryInRowIterator is broken and has no test
Date Wed, 13 Jun 2012 22:08:42 GMT


John Vines commented on ACCUMULO-633:

So the middle row behavior can have some interesting edge cases. If we take the literal name,
then the attempting to return only the first Key is the proper thing to do. And I like that.
But you need to be careful there, as someone could seek to a specific Key, which could actually
be the first entry in the row. So this iterator will require seeking to the row and then checking
the top key to see if the Key specified is teh first entry before seeking to the next possible
> FirstEntryInRowIterator is broken and has no test
> -------------------------------------------------
>                 Key: ACCUMULO-633
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.0, 1.3.5
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>            Priority: Minor
>             Fix For: 1.5.0, 1.4.1
> In 1.4 and trunk, the iterator throws a NullPointerException when seeked.
> In 1.3 the iterator runs, but there is a question as to what it should do when it is
seeked to the middle of a row.  Currently, it returns the first key found within the range.
 I believe this should be changed to ignore the remaining portion of that row and return the
first key of the next row.  Should this change be made in 1.3, or should I leave it as is
and just change it in 1.4 and greater?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message