lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Kessel <isjust...@hotmail.com>
Subject OverlappingFileLockException when using <str name="replicateAfter">startup</str>
Date Fri, 15 Jan 2010 22:50:28 GMT

I have an instance of Solr that won't start since I have added the replication <str name="replicateAfter">startup</str>.
 I am using Solr 1.4 and only see this with my index that contains 200k documents with a total
size of 400MB.  Removing the replicate after startup and the instance starts without error.
 We found that we needed replicate after startup as there was no version information on the
master after restarting the instance.  Is there something special that needs to be done when
using replicate after startup?  Or is this a bug?

 

below is the solr portion of the stacktrace.

 

Thanks,

Joe

 

INFO: QuerySenderListener sending requests to Searcher@5a425eb9 main
Jan 15, 2010 5:29:46 PM org.apache.solr.common.SolrException log
SEVERE: java.nio.channels.OverlappingFileLockException
 at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(FileChannelImpl.java:1170)
 at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(FileChannelImpl.java:1072)
 at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:878)
 at java.nio.channels.FileChannel.tryLock(FileChannel.java:962)
 at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:233)
 at org.apache.lucene.store.Lock.obtain(Lock.java:73)
 at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1545)
 at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1402)
 at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:190)
 at org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:98)
 at org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:173)
 at org.apache.solr.update.DirectUpdateHandler2.forceOpenWriter(DirectUpdateHandler2.java:376)
 at org.apache.solr.handler.ReplicationHandler.inform(ReplicationHandler.java:845)
 at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:486)
 at org.apache.solr.core.SolrCore.<init>(SolrCore.java:588)
 at org.apache.solr.core.CoreContainer.create(CoreContainer.java:428)
 at org.apache.solr.core.CoreContainer.load(CoreContainer.java:278)
 at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117)
 at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
 at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/196390710/direct/01/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message