hi ,

After rebooting all the cluster machine , we unable to start the solr .
getting error messge like in solr log file, 

We removed index directory contents solr/<collection_name>/data/index.*/ 
and restared but getting 'â Recovery failed' from one of the node.  please
help to resolve this. 

666058 [RecoveryThread] ERROR org.apache.solr.cloud.RecoveryStrategy  â
Error while trying to recover.
core=collection1:java.util.concurrent.ExecutionException:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
SolrCore 'collection1' is not available due to init failure: Index locked
for write for core collection1
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at
org.apache.solr.cloud.RecoveryStrategy.sendPrepRecoveryCmd(RecoveryStrategy.java:611)
        at
org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:370)
        at
org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:235)
Caused by:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
SolrCore 'collection1' is not available due to init failure: Index locked
for write for core collection1
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:554)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer$1.call(HttpSolrServer.java:245)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer$1.call(HttpSolrServer.java:241)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

666058 [RecoveryThread] ERROR org.apache.solr.cloud.RecoveryStrategy  â
Recovery failed - trying again... (8) core=collection1
666058 [RecoveryThread] INFO  org.apache.solr.cloud.RecoveryStrategy  â Wait
512.0 seconds before trying to recover again (9)
666066 [main-EventThread] INFO  org.apache.solr.common.cloud.ZkStateReader 
â A cluster state change: WatchedEvent state:SyncConnected
type:NodeDataChanged path:/clusterstate.json, has occurred - updating...
(live nodes size: 3)


While accessing through Web url , getting 


HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init
failure: Index locked for write for core
collection1,trace=org.apache.solr.common.SolrException: SolrCore
'collection1' is not available due to init failure: Index locked for write
for core collection1 at
org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:753) at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745) Caused by:
org.apache.solr.common.SolrException: Index locked for write for core
collection1 at org.apache.solr.core.SolrCore.<init>(SolrCore.java:858) at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:641) at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:556) at
org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261) at
org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253) at
java.util.concurrent.FutureTask.run(FutureTask.java:262) at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at
java.util.concurrent.FutureTask.run(FutureTask.java:262) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more Caused by: org.apache.lucene.store.LockObtainFailedException:
Index locked for write for core collection1 at
org.apache.solr.core.SolrCore.initIndex(SolrCore.java:503) at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:772) ... 10 more
,code=500}

We dont have any indexed data on this , please guide us, is there anything
needs to be removed to bring up this?


Thanks,
ATP




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Unable-to-start-solr-4-8-tp4142810p4143370.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to