[ 
https://issues.apache.org/jira/browse/ACCUMULO-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092938#comment-14092938
 ] 

John Vines commented on ACCUMULO-1628:
--------------------------------------

FYI, this still occurs and it presents as itself as an NPE coming up through 
continueMultiScan.

Maybe this can be handled by changing the switched flag ot a shared object so 
taht way all clones know when it flips?


> NPE on deep copied dumped memory iterator
> -----------------------------------------
>
>                 Key: ACCUMULO-1628
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1628
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Keith Turner
>            Priority: Critical
>             Fix For: 1.5.2, 1.6.1, 1.7.0
>
>         Attachments: bpopp-ACCUMULO-1628.log
>
>
> 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.
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to