Solr 6.0.1警告 - IndexFetcher - 更新统计信息时出现异常AccessDeniedException

时间:2016-08-11 19:40:19

标签: exception solr solr6

运行Solr 6.0.1,我偶尔会在日志中收到此警告。它在过去几个小时内发生的时间是1:43:27,1:53:26,2:11:06,2:17:26,2:21:46,2:22:26,这是完整的错误...

  

时间:2016年8月8日,下午2:27:26

     

等级:WARN true

     

记录器:IndexFetcher

     

消息:更新统计信息时出现异常

     

详细信息:java.nio.file.AccessDeniedException:C:\ solr-6.0.1 \ server \ solr \ MySolrCore \ data \ replication.properties       at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)       at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)       at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)       at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)       at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)       at java.nio.file.Files.newOutputStream(Unknown Source)       在org.apache.lucene.store.FSDirectory $ FSIndexOutput。(FSDirectory.java:408)       在org.apache.lucene.store.FSDirectory $ FSIndexOutput。(FSDirectory.java:404)       在org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:253)       在org.apache.lucene.store.NRTCachingDirectory.createOutput(NRTCachingDirectory.java:157)       at org.apache.solr.handler.IndexFetcher.logReplicationTimeAndConfFiles(IndexFetcher.java:688)       at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:500)       at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:270)       at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:387)       在org.apache.solr.handler.ReplicationHandler.lambda $ setupPolling $ 0(ReplicationHandler.java:1088)       at java.util.concurrent.Executors $ RunnableAdapter.call(Unknown Source)       at java.util.concurrent.FutureTask.runAndReset(Unknown Source)       at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(Unknown Source)       at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(Unknown Source)       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)       at java.util.concurrent.ThreadPoolExecutor $ Worker.run(Unknown Source)       在java.lang.Thread.run(未知来源)

这只是一个警告,但你知道为什么会这样,我怎么能阻止它?

当核心启动时,我还会收到两次警告:Logger:IndexFetcher,Message:' masterUrl'必须在没有/ replication后缀的情况下指定。如果我在配置中取消/复制后缀,那么我的复制不起作用。我包含此错误,因为上面警告中的文件是replication.properties,并且两个警告都引用replicaiton,因此它们可能相关也可能不相关。消除这两个警告将是理想的。感谢。

0 个答案:

没有答案