[
https://issues.apache.org/jira/browse/SOLR-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505458#comment-13505458
]
Yonik Seeley commented on SOLR-4116:
------------------------------------
I don't know what "tomcat restart" does, but perhaps it's not as nice as you
think if it causes a log replay on restart? Anyway, bringing down a server
roughly enough (like kill -9) can cause truncated tlog files.
But truncated log files are expected and should not cause fatal exceptions (and
we have tests for that). This exception causes the core not to come up?
> 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.0
> 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.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]