You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Pierre Alain (JIRA)" <ji...@apache.org> on 2016/12/11 00:13:58 UTC

[jira] [Commented] (SOLR-9580) Exception while updating statistics

    [ https://issues.apache.org/jira/browse/SOLR-9580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15738726#comment-15738726 ] 

Pierre Alain commented on SOLR-9580:
------------------------------------

Same issue for us with replication.properties file

classname: org.apache.solr.handler.IndexFetcher
level: WARN
{code}
Exception while updating statistics
java.nio.file.FileAlreadyExistsException: /opt/appserv/solr/cores/xxxxxxx/data/replication.properties
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
	at java.nio.file.Files.newOutputStream(Files.java:216)
	at org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:413)
	at org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:409)
	at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:253)
	at org.apache.lucene.store.NRTCachingDirectory.createOutput(NRTCachingDirectory.java:157)
	at org.apache.solr.handler.IndexFetcher.logReplicationTimeAndConfFiles(IndexFetcher.java:681)
	at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:493)
	at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:254)
	at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:397)
	at org.apache.solr.handler.ReplicationHandler.lambda$setupPolling$2(ReplicationHandler.java:1145)
	at org.apache.solr.handler.ReplicationHandler$$Lambda$63/1607031935.run(Unknown Source)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
{code}

And in INFO level we can found also:
* org.apache.solr.handler.IndexFetcher -> Skipping download for _31y_Lucene50_0.doc because it already exists
* org.apache.solr.handler.IndexFetcher -> Skipping download for _dq.cfe because it already exists
* org.apache.solr.handler.IndexFetcher -> Skipping download for _8z_1c.liv because it already exists
* .../..

> Exception while updating statistics
> -----------------------------------
>
>                 Key: SOLR-9580
>                 URL: https://issues.apache.org/jira/browse/SOLR-9580
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.2
>            Reporter: Chris de Kok
>
> The replication throws a warning after the 2nd time the replicaiton occurs complaining about that te replication.properties already exists.
> WARN true
> IndexFetcher
> Exception while updating statistics
> java.nio.file.FileAlreadyExistsException: /var/local/solr/cores/data/replication.properties
> 	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> 	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
> 	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
> 	at java.nio.file.Files.newOutputStream(Files.java:216)
> 	at org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:413)
> 	at org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:409)
> 	at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:253)
> 	at org.apache.lucene.store.NRTCachingDirectory.createOutput(NRTCachingDirectory.java:157)
> 	at org.apache.solr.handler.IndexFetcher.logReplicationTimeAndConfFiles(IndexFetcher.java:681)
> 	at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:493)
> 	at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:254)
> 	at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:397)
> 	at org.apache.solr.handler.ReplicationHandler.lambda$setupPolling$2(ReplicationHandler.java:1145)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org