lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Kessel <>
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.





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 java.nio.channels.FileChannel.tryLock(
 at org.apache.lucene.index.IndexWriter.init(
 at org.apache.lucene.index.IndexWriter.<init>(
 at org.apache.solr.update.SolrIndexWriter.<init>(
 at org.apache.solr.update.UpdateHandler.createMainIndexWriter(
 at org.apache.solr.update.DirectUpdateHandler2.openWriter(
 at org.apache.solr.update.DirectUpdateHandler2.forceOpenWriter(
 at org.apache.solr.handler.ReplicationHandler.inform(
 at org.apache.solr.core.SolrResourceLoader.inform(
 at org.apache.solr.core.SolrCore.<init>(
 at org.apache.solr.core.CoreContainer.create(
 at org.apache.solr.core.CoreContainer.load(
 at org.apache.solr.core.CoreContainer$Initializer.initialize(
 at org.apache.solr.servlet.SolrDispatchFilter.init(
 at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
Hotmail: Powerful Free email with security by Microsoft.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message