accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3343) EOFException when source switching iterator fires
Date Wed, 19 Nov 2014 22:06:33 GMT

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

John Vines commented on ACCUMULO-3343:
--------------------------------------

I was able to recover one of the mem dump files that seems to correlate to the exceptions,
and rfile-info ran fine against it, as did rfile-info -d.

> EOFException when source switching iterator fires
> -------------------------------------------------
>
>                 Key: ACCUMULO-3343
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3343
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.5.2, 1.6.1
>         Environment: 1.6.0 with the patch for ACCUMULO-1628 applied to it
>            Reporter: John Vines
>             Fix For: 1.5.3, 1.6.2, 1.7.0
>
>
> On a high ingest/query cluster (between 10-20 nodes) I see the following -
> {code}2014-11-14 22:08:12,745 [tserver.InMemoryMap] ERROR: Failed to create mem dump
file
> java.io.EOFException
>         at java.io.DataInputStream.readByte(DataInputStream.java:267)
>         at org.apache.accumulo.core.file.rfile.RelativeKey.fastSkip(RelativeKey.java:314)
>         at org.apache.accumulo.core.file.rfile.RFile$LocalityGroupReader._seek(RFile.java:748)
>         at org.apache.accumulo.core.file.rfile.RFile$LocalityGroupReader.seek(RFile.java:607)
>         at org.apache.accumulo.core.iterators.system.LocalityGroupIterator.seek(LocalityGroupIterator.java:142)
>         at org.apache.accumulo.core.file.rfile.RFile$Reader.seek(RFile.java:979)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.tserver.MemKeyConversionIterator.seek(InMemoryMap.java:168)
>         at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator._switchNow(SourceSwitchingIterator.java:171)
>         at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.switchNow(SourceSwitchingIterator.java:179)
>         at org.apache.accumulo.tserver.InMemoryMap$MemoryIterator.switchNow(InMemoryMap.java:647)
>         at org.apache.accumulo.tserver.InMemoryMap$MemoryIterator.access$900(InMemoryMap.java:601)
>         at org.apache.accumulo.tserver.InMemoryMap.delete(InMemoryMap.java:746)
>         at org.apache.accumulo.tserver.Tablet$TabletMemory.finalizeMinC(Tablet.java:327)
>         at org.apache.accumulo.tserver.Tablet.minorCompact(Tablet.java:2068)
>         at org.apache.accumulo.tserver.Tablet.access$4300(Tablet.java:170)
>         at org.apache.accumulo.tserver.Tablet$MinorCompactionTask.run(Tablet.java:2134)
>         at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
>         at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
>         at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
>         at java.lang.Thread.run(Thread.java:744){code}
> After this happens, I also see iterators failing-
> {code} ERROR: exception when running query
> java.io.EOFException
>         at java.io.DataInputStream.readByte(DataInputStream.java:267)
>         at org.apache.accumulo.core.file.rfile.RelativeKey.fastSkip(RelativeKey.java:314)
>         at org.apache.accumulo.core.file.rfile.RFile$LocalityGroupReader._seek(RFile.java:748)
>         at org.apache.accumulo.core.file.rfile.RFile$LocalityGroupReader.seek(RFile.java:607)
>         at org.apache.accumulo.core.iterators.system.LocalityGroupIterator.seek(LocalityGroupIterator.java:142)
>         at org.apache.accumulo.core.file.rfile.RFile$Reader.seek(RFile.java:979)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.tserver.MemKeyConversionIterator.seek(InMemoryMap.java:168)
>         at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.readNext(SourceSwitchingIterator.java:116)
>         at org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:162)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.SkippingIterator.seek(SkippingIterator.java:37)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.system.MultiIterator.seek(MultiIterator.java:105)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.system.StatsIterator.seek(StatsIterator.java:64)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.system.DeletingIterator.seek(DeletingIterator.java:67)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.SkippingIterator.seek(SkippingIterator.java:37)
>         at org.apache.accumulo.core.iterators.system.ColumnFamilySkippingIterator.seek(ColumnFamilySkippingIterator.java:123)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.Filter.seek(Filter.java:64)
>         at org.apache.accumulo.core.iterators.WrappingIterator.seek(WrappingIterator.java:101)
>         at org.apache.accumulo.core.iterators.Filter.seek(Filter.java:64)
>         at org.apache.accumulo.core.iterators.system.SynchronizedIterator.seek(SynchronizedIterator.java:55)
> {code}
> Still waiting on logs related, but when the system gets into this state, all tservers
are throwing errors like this (our query pattern uses a lot of batchscanners), but also we
see the gc take extremely long times to run, throwing 
> {code}[impl.ThriftScanner] DEBUG: Scan failed, thrift error org.apache.thrift.transport.TTransportException
 java.net.SocketTimeoutException: 120000 millis timeout while waiting for channel to be ready
for read. ch : java.nio.channels.SocketChannel[connected...{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message