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

Mark Miller commented on SOLR-4116:
-----------------------------------

Looks like with tomcat you have to crank the unloadDelay for the webapp context 
to be sure there is enough time for the final commit and the shutdown stuff 
that could take a while.

> 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.4, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to