You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by James Webster <ja...@gmail.com> on 2015/06/10 21:10:46 UTC
SolrCloud No Active Slice
I'm having a config issue, I'm posting the error from Solrj which also
includes the cluster state JSON:
org.apache.solr.common.SolrException: No active slice servicing hash code
2ee4d125 in DocCollection(rfp365)={
"shards":{"shard1":{
"range":"00000000-ffffffff",
"state":"active",
"replicas":{
"core_node1":{
"state":"active",
"core":"rfp365_shard1_replica1",
"node_name":"172.31.58.150:8983_solr",
"base_url":"http://172.31.58.150:8983/solr"},
"core_node2":{
"state":"active",
"core":"rfp365_shard1_replica2",
"node_name":"172.31.60.137:8983_solr",
"base_url":"http://172.31.60.137:8983/solr"},
"core_node3":{
"state":"active",
"core":"rfp365_shard1_replica3",
"node_name":"172.31.58.65:8983_solr",
"base_url":"http://172.31.58.65:8983/solr",
"leader":"true"}}}},
"replicationFactor":"3",
"router":{"name":"compositeId"},
"maxShardsPerNode":"1",
"autoAddReplicas":"true"}
at
org.apache.solr.common.cloud.HashBasedRouter.hashToSlice(HashBasedRouter.java:65)
at
org.apache.solr.common.cloud.HashBasedRouter.getTargetSlice(HashBasedRouter.java:39)
at
org.apache.solr.client.solrj.request.UpdateRequest.getRoutes(UpdateRequest.java:206)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:581)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:948)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:839)
... 6 more
All nodes are active in the solr admin, not sure where to go from here.
Thanks in advance!
James