lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李铁峰 <ltf_1...@163.com>
Subject solrcould is killed,restart,colletion don't work
Date Wed, 13 Jan 2016 21:28:02 GMT

i’m a solr user, i use solrcloud 4.9.1 ,it running in tomcat , when tomcat is killd ,  two
collectiones has error, solr admin picture is:



each collection only have one shard . how can i repair it, let collection work, i do not want
to restart tomcat ,and I can accept some data loss.



error log:

2016年1月14日 GMT+8 04:43:21
 <>	WARN
 <>	RecoveryStrategy
 <>	Stopping recovery for zkNodeName=core_node1core=qdelcomment_shard1_replica1
 <>
2016年1月14日 GMT+8 04:43:25
 <>	ERROR
 <>	RecoveryStrategy
 <>	Error while trying to recover. core=qdelcomment_shard1_replica1:org.apache.solr.common.SolrException:
No registered leader was found after waiting for 4000ms ,​ collection: qdelcomment slice:
shard1
 <>
Error while trying to recover. core=qdelcomment_shard1_replica1:org.apache.solr.common.SolrException:
No registered leader was found after waiting for 4000ms , collection: qdelcomment slice: shard1
	at org.apache.solr.common.cloud.ZkStateReader.getLeaderRetry(ZkStateReader.java:545)
	at org.apache.solr.common.cloud.ZkStateReader.getLeaderRetry(ZkStateReader.java:528)
	at org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:332)
	at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:235)

solr admin query error
{
  "responseHeader": {
    "status": 503,
    "QTime": 2,
    "params": {
      "indent": "true",
      "q": "*:*",
      "_": "1452720352906",
      "wt": "json"
    }
  },
  "error": {
    "msg": "no servers hosting shard: ",
    "code": 503
  }
}

solr:
4.9.1 1625909 - mike - 2014-09-18 04:09:04
-Dsolr.hdfs.home=hdfs://cdh530cluster/solre <hdfs://cdh530cluster/solre>


thank you!
jasperli
Mime
View raw message