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

NPE on deep copied dumped memory iterator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.4.0, 1.5.0
    • 1.5.2, 1.6.1, 1.7.0
    • None
    • 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. ACCUMULO-1628-1.5.2-SNAPSHOT-1.patch
          7 kB
          Keith Turner
        2. ACCUMULO-1628-1.5.2-SNAPSHOT-2.patch
          10 kB
          Keith Turner
        3. ACCUMULO-1628-1.5.2-SNAPSHOT-3.patch
          15 kB
          Keith Turner
        4. ACCUMULO-1628-1.patch
          7 kB
          Keith Turner
        5. ACCUMULO-1628-SET_INTR.patch
          0.9 kB
          Keith Turner
        6. bpopp-ACCUMULO-1628.log
          9 kB
          Ben Popp

        Issue Links

          Activity

            People

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              7 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