Re: data miss when use rowiterator

2017-02-10 Thread Keith Turner
On Thu, Feb 9, 2017 at 11:39 PM, Josh Elser wrote: > Just to be clear, Lu, for now stick to using a Scanner with the RowIterator > :) > > It sounds like we might have to re-think how the RowIterator works with the > BatchScanner... I opened : https://issues.apache.org/jira/browse/ACCUMULO-4586 >

Re: data miss when use rowiterator

2017-02-09 Thread Lu Q
Thanks > 在 2017年2月10日,12:39,Josh Elser 写道: > > Just to be clear, Lu, for now stick to using a Scanner with the RowIterator :) > > It sounds like we might have to re-think how the RowIterator works with the > BatchScanner... > > Christopher wrote: >> I suspected that was the case. BatchScanner

Re: data miss when use rowiterator

2017-02-09 Thread Josh Elser
Just to be clear, Lu, for now stick to using a Scanner with the RowIterator :) It sounds like we might have to re-think how the RowIterator works with the BatchScanner... Christopher wrote: I suspected that was the case. BatchScanner does not guarantee ordering of entries, which is needed fo

Re: data miss when use rowiterator

2017-02-09 Thread Christopher
I suspected that was the case. BatchScanner does not guarantee ordering of entries, which is needed for the behavior you're expecting with RowIterator. This means that the RowIterator could see the same row multiple times with different subsets of the row's columns. This is probably affecting your

Re: data miss when use rowiterator

2017-02-09 Thread Lu Q
I use BatchScanner > 在 2017年2月10日,11:24,Christopher 写道: > > Does it matter if your scanner is a BatchScanner or a Scanner? > I wonder if this is due to the way BatchScanner could split rows up. > > On Thu, Feb 9, 2017 at 9:50 PM Lu Q > wrote: > > I use accumulo 1.8.

Re: data miss when use rowiterator

2017-02-09 Thread Christopher
Does it matter if your scanner is a BatchScanner or a Scanner? I wonder if this is due to the way BatchScanner could split rows up. On Thu, Feb 9, 2017 at 9:50 PM Lu Q wrote: > > I use accumulo 1.8.0,and I develop a ORM framework for conversion the scan > result to a object. > > Before,I use Row