accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: Map Reduce over whole row
Date Fri, 11 Jan 2013 23:31:49 GMT
On Fri, Jan 11, 2013 at 5:24 PM, John Vines <vines@apache.org> wrote:
> The WholeRowIterator takes the entire row and encapsulates it in the same
> order it was scanned. Because everything is sorted, the columns in teh
> WholeRowIterator are maintained in the same order, and the PeekingIterator
> does not change this behavior. So you should be fine.

I do not think the WholeRowIterator is not used.   I think
AccumuloRowInputFormat uses o.a.a.c.client.RowIterator wrapping a
scanner.

The peeking iterator should give keys in sorted order.

>
> John
>
>
> On Fri, Jan 11, 2013 at 5:20 PM, Mike Hugo <mike@piragua.com> wrote:
>>
>> I'm writing a map reduce job that utilizes the AccumuloRowInputFormat so I
>> can do some processing on an entire row.  When working with things in this
>> way, will PeekingIterator always give me the columns of the row in sorted
>> order?
>>
>> Thanks,
>>
>> Mike
>
>

Mime
View raw message