You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Ben Popp (JIRA)" <ji...@apache.org> on 2014/02/11 17:41:46 UTC

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

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

Ben Popp commented on ACCUMULO-1628:
------------------------------------

I saw a similar issue today and [~cmccubbin] & [~jvines@gmail.com] pointed me at this issue. I was running concurrent reads & writes on a single node dev environment with accumulo 1.5.0.  i was using the java IMM, not native. 

full log attached as bpopp-ACCUMULO-1628.log... excerpt below: 

{noformat}
2014-02-11 11:20:26,947 [tabletserver.TabletServer] WARN : exception while doing multi-scan 
java.lang.NullPointerException
	at org.apache.accumulo.server.tabletserver.InMemoryMap$MemoryDataSource.iterator(InMemoryMap.java:427)
	at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:163)
	at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
	at org.apache.accumulo.core.iterators.SkippingIterator.seek(SkippingIterator.java:37)
{noformat} 



> 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
>            Assignee: Keith Turner
>            Priority: Critical
>             Fix For: 1.4.5, 1.5.1, 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.1.5#6160)