Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-907

stacking combiners produces a strange result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.4.3, 1.5.0
    • tserver
    • None

    Description

      Paste the following into your shell:

      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
      

      I expect:

      row count:a []    2
      row count:b []    3
      row count:c []    1
      

      But instead, I get this:

      row count:a []    12
      

      Attachments

        Activity

          People

            ecn Eric C. Newton
            ecn Eric C. Newton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: