Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3088

Reindex: Failed to write solr4 store. IllegalStateException: The file already exists: alfresco-dir/alf_data/solr4/content/_DEFAULT_/db/

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      BM Lab. Clusters are: 1.4, Servers: 3, Alfresco v5.0.0 (build-187)

      Description

      Next error was detected in the solr log after reindex process was started:

      2014-10-10 15:08:40,263  ERROR [alfresco.solr.SolrInformationServer] [SolrTrackingPool-alfresco7] Failed to write to to store using URL: solr://_DEFAULT_/db/676.gz
       java.lang.IllegalStateException: The file already exists: /home/bm0013/alfresco-5.0-preview-b187/alf_data/solr4/content/_DEFAULT_/db/676.gz
      	at org.alfresco.solr.content.SolrFileContentWriter.getContentOutputStream(SolrFileContentWriter.java:118)
      	at org.alfresco.solr.SolrInformationServer.storeDocOnSolrContentStore(SolrInformationServer.java:2308)
      	at org.alfresco.solr.SolrInformationServer.addToNewDocAndCache(SolrInformationServer.java:1734)
      	at org.alfresco.solr.SolrInformationServer.indexNode(SolrInformationServer.java:1340)
      	at org.alfresco.solr.SolrInformationServer.indexNodes(SolrInformationServer.java:1707)
      	at org.alfresco.solr.tracker.MetadataTracker$NodeIndexWorkerRunnable.doWork(MetadataTracker.java:700)
      	at org.alfresco.solr.tracker.AbstractWorkerRunnable.run(AbstractWorkerRunnable.java:40)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      

      Indices are generated but data in solr store isn't written correctly.

      The same situation is for OOB Alfresco install.

      Please, see log in attachment.

      Snezhana Z.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  alfrescoqa Alfresco QA Team
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel