lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Balogh <...@marketmuse.com>
Subject How to assign a hash range via zookeeper?
Date Thu, 04 Feb 2016 20:37:54 GMT
One of our shards went down.  We brought it back up but it doesn't have a
hash range:

<lst name="shard1">
<null name="range"/>
<str name="state">active</str>
<null name="parent"/>
<lst name="replicas">
<lst name="core_node1">
<str name="core">marketmuse_shard1_replica1</str>
<str name="base_url">http://172.30.0.254:8080/solr</str>
<str name="node_name">172.30.0.254:8080_solr</str>
<str name="state">active</str>
</lst>
<lst name="core_node2">
<str name="state">active</str>
<str name="core">marketmuse_shard1_replica2</str>
<str name="node_name">172.30.0.89:8080_solr</str>
<str name="base_url">http://172.30.0.89:8080/solr</str>
<str name="leader">true</str>
</lst>
</lst>
</lst>


This results in the error message:

org.apache.solr.common.SolrException: No active slice servicing hash code
a55b940e in DocCollection


I've been reading guides online and they suggest updating the Zookeeper
config.

Specifically, they suggest getting clusterstate.json.  But I've tried that
and when I get that file, I only get an empty file {}

Is there another way to ask Zookeeper to cover the missing hash range?

Thanks,
Aki

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message