org.apache.solr.common.SolrException: Index fetch failed :

Apache's JIRA Issue Tracker | Deepak | 7 years ago
  1. 0

    [jira] Commented: (SOLR-1769) Solr 1.4 Replication - Repeater throwing NullPointerException

    apache.org | 1 year ago
    org.apache.solr.common.SolrException: Index fetch failed :
  2. 0

    [jira] Commented: (SOLR-1769) Solr 1.4 Replication - Repeater throwing NullPointerException

    lucene-solr-dev | 7 years ago | Ravi Gidwani (JIRA)
    org.apache.solr.common.SolrException: Index fetch failed :
  3. 0

    Hi I am trying to test Solr 1.4 Java replication. It works fine with this configuration on slave and data is sync from master with out any issue <requestHandler name="/replication" class="solr.ReplicationHandler" > <lst name="slave"> <str name="masterUrl">http://IP:PORT/SolrSmartPriceSS/replication</str> <str name="compression">internal</str> <str name="httpConnTimeout">5000</str> <str name="httpReadTimeout">10000</str> </lst> </requestHandler> We need to setup repeater on this slave. We have this configuration on slave. With this configuration, it's throwing a null pointer exception. Please see error log <requestHandler name="/replication" class="solr.ReplicationHandler" > <lst name="master"> <str name="replicateAfter">commit</str> <str name="confFiles">schema.xml</str> </lst> <lst name="slave"> <str name="masterUrl">http://IP:PORT/SolrSmartPriceSS/replication</str> <str name="compression">internal</str> <str name="httpConnTimeout">5000</str> <str name="httpReadTimeout">10000</str> </lst> </requestHandler> Error log INFO: start commit(optimize=false,waitFlush=true,waitSearcher=true,expungeDeletes=false) Feb 9, 2010 10:27:55 PM org.apache.solr.handler.ReplicationHandler doFetch SEVERE: SnapPull failed org.apache.solr.common.SolrException: Index fetch failed : at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:329) at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:264) at org.apache.solr.handler.ReplicationHandler$1.run(ReplicationHandler.java:146) Caused by: java.lang.NullPointerException at org.apache.solr.handler.ReplicationHandler$4.postCommit(ReplicationHandler.java:922) at org.apache.solr.update.UpdateHandler.callPostCommitCallbacks(UpdateHandler.java:78) at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:411) at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:467) at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:319) Please let us know how can we resolve this issue Regards Deepak

    Apache's JIRA Issue Tracker | 7 years ago | Deepak
    org.apache.solr.common.SolrException: Index fetch failed :
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Solr indexing - Master/Slave replication, how to handle huge index and high traffic?

    Stack Overflow | 6 years ago | Fanny H.
    org.apache.solr.common.SolrException: Index fetch failed :
  6. 0

    java.io.IOException: read past EOF Lucene in Java with Eclipse

    Stack Overflow | 1 year ago | hugh
    java.io.IOException: read past EOF

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      read past EOF

      at org.apache.lucene.store.BufferedIndexInput.refill()
    2. Lucene
      DirectoryReader.reopen
      1. org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:151)
      2. org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
      3. org.apache.lucene.store.IndexInput.readInt(IndexInput.java:70)
      4. org.apache.lucene.index.SegmentTermEnum.<init>(SegmentTermEnum.java:50)
      5. org.apache.lucene.index.TermInfosReader.<init>(TermInfosReader.java:71)
      6. org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:119)
      7. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:638)
      8. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:599)
      9. org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:228)
      10. org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(ReadOnlyDirectoryReader.java:32)
      11. org.apache.lucene.index.DirectoryReader.doReopen(DirectoryReader.java:437)
      12. org.apache.lucene.index.DirectoryReader.access$000(DirectoryReader.java:43)
      13. org.apache.lucene.index.DirectoryReader$2.doBody(DirectoryReader.java:429)
      14. org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:704)
      15. org.apache.lucene.index.DirectoryReader.doReopen(DirectoryReader.java:425)
      16. org.apache.lucene.index.DirectoryReader.reopen(DirectoryReader.java:352)
      16 frames
    3. Apache Solr Core
      SnapPuller$1.run
      1. org.apache.solr.search.SolrIndexReader.reopen(SolrIndexReader.java:413)
      2. org.apache.solr.search.SolrIndexReader.reopen(SolrIndexReader.java:424)
      3. org.apache.solr.search.SolrIndexReader.reopen(SolrIndexReader.java:35)
      4. org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1049)
      5. org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:418)
      6. org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:467)
      7. org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:319)
      8. org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:264)
      9. org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:159)
      9 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      9. java.lang.Thread.run(Thread.java:619)
      9 frames