[
https://issues.apache.org/jira/browse/ACCUMULO-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Newton updated ACCUMULO-907:
---------------------------------
Description:
Paste the following into your shell:
{noformat}
deletetable test
createtable test
setiter -t test -p 16 -scan -n test_1 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
setiter -t test -p 17 -scan -n test_2 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
setiter -t test -p 18 -scan -n test_3 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
setiter -t test -p 10 -scan -n test_4 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count
STRING
insert row count a 1
insert row count a 1
insert row count b 1
insert row count b 1
insert row count b 1
insert row count c 1
scan
{noformat}
I expect:
{noformat}
row count:a [] 2
row count:b [] 3
row count:c [] 1
{noformat}
But instead, I get this:
{noformat}
row count:a [] 12
{noformat}
was:
Paste the following into your shell:
{noformat}
deletetable test
createtable test
setiter -t test -p 16 -scan -n test_1 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
setiter -t test -p 17 -scan -n test_2 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
setiter -t test -p 18 -scan -n test_3 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
setiter -t test -p 10 -scan -n test_4 -class
org.apache.accumulo.core.iterators.user.SummingCombiner
count:a
STRING
insert row count a 1
insert row count a 1
insert row count b 1
insert row count b 1
insert row count b 1
insert row count c 1
scan
{noformat}
I expect:
{noformat}
row count:a [] 2
row count:b [] 3
row count:c [] 1
{noformat}
But instead, I get this:
{noformat}
row count:a [] 12
{noformat}
> stacking combiners produces a strange result
> --------------------------------------------
>
> Key: ACCUMULO-907
> URL: https://issues.apache.org/jira/browse/ACCUMULO-907
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Affects Versions: 1.4.2
> Reporter: Eric Newton
> Assignee: Keith Turner
>
> Paste the following into your shell:
> {noformat}
> deletetable test
> createtable test
> setiter -t test -p 16 -scan -n test_1 -class
> org.apache.accumulo.core.iterators.user.SummingCombiner
> count:a
> STRING
> setiter -t test -p 17 -scan -n test_2 -class
> org.apache.accumulo.core.iterators.user.SummingCombiner
> count:a
> STRING
> setiter -t test -p 18 -scan -n test_3 -class
> org.apache.accumulo.core.iterators.user.SummingCombiner
> count:a
> STRING
> setiter -t test -p 10 -scan -n test_4 -class
> org.apache.accumulo.core.iterators.user.SummingCombiner
> count
> STRING
> insert row count a 1
> insert row count a 1
> insert row count b 1
> insert row count b 1
> insert row count b 1
> insert row count c 1
> scan
> {noformat}
> I expect:
> {noformat}
> row count:a [] 2
> row count:b [] 3
> row count:c [] 1
> {noformat}
> But instead, I get this:
> {noformat}
> row count:a [] 12
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira