Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: unspecified
    • Resolution: Ready for Release
    • Affects Version/s: platform-4.3.0
    • Fix Version/s: platform-4.4.0
    • Component/s: None
    • Labels:
      None
    • Tested Version/s:
      None
    • Sprint:

      Description

      Got this error multiple times today. What might this be caused by?
      I am using Zanata Platform 4.3.0.

      2018-01-24 10:48:15,429 ERROR [org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask] (Hibernate Search sync consumer thread for index org.zanata.model.HTextFlowTarget) HSEARCH000072: Couldn't open the IndexWriter because of previous error: operation skipped, index ouf of sync!
      2018-01-24 10:48:15,432 DEBUG [org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl] (default task-11) HHH000420: Closing un-released batch
      2018-01-24 10:48:15,446 DEBUG [org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl] (pool-6-thread-7) Skipping aggressive release due to manual disabling
      2018-01-24 10:48:15,448 DEBUG [org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl] (pool-6-thread-7) HHH000420: Closing un-released batch
      2018-01-24 10:48:15,527 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Scanning directory C:\DESoftware\wildfly-10.1.0.Final\standalone\deployments for deployment content changes
      2018-01-24 10:48:15,532 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Scan complete
      2018-01-24 10:48:16,387 WARN  [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Lucene query returned 20 results (out of approx 68). Increasing zanata.tm.max.results might produce more matches.
      2018-01-24 10:48:16,403 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Type]}. You may need to re-index.
      2018-01-24 10:48:16,404 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Type]}. You may need to re-index.
      2018-01-24 10:48:16,405 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Type]}. You may need to re-index.
      2018-01-24 10:48:16,405 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Data type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Data type]}. You may need to re-index.
      2018-01-24 10:48:16,406 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Type]}. You may need to re-index.
      2018-01-24 10:48:16,406 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Type]}. You may need to re-index.
      2018-01-24 10:48:16,408 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Type]}. You may need to re-index.
      2018-01-24 10:48:16,408 ERROR [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-15) Unexpected TextFlowTarget (state NeedReview): HTextFlowTarget{contents=[Data type], locale=HLocale(localeId=en), state=NeedReview, comment=null, textFlow=[Data type]}. You may need to re-index.
      2018-01-24 10:48:16,409 DEBUG [org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl] (default task-10) Skipping aggressive release due to manual disabling
      2018-01-24 10:48:16,414 ERROR [org.hibernate.search.exception.impl.LogErrorHandler] (Hibernate Search sync consumer thread for index org.zanata.model.HTextFlowTarget) HSEARCH000058: Exception occurred org.apache.lucene.store.LockObtainFailedException: Lock held elsewhere: C:\Windows\System32\config\systemprofile\zanata\indexes\org.zanata.model.HTextFlowTarget\write.lock
      Primary Failure:
      	Entity org.zanata.model.HTextFlowTarget  Id 119655  Work Type  org.hibernate.search.backend.AddLuceneWork
      : org.apache.lucene.store.LockObtainFailedException: Lock held elsewhere: C:\Windows\System32\config\systemprofile\zanata\indexes\org.zanata.model.HTextFlowTarget\write.lock
      	at org.apache.lucene.store.SimpleFSLockFactory.obtainFSLock(SimpleFSLockFactory.java:85) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:775) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
      	at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.createNewIndexWriter(IndexWriterHolder.java:123) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.getIndexWriter(IndexWriterHolder.java:89) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.getIndexWriter(AbstractWorkspaceImpl.java:112) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.getIndexWriterDelegate(AbstractWorkspaceImpl.java:198) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.applyUpdates(LuceneBackendQueueTask.java:80) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.run(LuceneBackendQueueTask.java:46) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.SyncWorkProcessor$Consumer.applyChangesets(SyncWorkProcessor.java:145) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at org.hibernate.search.backend.impl.lucene.SyncWorkProcessor$Consumer.run(SyncWorkProcessor.java:135) [hibernate-search-engine-5.5.1.Final.jar:5.5.1.Final]
      	at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_144]
      Caused by: java.nio.file.FileAlreadyExistsException: C:\Windows\System32\config\systemprofile\zanata\indexes\org.zanata.model.HTextFlowTarget\write.lock
      	at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) [rt.jar:1.8.0_144]
      	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) [rt.jar:1.8.0_144]
      	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) [rt.jar:1.8.0_144]
      	at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source) [rt.jar:1.8.0_144]
      	at java.nio.file.Files.newByteChannel(Unknown Source) [rt.jar:1.8.0_144]
      	at java.nio.file.Files.createFile(Unknown Source) [rt.jar:1.8.0_144]
      	at org.apache.lucene.store.SimpleFSLockFactory.obtainFSLock(SimpleFSLockFactory.java:82) [lucene-core-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:38:09]
      	... 12 more
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lob lob
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: