accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <>
Subject [jira] [Reopened] (ACCUMULO-1628) NPE on deep copied dumped memory iterator
Date Tue, 18 Nov 2014 20:34:35 GMT


John Vines reopened ACCUMULO-1628:

I think this has recurred in 1.6.0 in a different with the patch you included.

{code}2014-11-14 22:08:12,745 [tserver.InMemoryMap] ERROR: Failed to create mem dump file
        at org.apache.accumulo.core.file.rfile.RelativeKey.fastSkip(
        at org.apache.accumulo.core.file.rfile.RFile$LocalityGroupReader._seek(
        at org.apache.accumulo.core.file.rfile.RFile$
        at org.apache.accumulo.core.file.rfile.RFile$
        at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator._switchNow(
        at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.switchNow(
        at org.apache.accumulo.tserver.InMemoryMap$MemoryIterator.switchNow(
        at org.apache.accumulo.tserver.InMemoryMap$MemoryIterator.access$900(
        at org.apache.accumulo.tserver.InMemoryMap.delete(
        at org.apache.accumulo.tserver.Tablet$TabletMemory.finalizeMinC(
        at org.apache.accumulo.tserver.Tablet.minorCompact(
        at org.apache.accumulo.tserver.Tablet.access$4300(
        at org.apache.accumulo.tserver.Tablet$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

We have an installation that is large enough with high ingest and query that is triggering
it regularly. I'm currently working on acquiring the datanode logs on the other end, but the
footprint and conditions for this are near identical to the original cases we were seeing
the old stack traces occur in.

> NPE on deep copied dumped memory iterator
> -----------------------------------------
>                 Key: ACCUMULO-1628
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>            Priority: Blocker
>             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.5.2-SNAPSHOT-3.patch, ACCUMULO-1628-1.patch, ACCUMULO-1628-SET_INTR.patch,
>          Time Spent: 1h
>  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(
> 	at
> {noformat}

This message was sent by Atlassian JIRA

View raw message