Please outline all the steps you've done.
Did you stop tomcat then restart it? On one or more machines?

You have to have all the Solrs running that you did when you
created the collections....

Best,
Erick

On Wed, Jan 13, 2016 at 1:28 PM, 李铁峰 <ltf_1...@163.com> wrote:

>
> 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:21WARNRecoveryStrategyStopping recovery for
> zkNodeName=core_node1core=qdelcomment_shard1_replica12016年1月14日 GMT+8
> 04:43:25ERRORRecoveryStrategyError 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
>
> thank you!jasperli
>

Reply via email to