Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13460

org.apache.solr.common.SolrException: Exception writing document id sitecore://master/{a55da3d7-04f1-47bd-8303-70c61fbeefab}?lang=en&ver=1&ndx=sitecore_master_index to the index; possible analysis error.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.6.2
    • Fix Version/s: None
    • Component/s: SolrJ
    • Labels:
      None

      Description

      Dear Team,

      We are regularly observing below error

      org.apache.solr.common.SolrException: Exception writing document id sitecore://master/{a55da3d7-04f1-47bd-8303-70c61fbeefab}?lang=en&ver=1&ndx=sitecore_master_index to the index; possible analysis error.
      org.apache.solr.common.SolrException: Exception writing document id sitecore://master/{a55da3d7-04f1-47bd-8303-70c61fbeefab}?lang=en&ver=1&ndx=sitecore_master_index to the index; possible analysis error.
      at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:206)
      at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:67)
      at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:55)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:979)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1192)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:748)
      at org.apache.solr.update.processor.LogUpdateProcessorFactory$LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:103)
      at org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:261)
      at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:188)
      at org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:97)
      at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:68)
      at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
      at org.apache.solr.core.SolrCore.execute(SolrCore.java:2477)
      at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
      at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)
      at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)
      at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      at org.eclipse.jetty.server.Server.handle(Server.java:534)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202)
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
      at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:749)
      at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:763)
      at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1567)
      at org.apache.solr.update.DirectUpdateHandler2.updateDocument(DirectUpdateHandler2.java:924)
      at org.apache.solr.update.DirectUpdateHandler2.updateDocOrDocValues(DirectUpdateHandler2.java:913)
      at org.apache.solr.update.DirectUpdateHandler2.doNormalUpdate(DirectUpdateHandler2.java:302)
      at org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:239)
      at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:194)
      ... 46 more
      Caused by: org.apache.lucene.index.CorruptIndexException: checksum failed (hardware problem?) : expected=f0c8c498 actual=a31f6f06 (resource=BufferedChecksumIndexInput(MMapIndexInput(path="C:\solr-6.6.2\server\solr\sitecore_master_index\data\index_lt37.nvd")))
      at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:419)
      at org.apache.lucene.codecs.CodecUtil.checksumEntireFile(CodecUtil.java:526)
      at org.apache.lucene.codecs.lucene53.Lucene53NormsProducer.checkIntegrity(Lucene53NormsProducer.java:196)
      at org.apache.lucene.codecs.NormsConsumer.merge(NormsConsumer.java:76)
      at org.apache.lucene.index.SegmentMerger.mergeNorms(SegmentMerger.java:179)
      at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:133)
      at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4356)
      at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3931)
      at org.apache.solr.update.SolrIndexWriter.merge(SolrIndexWriter.java:188)
      at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:624)
      at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:661)

      Can you please help us in resolving the issue.

      Thanks,

      Siva.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              csiv Siva Prasad Chinta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: