You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2014/08/28 18:07:09 UTC

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

     [ https://issues.apache.org/jira/browse/ACCUMULO-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines reopened ACCUMULO-1628:
----------------------------------


{code}java.lang.RuntimeException: Calling setInterruptFlag on a deep copy is not supported
at org.apache.accumulo.core.file.rfile.RFile$Reader.setInterruptFlag(RFile.java:1007)
at org.apache.accumulo.tserver.MemKeyConversionIterator.setInterruptFlag(InMemoryMap.java:182)
at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.switchSource(SourceSwitchingIterator.java:148)
at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.readNext(SourceSwitchingIterator.java:112)
at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:168)
at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
at or
g.apache.accumulo.core.iterators.SkippingIterator.seek(SkippingIterator.java:37)
{code}

[~parkjsung] has been seeing this issue in a 1.6.0 with this patch backported. I have a strong feeling it's due to this patch

> 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.5.2, 1.6.1, 1.7.0
>
>         Attachments: ACCUMULO-1628-1.5.2-SNAPSHOT-1.patch, ACCUMULO-1628-1.5.2-SNAPSHOT-2.patch, ACCUMULO-1628-1.patch, bpopp-ACCUMULO-1628.log
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)