Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Invalid
    • Affects Version/s: 2018.05
    • Fix Version/s: 2018.06.0
    • Component/s: mycore-solr
    • Labels:
      None

      Description

      Using MIR master and Solr 7.3.1 and try to synchronize index with command 'synchronize metadata index' throws the following exception:

      ERROR: Command 'synchronize metadata index' failed. Performing transaction rollback...
      
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.mycore.frontend.cli.MCRCommand.invoke(MCRCommand.java:248)
      	at org.mycore.webcli.container.MCRWebCLIContainer$ProcessCallable.runCommand(MCRWebCLIContainer.java:316)
      	at org.mycore.webcli.container.MCRWebCLIContainer$ProcessCallable.processCommand(MCRWebCLIContainer.java:284)
      	at org.mycore.webcli.container.MCRWebCLIContainer$ProcessCallable.processCommands(MCRWebCLIContainer.java:379)
      	at org.mycore.webcli.container.MCRWebCLIContainer$ProcessCallable.call(MCRWebCLIContainer.java:262)
      	at org.mycore.webcli.container.MCRWebCLIContainer$ProcessCallable.call(MCRWebCLIContainer.java:193)
      	at org.mycore.util.concurrent.processing.MCRProcessableSupplier.get(MCRProcessableSupplier.java:96)
      	at org.mycore.util.concurrent.MCRPrioritySupplier.get(MCRPrioritySupplier.java:49)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	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)
      Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://esx-91.gbv.de:8983/solr/repper: this IndexWriter is closed
      	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643)
      	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
      	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
      	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
      	at org.apache.solr.client.solrj.SolrClient.deleteByQuery(SolrClient.java:895)
      	at org.apache.solr.client.solrj.SolrClient.deleteByQuery(SolrClient.java:913)
      	at org.mycore.solr.index.MCRSolrIndexer.deleteOrphanedNestedDocuments(MCRSolrIndexer.java:206)
      	at org.mycore.solr.index.MCRSolrIndexer.synchronizeMetadataIndex(MCRSolrIndexer.java:588)
      	at org.mycore.solr.index.MCRSolrIndexer.synchronizeMetadataIndex(MCRSolrIndexer.java:556)
      	at org.mycore.solr.commands.MCRSolrCommands.synchronizeMetadataIndex(MCRSolrCommands.java:207)
      	... 20 more
      
      ERROR: The following command failed: 'synchronize metadata index'
      
      INFO: Writing unprocessed commands to file /mcr/repper/.mycore/repper/MCRWebCLI-unprocessed-commands.txt
      

      Other commands like "rebuild solr metadata and content index" also fails with same error.

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              mcrkrebs Kathleen Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: