我們在從主站到從站的複製過程中不斷收到此異常。 我們的索引尺寸爲9.7 G,我們正試圖從頭開始複製一個奴隸。solr ReplicationHandler - SnapPull無法下載文件
2013年10月30日18:22:16,996 [explicit-fetchindex-cmd]錯誤ReplicationHandler - SnapPull失敗:org.apache.solr.common.SolrException:無法完全下載_41c_Lucene41_0.doc。下載0!= 107464871 在org.apache.solr.handler.SnapPuller $ DirectoryFileFetcher.cleanup(SnapPuller.java:1266) 在org.apache.solr.handler.SnapPuller $ DirectoryFileFetcher.fetchFile(SnapPuller.java:1146) at org.apache.solr.handler.SnapPuller.downloadIndexFiles(SnapPuller.java:741) at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:405) at org.apache.solr.handler.ReplicationHandler .doFetch(ReplicationHandler.java:319) 在org.apache.solr.handler.ReplicationHandler $ 1.run(ReplicationHandler.java:220)
我在某些線程讀取,有Solr中4.1相關的錯誤,但我們使用solr 4.3並且也嘗試了4.5.1。 它接近DirectoryFileFetcher有時無法下載文件,文件被下載到大小爲零的軟件。
這是主設置:
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="replicateAfter">startup</str>
<str name="confFiles">stopwords.txt,spellings.txt,synonyms.txt,protwords.txt,elevate.xml,currency.xml</str>
<str name="commitReserveDuration">00:00:50</str>
</lst>
</requestHandler>
和從設置:
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="replicateAfter">startup</str>
<str name="confFiles">stopwords.txt,spellings.txt,synonyms.txt,protwords.txt,elevate.xml,currency.xml</str>
<str name="commitReserveDuration">00:00:50</str>
</lst>
</requestHandler>