Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # user - Aggregating iterators


Copy link to this message
-
Re: Aggregating iterators
Josh Elser 2012-06-28, 11:40
Looks like a typo in the documentation. The 5th insert command should be
for "row2" instead of "row3" to generate the provided output.

Thanks for catching that!

- Josh

On 6/28/12 2:21 AM, Priya M wrote:
> http://accumulo.apache.org/user_manual_1.3-incubating/Table_Configuration.html#Aggregating_Iterators
>
>
> Is the aggregate value for row2 counted incorrectly, since the rowKey
> for the last two rows seem to be different.
> user@myinstance  perDayCounts>  insert  row1  day  20080101  1
> user@myinstance  perDayCounts>  insert  row1  day  20080101  1
> user@myinstance  perDayCounts>  insert  row1  day  20080103  1
> user@myinstance  perDayCounts>  insert  row2  day  20080101  1
> user@myinstance  perDayCounts>  insert  row3  day  20080101  1
>
> user@myinstance  perDayCounts>  scan
> row1  day:20080101  []  2
> row1  day:20080103  []  1
> row2  day:20080101  []  2