You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2017/05/24 14:09:04 UTC

[jira] [Resolved] (SOLR-10739) org.apache.lucene.index.CorruptIndexException: Corrupted

     [ https://issues.apache.org/jira/browse/SOLR-10739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-10739.
-----------------------------------
    Resolution: Incomplete

Please raise this question on the user's list at solr-user@lucene.apache.org, see: (http://lucene.apache.org/solr/community.html#mailing-lists-irc) there are a _lot_ more people watching that list who may be able to help. 

If it's determined that this is a code issue in Solr and not a configuration/usage problem, we can raise a JIRA.

When you do post on the user's list, please include as many details as possible about what lead up to this situation and what steps you've taken to diagnose it. This error is sometimes the result of faulty hardware and/or power fluctuations or disk-full situations, conditions that cannot be corrected in software.

Index corruption can occur for a variety of reasons, including but not limited to:

disk failure
disk full
Power outage


> org.apache.lucene.index.CorruptIndexException: Corrupted
> --------------------------------------------------------
>
>                 Key: SOLR-10739
>                 URL: https://issues.apache.org/jira/browse/SOLR-10739
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 5.5.3
>            Reporter: bridge
>            Priority: Critical
>
> Which could be the cause for the the following error in solr.log:
> 2017-05-23 10:16:13.017 ERROR (qtp955973362-7080) [c:ak_collection_V_2_0 s:shard1 r:core_node4 x:ak_collection_V_2_0_shard1_replica2] o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: Error reading document with docId 21511038
>         at org.apache.solr.response.DocsStreamer.next(DocsStreamer.java:154)
>         at org.apache.solr.response.BinaryResponseWriter$Resolver.writeResultsBody(BinaryResponseWriter.java:123)
>         at org.apache.solr.response.BinaryResponseWriter$Resolver.writeResults(BinaryResponseWriter.java:143)
>         at org.apache.solr.response.BinaryResponseWriter$Resolver.resolve(BinaryResponseWriter.java:86)
>         at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:205)
>         at org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:189)
>         at org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:291)
>         at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:194)
>         at org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:133)
>         at org.apache.solr.response.BinaryResponseWriter.write(BinaryResponseWriter.java:55)
>         at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:49)
>         at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:728)
>         at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>         at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>         at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>         at org.eclipse.jetty.server.Server.handle(Server.java:499)
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>         at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.lucene.index.CorruptIndexException: Corrupted: docID=2437218, docBase=6610, chunkDocs=36, numDocs=4230355 (resource=MMapIndexInput(path="/akui/solr_home_55/data/ak_collection_V_2_0_shard1_replica2/data/index.20170520042142990/_e7g0.fdt"))
>         at org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader$BlockState.doReset(CompressingStoredFieldsReader.java:414)
>         at org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader$BlockState.reset(CompressingStoredFieldsReader.java:394)
>         at org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.document(CompressingStoredFieldsReader.java:573)
>         at org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.visitDocument(CompressingStoredFieldsReader.java:583)
>         at org.apache.lucene.index.CodecReader.document(CodecReader.java:81)
>         at org.apache.lucene.index.FilterLeafReader.document(FilterLeafReader.java:405)
>         at org.apache.lucene.index.FilterLeafReader.document(FilterLeafReader.java:405)
>         at org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:118)
>         at org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:773)
>         at org.apache.solr.response.DocsStreamer.next(DocsStreamer.java:146)
>         ... 34 more



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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