You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by stockii <st...@googlemail.com> on 2012/06/26 16:35:30 UTC

FileNotFoundException during commit. concurrences process?!

Hello again.

this is my Exception.
with SolrVersion: 4.0.0.2012.04.26.09.00.41

SEVERE: Exception while solr commit.
java.io.FileNotFoundException: _8l.cfs
	at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:266)
	at org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:216)
	at
org.apache.lucene.index.TieredMergePolicy.size(TieredMergePolicy.java:640)
	at
org.apache.lucene.index.TieredMergePolicy.useCompoundFile(TieredMergePolicy.java:616)
	at
org.apache.lucene.index.IndexWriter.useCompoundFile(IndexWriter.java:2078)
	at
org.apache.lucene.index.IndexWriter.prepareFlushedSegment(IndexWriter.java:1968)
	at
org.apache.lucene.index.DocumentsWriter.publishFlushedSegment(DocumentsWriter.java:497)
	at
org.apache.lucene.index.DocumentsWriter.finishFlush(DocumentsWriter.java:477)
	at
org.apache.lucene.index.DocumentsWriterFlushQueue$SegmentFlushTicket.publish(DocumentsWriterFlushQueue.java:201)
	at
org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge(DocumentsWriterFlushQueue.java:119)
	at
org.apache.lucene.index.DocumentsWriterFlushQueue.tryPurge(DocumentsWriterFlushQueue.java:148)
	at
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:438)
	at
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:553)
	at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:2416)
	at
org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2548)
	at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2530)
	at
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:414)
	at
org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:82)
	at
org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
	at
org.apache.solr.update.processor.DistributedUpdateProcessor.processCommit(DistributedUpdateProcessor.java:783)
	at
org.apache.solr.update.processor.LogUpdateProcessor.processCommit(LogUpdateProcessorFactory.java:154)
	at
org.apache.solr.handler.dataimport.SolrWriter.commit(SolrWriter.java:107)
	at
org.apache.solr.handler.dataimport.DocBuilder.finish(DocBuilder.java:286)
	at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:246)
	at
org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:404)
	at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:443)
	at
org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:422)
Jun 26, 2012 4:28:05 PM
org.apache.solr.handler.dataimport.SimplePropertiesWriter
readIndexerProperties


My Architecture is.
2 Solr Instances.
One Instance update a index ("updater", and another Instance is only for
searching. ("searcher")
every minute is coming an update.


-> "updater" runs without problems
-> after commit of "updater" all changes are available in the
updater-instance
-> NOW is commin my "searcher" and start an commit=true on each of his core
to refresh the changes.

NOW i get SOMETIMES my Exception =(  
Anybody a idea ?

here is a part of my solrconfig.xml (updater AND searcher)
->
<indexConfig>
      <indexConfig>
    <useCompoundFile>true</useCompoundFile>
    <ramBufferSizeMB>128</ramBufferSizeMB>
    <mergeFactor>2</mergeFactor>
    
    
    <lockType>single</lockType> 
    <writeLockTimeout>1000</writeLockTimeout>
    <commitLockTimeout>10000</commitLockTimeout>
	<unlockOnStartup>false</unlockOnStartup>
    
    <reopenReaders>true</reopenReaders>
    <infoStream file="INFOSTREAM.txt">false</infoStream> 
    
    <deletionPolicy class="solr.SolrDeletionPolicy">
      
      <str name="maxCommitsToKeep">1</str>
      
      <str name="maxOptimizedCommitsToKeep">0</str>
    </deletionPolicy>
  </indexConfig>

  
  <updateHandler class="solr.DirectUpdateHandler2" />
</indexConfig>



--
View this message in context: http://lucene.472066.n3.nabble.com/FileNotFoundException-during-commit-concurrences-process-tp3991384.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: FileNotFoundException during commit. concurrences process?!

Posted by Karthik Muthuswami <mu...@apple.com>.
On Jun 26, 2012, at 7:35 AM, stockii wrote:

> Hello again.
> 
> this is my Exception.
> with SolrVersion: 4.0.0.2012.04.26.09.00.41
> 
> SEVERE: Exception while solr commit.
> java.io.FileNotFoundException: _8l.cfs
> 	at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:266)
> 	at org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:216)
> 	at
> org.apache.lucene.index.TieredMergePolicy.size(TieredMergePolicy.java:640)
> 	at
> org.apache.lucene.index.TieredMergePolicy.useCompoundFile(TieredMergePolicy.java:616)
> 	at
> org.apache.lucene.index.IndexWriter.useCompoundFile(IndexWriter.java:2078)
> 	at
> org.apache.lucene.index.IndexWriter.prepareFlushedSegment(IndexWriter.java:1968)
> 	at
> org.apache.lucene.index.DocumentsWriter.publishFlushedSegment(DocumentsWriter.java:497)
> 	at
> org.apache.lucene.index.DocumentsWriter.finishFlush(DocumentsWriter.java:477)
> 	at
> org.apache.lucene.index.DocumentsWriterFlushQueue$SegmentFlushTicket.publish(DocumentsWriterFlushQueue.java:201)
> 	at
> org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge(DocumentsWriterFlushQueue.java:119)
> 	at
> org.apache.lucene.index.DocumentsWriterFlushQueue.tryPurge(DocumentsWriterFlushQueue.java:148)
> 	at
> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:438)
> 	at
> org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:553)
> 	at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:2416)
> 	at
> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2548)
> 	at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2530)
> 	at
> org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:414)
> 	at
> org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:82)
> 	at
> org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
> 	at
> org.apache.solr.update.processor.DistributedUpdateProcessor.processCommit(DistributedUpdateProcessor.java:783)
> 	at
> org.apache.solr.update.processor.LogUpdateProcessor.processCommit(LogUpdateProcessorFactory.java:154)
> 	at
> org.apache.solr.handler.dataimport.SolrWriter.commit(SolrWriter.java:107)
> 	at
> org.apache.solr.handler.dataimport.DocBuilder.finish(DocBuilder.java:286)
> 	at
> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:246)
> 	at
> org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:404)
> 	at
> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:443)
> 	at
> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:422)
> Jun 26, 2012 4:28:05 PM
> org.apache.solr.handler.dataimport.SimplePropertiesWriter
> readIndexerProperties
> 
> 
> My Architecture is.
> 2 Solr Instances.
> One Instance update a index ("updater", and another Instance is only for
> searching. ("searcher")
> every minute is coming an update.
> 
> 
> -> "updater" runs without problems
> -> after commit of "updater" all changes are available in the
> updater-instance
> -> NOW is commin my "searcher" and start an commit=true on each of his core
> to refresh the changes.
> 
> NOW i get SOMETIMES my Exception =(  
> Anybody a idea ?
> 
> here is a part of my solrconfig.xml (updater AND searcher)
> ->
> <indexConfig>
>      <indexConfig>
>    <useCompoundFile>true</useCompoundFile>
>    <ramBufferSizeMB>128</ramBufferSizeMB>
>    <mergeFactor>2</mergeFactor>
> 
> 
>    <lockType>single</lockType> 
>    <writeLockTimeout>1000</writeLockTimeout>
>    <commitLockTimeout>10000</commitLockTimeout>
> 	<unlockOnStartup>false</unlockOnStartup>
> 
>    <reopenReaders>true</reopenReaders>
>    <infoStream file="INFOSTREAM.txt">false</infoStream> 
> 
>    <deletionPolicy class="solr.SolrDeletionPolicy">
> 
>      <str name="maxCommitsToKeep">1</str>
> 
>      <str name="maxOptimizedCommitsToKeep">0</str>
>    </deletionPolicy>
>  </indexConfig>
> 
> 
>  <updateHandler class="solr.DirectUpdateHandler2" />
> </indexConfig>
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/FileNotFoundException-during-commit-concurrences-process-tp3991384.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Regards,
Karthik


Re: FileNotFoundException during commit. concurrences process?!

Posted by stockii <st...@googlemail.com>.
In my older version of solr this was possible, but it seems not possible in
this new =(

--
View this message in context: http://lucene.472066.n3.nabble.com/FileNotFoundException-during-commit-concurrences-process-tp3991384p3991388.html
Sent from the Solr - User mailing list archive at Nabble.com.