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

Combiners lose data when reading off of disk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None

    Description

      There is a bug with Combiners in 1.4 resulting in bad data-

      to recreate-
      createtable test;
      config -t test -s table.iterator.minc.vers=10
      config -t test -s table.iterator.majc.vers=10
      config -t test -s table.iterator.scan.vers=10
      insert r f q 1
      insert r f q 2
      insert r f q 3
      setiter -class org.apache.accumulo.core.iterators.user.SummingCombiner -scan -n summer -p 60 -t test
      true

      STRING
      scan
      flush
      scan
      deleteiter -t test -n summer -scan
      scan

      You will see all three values the first scan, 6 for the second scan, 4 for the third scan, and all three values for the 4th scan. In debug I saw teh values 2, 1, and 1 in that order in the Viterator.next method.

      Attachments

        Activity

          People

            billie Billie Rinaldi
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: