Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9580

Exception while updating statistics

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                cdekok Chris de Kok
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: