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 Günter Hipler <gu...@unibas.ch> on 2016/06/13 10:06:49 UTC

error creating the core with Solr 5.5.1

Dear list,

I changed to Solr 5.5.1 - before I made some extensive tests with 5.5.0

With 5.5.1 I get the exceptions copied at the bottom of this message.

When I changed back to version 5.5.0 (on the same host) using the same 
configurations for this core the creation of the core is possible.

Moving the 5.5.1 configuration to another host I don't get this 
exception. At least so far.

Any idea why this behavior?

Thanks a lot!

G�nter




** exeception messages**
org.apache.solr.common.SolrException
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:814)
     at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:87)
     at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:467)
     at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:458)
     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
     at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)
Caused by: java.nio.channels.OverlappingFileLockException
     at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
     at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
     at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1108)
     at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155)
     at 
org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:114)
     at 
org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
     at 
org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
     at 
org.apache.lucene.store.FilterDirectory.obtainLock(FilterDirectory.java:94)
     at org.apache.lucene.index.IndexWriter.isLocked(IndexWriter.java:4487)
     at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:522)
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:761)
     ... 10 more




java.util.concurrent.ExecutionException: 
org.apache.solr.common.SolrException: Unable to create core [sbbiblio]
     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
     at org.apache.solr.core.CoreContainer$2.run(CoreContainer.java:496)
     at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
     at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.solr.common.SolrException: Unable to create core 
[sbbiblio]
     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:828)
     at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:87)
     at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:467)
     at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:458)
     ... 5 more
Caused by: org.apache.solr.common.SolrException
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
     at org.apache.solr.core.CoreContainer.create(CoreContainer.java:814)
     ... 8 more
Caused by: java.nio.channels.OverlappingFileLockException
     at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
     at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
     at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1108)
     at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155)
     at 
org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:114)
     at 
org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
     at 
org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
     at 
org.apache.lucene.store.FilterDirectory.obtainLock(FilterDirectory.java:94)
     at org.apache.lucene.index.IndexWriter.isLocked(IndexWriter.java:4487)
     at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:522)
     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:761)
     ... 10 more


-- 
UNIVERSIT�T BASEL
Universit�tsbibliothek
G�nter Hipler
Projekt swissbib
Sch�nbeinstrasse 18-20
4056 Basel, Schweiz
Tel.: +41 61 267 31 12
Fax: +41 61 267 31 03
E-Mail guenter.hipler@unibas.ch
URL www.swissbib.org