AnsweredAssumed Answered

error on full re-index of lucene

Question asked by sharifu on Sep 17, 2014
Latest reply on Sep 18, 2014 by ranjitsinh.reval
I am using alfresco 4.2e community edition, centos 6 64bit.  when i am doing a full re-index i notice following error


2014-09-17 11:43:56,471  ERROR [index.AbstractReindexComponent.threads] [indexTrackerThread4] Reindexer     4 failed with error: 08170003 Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2011/10/3/13/23/e2f77b20-6ab3-42fe-a52a-f2c4d1ed94b2.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US].
2014-09-17 11:43:56,473  WARN  [index.AbstractReindexComponent.threads] [indexTrackerThread4] org.alfresco.service.cmr.repository.ContentIOException: 08170003 Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2011/10/3/13/23/e2f77b20-6ab3-42fe-a52a-f2c4d1ed94b2.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
   at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:401)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl$5.getReader(ADMLuceneIndexerImpl.java:1552)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl$5.read(ADMLuceneIndexerImpl.java:1574)
   at org.alfresco.repo.search.impl.lucene.MultiReader.read(MultiReader.java:81)
   at java.io.BufferedReader.fill(BufferedReader.java:154)
   at java.io.BufferedReader.read(BufferedReader.java:175)
   at org.alfresco.repo.search.impl.lucene.analysis.MLAnalayser.tokenStream(MLAnalayser.java:89)
   at org.alfresco.repo.search.impl.lucene.LuceneAnalyser.tokenStream(LuceneAnalyser.java:86)
   at org.alfresco.repo.search.impl.lucene.LuceneAnalyser.tokenStream(LuceneAnalyser.java:91)
   at org.apache.lucene.analysis.Analyzer.reusableTokenStream(Analyzer.java:47)
   at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:117)
   at org.apache.lucene.index.DocFieldConsumersPerField.processFields(DocFieldConsumersPerField.java:36)
   at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:234)
   at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:765)
   at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:743)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1917)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1895)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.flushPending(ADMLuceneIndexerImpl.java:1203)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.flush(AbstractLuceneIndexerAndSearcherFactory.java:884)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at com.sun.proxy.$Proxy242.flush(Unknown Source)
   at org.alfresco.repo.search.IndexerComponent.flushPending(IndexerComponent.java:144)
   at org.alfresco.repo.node.index.AbstractReindexComponent$ReindexWorkerRunnable.beforeCommit(AbstractReindexComponent.java:1168)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:737)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:717)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:683)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:927)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:472)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:474)
   at org.alfresco.repo.node.index.AbstractReindexComponent.doInRetryingTransaction(AbstractReindexComponent.java:289)
   at org.alfresco.repo.node.index.AbstractReindexComponent$ReindexWorkerRunnable.run(AbstractReindexComponent.java:1090)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:724)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08170002 Failed to open file channel: ContentAccessor[ contentUrl=store://2011/10/3/13/23/e2f77b20-6ab3-42fe-a52a-f2c4d1ed94b2.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
   at org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:234)
   at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:271)
   at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:375)
   … 41 more
Caused by: java.io.IOException: File does not exist: /opt/alfresco-4.2.e/alf_data/cachedcontent/2014/9/17/11/34/532345de-1e7a-4c9f-a42b-3c8ac31c6bd9.bin
   at org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:209)
   … 43 more

Outcomes