accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Abnormal behaviour of custom iterator in getting entries
Date Fri, 12 Jun 2015 15:37:14 GMT
Possible explanation inline

shweta.agrawal wrote:
> Hi,
>
> I am making a custom iterator which returns multiple entries. For some
> entries getTopValue function is called, sometimes skipped. Due to this
> behaviour i am not getting all the entries at scan time which are to be
> returned.
>
> I had written functions calling hierarchy in a text file which is:
> hasTop
> getTopKey

A seek() might have happened here. Would explain why you there was no 
getTopValue.

> hasTop
> getTopKey
> getTopValue

After the seek, we checked to see that there was a K/V and then polled it

> next

We then tried to advance the "pointer" to the next K/V

> hasTop

And checked to see if we have another pair.

>
> Thanks
> Shweta
>
>

Mime
View raw message