You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2014/01/08 01:43:50 UTC

[jira] [Commented] (ACCUMULO-1628) NPE on deep copied dumped memoy iterator

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

Mike Drob commented on ACCUMULO-1628:
-------------------------------------

[~kturner] - is this a 1.6.0 change, or something that gets pushed to 1.6.1 & 1.7.0?

> NPE on deep copied dumped memoy 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
>            Assignee: Keith Turner
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>
> 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.1.5#6160)