![](/img/trans.png)
[英]Solr 8 - MiniSolrCloudCluster with multiple servers gives "java.io.IOException: 6/invalid_frame_length" when adding docs
[英]SOLR java.io.IOException: cannot uncache file
我正在使用SOLR索引,當我嘗試在數據庫中插入一行時,出現以下錯誤,
誰能讓我知道為什么會收到此錯誤以及如何解決?
錯誤:-
[qtp191908836-19] ERROR org.apache.solr.core.SolrCore – java.io.IOException: cannot uncache file="_t0_Lucene41_0.pos": it was separately also created in the delegate directory
at org.apache.lucene.store.NRTCachingDirectory.unCache(NRTCachingDirectory.java:297)
at org.apache.lucene.store.NRTCachingDirectory.sync(NRTCachingDirectory.java:216)
at org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:4109)
at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2809)
at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2897)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2872)
at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:549)
at org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:95)
at org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
at org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalCommit(DistributedUpdateProcessor.java:1240)
at org.apache.solr.update.processor.DistributedUpdateProcessor.processCommit(DistributedUpdateProcessor.java:1219)
at org.apache.solr.update.processor.LogUpdateProcessor.processCommit(LogUpdateProcessorFactory.java:157)
at org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:266)
at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:173)
如果出現問題,請備份核心,然后刪除錯誤消息中提到的文件。 對我來說,它就像一種魅力。
(該文件應位於your_core_directory / data / index中)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.