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

NPE on deep copied dumped memory iterator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 1.5.0
    • Fix Version/s: 1.5.2, 1.6.1, 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Accumulo may dump memory while a scan is running and transparently switch iterators from memory to file. If an iterator calls deepcopy after this happens, then seek will fail on the deep copy.

      java.lang.NullPointerException
      	at org.apache.accumulo.server.tabletserver.InMemoryMap$MemoryDataSource.iterator(InMemoryMap.java:349)
      	at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:163)
      

        Attachments

        1. bpopp-ACCUMULO-1628.log
          9 kB
          Ben Popp
        2. ACCUMULO-1628-SET_INTR.patch
          0.9 kB
          Keith Turner
        3. ACCUMULO-1628-1.patch
          7 kB
          Keith Turner
        4. ACCUMULO-1628-1.5.2-SNAPSHOT-3.patch
          15 kB
          Keith Turner
        5. ACCUMULO-1628-1.5.2-SNAPSHOT-2.patch
          10 kB
          Keith Turner
        6. ACCUMULO-1628-1.5.2-SNAPSHOT-1.patch
          7 kB
          Keith Turner

          Issue Links

            Activity

              People

              • Assignee:
                kturner Keith Turner
                Reporter:
                kturner Keith Turner
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h