Re: Solr cloud clusterstate.json update query ?

2015-05-06 Thread Erick Erickson
Gopal: Did you see my previous answer? Best, Erick On Tue, May 5, 2015 at 9:42 PM, Gopal Jee zgo...@gmail.com wrote: about 2 , live_nodes under zookeeper is ephemeral node (please see zookeeper ephemeral node). So, once connection from solr zkClient to zookeeper is lost, these nodes will

Solr cloud clusterstate.json update query ?

2015-05-05 Thread Sai Sreenivas K
Could you clarify on the following questions, 1. Is there a way to avoid all the nodes simultaneously getting into recovery state when a bulk indexing happens ? Is there an api to disable replication on one node for a while ? 2. We recently changed the host name on nodes in solr.xml. But the old

Re: Solr cloud clusterstate.json update query ?

2015-05-05 Thread Erick Erickson
about 1. This shouldn't be happening, so I wouldn't concentrate there first. The most common reason is that you have a short Zookeeper timeout and the replicas go into a stop-the-world garbage collection that exceeds the timeout. So the first thing to do is to see if that's happening. Here are a

Re: Solr cloud clusterstate.json update query ?

2015-05-05 Thread Gopal Jee
about 2 , live_nodes under zookeeper is ephemeral node (please see zookeeper ephemeral node). So, once connection from solr zkClient to zookeeper is lost, these nodes will disappear automatically. AFAIK, clusterstate.json is updated by overseer based on messages published to a queue in zookeeper