Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-18 Thread Luis Carlos Guerrero Covo
Hey andre, that isn't a possibility for us right now since we are terminating nodes using aws autoscaling policies. We'll have to either change our policies so that we can have some kind of graceful shutdown where we get the possibility to unload cores or update zookeeper's cluster state every once

Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-17 Thread Andre Bois-Crettez
Indeed we are using UNLOAD of cores before shutting down extra replica nodes, works well but already said, it needs such nodes to be up. Once UNLOADed it is possible to stop them, works well for our use case. But if nodes are already down, maybe it is possible to manually create and upload a clea

Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-16 Thread Marcin Rzewucki
Unloading a core is the known way to unregister a solr node in zookeeper (and not use for further querying). It works for me. If you didn't do that like this, unused nodes may remain in the cluster state and Solr may try to use them without a success. I'd suggest to start some machine with the old

Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-16 Thread Luis Carlos Guerrero Covo
Thanks, I was actually asking about deleting nodes from the cluster state not cores, unless you can unload cores specific to an already offline node from zookeeper. On Tue, Jul 16, 2013 at 1:55 AM, Marcin Rzewucki wrote: > Hi, > > You should use CoreAdmin API (or Solr Admin page) and UNLOAD unne

Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-15 Thread Marcin Rzewucki
Hi, You should use CoreAdmin API (or Solr Admin page) and UNLOAD unneeded cores. This will unregister them from the zookeeper (cluster state will be updated), so they won't be used for querying any longer. Solrcloud restart is not needed in this case. Regards. On 16 July 2013 06:18, Ali, Saqib

Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-15 Thread Ali, Saqib
Hello Luis, I don't think that is possible. If you delete clusterstate.json from zookeeper, you will need to restart the nodes.. I could be very wrong about this Saqib On Mon, Jul 15, 2013 at 8:50 PM, Luis Carlos Guerrero Covo < lcguerreroc...@gmail.com> wrote: > I know that you can cl

Re: Clearing old nodes from zookeper without restarting solrcloud cluster

2013-07-15 Thread Luis Carlos Guerrero Covo
I know that you can clear zookeeper's data directoy using the CLI with the clear command, I just want to know if its possible to update the cluster's state without wiping everything out. Anyone have any ideas/suggestions? On Mon, Jul 15, 2013 at 11:21 AM, Luis Carlos Guerrero Covo < lcguerreroc..