Hi,
I am using solr 5.5 and testing adding a new replica when a solr instance
comes up. When I run the following command I get an error. I have 1 replica
and trying to add another replica.

http://x.x.x.x:8984/solr/admin/collections?action=ADDREPLICA&collection=test2&shard=shard1&node=x.x.x.x:9001_solr

Error:
> <str name="Operation addreplica caused
> exception:">org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> At least one of the node(s) specified are not currently active, no action
> taken.</str>
> <lst name="exception">
> <str name="msg">At least one of the node(s) specified are not currently
> active, no action taken.</str>
> <int name="rspCode">400</int>
> </lst>
> <lst name="error">
> <lst name="metadata">
> <str name="error-class">org.apache.solr.common.SolrException</str>
> <str name="root-error-class">org.apache.solr.common.SolrException</str>
> </lst>
> <str name="msg">At least one of the node(s) specified are not currently
> active, no action taken.</str>
> <int name="code">400</int>
> </lst>
> </response>


But when i create a new collection with 2 replicas it works fine.
As a side note my clusterstate.json is not updating correctly. Not sure if
that is causing an issue.

 Any suggestions why the Addreplica command is not working. And is it
related to the clusterstate.json? If yes, how can i fix it?

-- 
Thanks
Jay

Reply via email to