SolrException: Error opening new searcher

Forum for developers

SolrException: Error opening new searcher

Beitragvon flegno » Sa Sep 06, 2014 10:50 am

SolrException: Error opening new searcher
Code: Alles auswählen
T:\0_Tools\YaCy\yacy_en>startYACY_debug.bat
started 10:29:48,05
Generated classpath:lib/yacycore.jar;htroot
JRE Parameters:-Xms90m -Xmx600m -XX:-UseGCOverheadLimit -Djava.net.preferIPv4Stack=true -Djava.awt.h
eadless=true -Dfile.encoding=UTF-8
Priority:/BELOWNORMAL
****************** YaCy Web Crawler/Indexer & Search Engine ******************
**** (C) by Michael Peter Christen, usage granted under the GPL Version 2  ****
****   USE AT YOUR OWN RISK! Project home and releases: http://yacy.net/   ****
**  LOG of       YaCy: DATA/LOG/yacy00.log (and yacy<xx>.log)              **
**  STOP         YaCy: execute stopYACY.bat and wait some seconds            **
**  GET HELP for YaCy: see http://www.yacy-websearch.net/wiki and forum.yacy.de     **
*******************************************************************************
>> YaCy started as daemon process. Administration at http://localhost:8099 <<
[ YaCy v1.72, build 20140506 by Michael Christen / http://www.yacy.net ]
-------------------------------------------------------------------------------
STARTUP: Trying to load logging configuration from file T:\0_Tools\YaCy\yacy_en\DATA\LOG\yacy.logging

S 2014/09/06 10:30:01 STARTUP YaCy version: 1.72/9000
S 2014/09/06 10:30:13 STARTUP Java version: 1.7.0_67
S 2014/09/06 10:30:13 STARTUP Operation system: Windows 7
S 2014/09/06 10:30:13 STARTUP Application root-path: T:\0_Tools\YaCy\yacy_en
S 2014/09/06 10:30:13 STARTUP Data root-path: T:\0_Tools\YaCy\yacy_en
S 2014/09/06 10:30:13 STARTUP Time zone: UTC+0200; UTC+0000 is 1409992201246
S 2014/09/06 10:30:13 STARTUP Maximum file system path length: 255
S 2014/09/06 10:30:14 BusyThread thread 'BusyThread net.yacy.utils.UPnP.addPortMapping' deployed, starting job.
S 2014/09/06 10:32:14 SWITCHBOARD Index Primary Path: T:\0_Tools\YaCy\yacy_en\DATA\INDEX
S 2014/09/06 10:32:14 SWITCHBOARD Index Archive Path: T:\0_Tools\YaCy\yacy_en\DATA\ARCHIVE
S 2014/09/06 10:32:14 SWITCHBOARD Lists Path:     T:\0_Tools\YaCy\yacy_en\DATA\LISTS
S 2014/09/06 10:32:14 SWITCHBOARD HTDOCS Path:    T:\0_Tools\YaCy\yacy_en\DATA\HTDOCS
D 2014/09/06 10:32:14 net.yacy.upnp.Discovery Sending discovery message on 239.255.255.250:1900 multicast address form ip 192.168.2.104:
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 3
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1


D 2014/09/06 10:32:14 net.yacy.upnp.Discovery Sending discovery message on 239.255.255.250:1900 multicast address form ip 192.168.56.1:
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 3
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1


S 2014/09/06 10:32:15 SWITCHBOARD Work Path:    T:\0_Tools\YaCy\yacy_en\DATA\WORK
S 2014/09/06 10:32:15 SWITCHBOARD Dictionaries Path:T:\0_Tools\YaCy\yacy_en\DATA\DICTIONARIES
S 2014/09/06 10:32:15 SWITCHBOARD initializing libraries
S 2014/09/06 10:32:18 SWITCHBOARD Loading sessionid file defaults/sessionid.names
I 2014/09/06 10:32:19 UPNP no device found
I 2014/09/06 10:32:19 UPNP listening for device
S 2014/09/06 10:32:20 BusyThread thread 'BusyThread net.yacy.utils.UPnP.addPortMapping' terminated.
I 2014/09/06 10:32:23 HeapReader generating index for T:\0_Tools\YaCy\yacy_en\DATA\WORK\api.bheap, 0 MB. Please wait.
I 2014/09/06 10:32:23 HeapReader finished index generation for T:\0_Tools\YaCy\yacy_en\DATA\WORK\api.bheap, 2 entries, 0 gaps.
I 2014/09/06 10:32:23 Heap initializing heap T:\0_Tools\YaCy\yacy_en\DATA\WORK\api.bheap
I 2014/09/06 10:32:25 HeapReader generating index for T:\0_Tools\YaCy\yacy_en\DATA\WORK\pkcounter.bheap, 0 MB. Please wait.
I 2014/09/06 10:32:25 HeapReader finished index generation for T:\0_Tools\YaCy\yacy_en\DATA\WORK\pkcounter.bheap, 1 entries, 0 gaps.
I 2014/09/06 10:32:25 Heap initializing heap T:\0_Tools\YaCy\yacy_en\DATA\WORK\pkcounter.bheap
S 2014/09/06 10:35:10 SWITCHBOARD Starting Indexing Management
I 2014/09/06 10:35:42 Word hashCache.size = 20000
I 2014/09/06 10:35:42 SWITCHBOARD Initializing Segment 'T:\0_Tools\YaCy\yacy_en\DATA\INDEX\intranet\SEGMENTS.
D 2014/09/06 10:39:17 initializeCoreConf overwrite T:\0_Tools\YaCy\yacy_en\DATA\INDEX\intranet\SEGMENTS\solr_47\collection1\conf\solrcore.properties with T:\0_Tools\YaCy\yacy_en\defaults\solr\solrcore.x86.properties
D 2014/09/06 10:42:34 initializeCoreConf overwrite T:\0_Tools\YaCy\yacy_en\DATA\INDEX\intranet\SEGMENTS\solr_47\webgraph\conf\solrcore.properties with T:\0_Tools\YaCy\yacy_en\defaults\solr\solrcore.x86.properties
I 2014/09/06 10:42:42 org.apache.solr.core.ConfigSolr Loading container configuration from T:\0_Tools\YaCy\yacy_en\defaults\solr\solr.xml
I 2014/09/06 10:42:50 org.apache.solr.logging.LogWatcher SLF4J impl is org.slf4j.impl.JDK14LoggerFactory
I 2014/09/06 10:42:50 org.apache.solr.logging.LogWatcher Registering Log Listener [JUL (org.slf4j.impl.JDK14LoggerFactory)]
E 2014/09/06 10:45:42 org.apache.solr.core.CoreContainer Unable to create core: collection1
org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:844)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:630)
   at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:258)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:250)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1521)
   at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1633)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:827)
   ... 11 more
Caused by: java.nio.channels.OverlappingFileLockException
   at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
   at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
   at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
   at java.nio.channels.FileChannel.tryLock(Unknown Source)
   at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:217)
   at org.apache.lucene.store.Lock.obtain(Lock.java:77)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:707)
   at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:77)
   at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:64)
   at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:267)
   at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:110)
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1484)
   ... 13 more
E 2014/09/06 10:45:42 org.apache.solr.core.CoreContainer null:org.apache.solr.common.SolrException: Unable to create core: collection1
   at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:989)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:606)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:258)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:250)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:844)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:630)
   at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
   ... 8 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1521)
   at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1633)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:827)
   ... 11 more
Caused by: java.nio.channels.OverlappingFileLockException
   at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
   at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
   at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
   at java.nio.channels.FileChannel.tryLock(Unknown Source)
   at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:217)
   at org.apache.lucene.store.Lock.obtain(Lock.java:77)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:707)
   at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:77)
   at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:64)
   at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:267)
   at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:110)
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1484)
   ... 13 more

E 2014/09/06 10:45:44 org.apache.solr.update.SolrIndexWriter SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!
E 2014/09/06 10:45:44 org.apache.solr.update.SolrIndexWriter Error closing IndexWriter, trying rollback
java.lang.NullPointerException
   at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:982)
   at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:932)
   at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:894)
   at org.apache.solr.update.SolrIndexWriter.close(SolrIndexWriter.java:132)
   at org.apache.solr.update.SolrIndexWriter.finalize(SolrIndexWriter.java:188)
   at java.lang.System$2.invokeFinalize(Unknown Source)
   at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
   at java.lang.ref.Finalizer.access$100(Unknown Source)
   at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
I 2014/09/06 10:46:05 SolrEmbeddedInstance detected default solr core: collection1
E 2014/09/06 10:46:05 STARTUP YaCy cannot start: SolrCore 'collection1' is not available due to init failure: Error opening new searcher
org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Error opening new searcher
   at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:827)
   at net.yacy.cora.federate.solr.instance.EmbeddedInstance.<init>(EmbeddedInstance.java:89)
   at net.yacy.search.index.Fulltext.connectLocalSolr(Fulltext.java:132)
   at net.yacy.search.Switchboard.<init>(Switchboard.java:503)
   at net.yacy.yacy.startup(yacy.java:192)
   at net.yacy.yacy.main(yacy.java:684)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:844)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:630)
   at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:258)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:250)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1521)
   at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1633)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:827)
   ... 11 more
Caused by: java.nio.channels.OverlappingFileLockException
   at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
   at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
   at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
   at java.nio.channels.FileChannel.tryLock(Unknown Source)
   at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:217)
   at org.apache.lucene.store.Lock.obtain(Lock.java:77)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:707)
   at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:77)
   at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:64)
   at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:267)
   at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:110)
   at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1484)
   ... 13 more

Zusatzinfos:
  • keine Ahnung ob dies eine Fehlerursache sein könnte - T:/-Laufwerk ist ein Online-Speicher, wo die Reaktionszeiten u.U. nicht die beste sind
  • Vlt. sind manche Treffer hier SolrException: Error opening new searcher hilfreich.
flegno
 
Beiträge: 232
Registriert: So Aug 17, 2014 4:23 pm

Re: SolrException: Error opening new searcher

Beitragvon Orbiter » Di Sep 16, 2014 2:06 pm

Wenn Solr hier mäkelt wegen einem File Lock, dann läuft da noch ein anderes YaCy das auf die gleichen Daten zugreift. Hast du da ein DATA-Verzeichnis oder das Index-Verzeichnis geshared für zwei YaCy, .z.B. über Links? Das scheint mir die einzige Erklärung zu sein. Falls ja: bitte nicht erst basteln und sich dann wundern dass es nicht geht.
Orbiter
 
Beiträge: 5792
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main


Zurück zu YaCy Coding & Architecture

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron