You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2015/06/10 11:43:00 UTC

[jira] [Commented] (SOLR-4116) Log Replay [recoveryExecutor-8-thread-1] - : java.io.EOFException

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

Markus Jelsma commented on SOLR-4116:
-------------------------------------

Awesome, i got a strange exception, searched the web for it and ended up here, again! This time it is Solr 5.1, i completely removed the data directory, restarted and indexed 18 million records. Then restarted Solr again, and got this slightly different stack trace:

{log}
10400 [recoveryExecutor-19-thread-1] ERROR org.apache.solr.update.UpdateLog  [   ] – java.io.EOFException
        at org.apache.solr.common.util.FastInputStream.readUnsignedByte(FastInputStream.java:73)
        at org.apache.solr.common.util.FastInputStream.readLong(FastInputStream.java:240)
        at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:211)
        at org.apache.solr.common.util.JavaBinCodec.readArray(JavaBinCodec.java:492)
        at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:186)
        at org.apache.solr.update.TransactionLog$LogReader.next(TransactionLog.java:642)
        at org.apache.solr.update.UpdateLog$LogReplayer.doReplay(UpdateLog.java:1305)
        at org.apache.solr.update.UpdateLog$LogReplayer.run(UpdateLog.java:1233)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{log}

> Log Replay [recoveryExecutor-8-thread-1] - : java.io.EOFException
> -----------------------------------------------------------------
>
>                 Key: SOLR-4116
>                 URL: https://issues.apache.org/jira/browse/SOLR-4116
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 5.1
>         Environment: 5.0.0.2012.11.28.10.42.06
> Debian Squeeze, Tomcat 6, Sun Java 6, 10 nodes, 10 shards, rep. factor 2.
>            Reporter: Markus Jelsma
>             Fix For: 5.3, Trunk
>
>
> With SOLR-4032 fixed we see other issues when randomly taking down nodes (nicely via tomcat restart) while indexing a few million web pages from Hadoop. We do make sure that at least one node is up for a shard but due to recovery issues it may not be live.
> {code}
> 2012-11-28 11:32:33,086 WARN [solr.update.UpdateLog] - [recoveryExecutor-8-thread-1] - : Starting log replay tlog{file=/opt/solr/cores/openindex_e/data/tlog/tlog.0000000000000000028 refcount=2} active=false starting pos=0
> 2012-11-28 11:32:41,873 ERROR [solr.update.UpdateLog] - [recoveryExecutor-8-thread-1] - : java.io.EOFException
>         at org.apache.solr.common.util.FastInputStream.readFully(FastInputStream.java:151)
>         at org.apache.solr.common.util.JavaBinCodec.readStr(JavaBinCodec.java:479)
>         at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:176)
>         at org.apache.solr.common.util.JavaBinCodec.readSolrInputDocument(JavaBinCodec.java:374)
>         at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:225)
>         at org.apache.solr.common.util.JavaBinCodec.readArray(JavaBinCodec.java:451)
>         at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:182)
>         at org.apache.solr.update.TransactionLog$LogReader.next(TransactionLog.java:618)
>         at org.apache.solr.update.UpdateLog$LogReplayer.doReplay(UpdateLog.java:1198)
>         at org.apache.solr.update.UpdateLog$LogReplayer.run(UpdateLog.java:1143)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org