Re: Updating clusterstate from the zookeeper

2013-04-21 Thread Erick Erickson
I'm pretty sure there's been some hardening of deleting nodes/collections to deal with nodes in a "bad" state, I'm pretty sure they're available in 4.3. Not guaranteeing that this would solve your problem, but it's probably worth looking at the CHANGES.txt for 4.3 to see if it's worth exploring

Re: Updating clusterstate from the zookeeper

2013-04-19 Thread Nate Fox
I've used zookeeper's cli to do this. I doubt its the right way and I have no idea if it'll work for clusterstate.json, but it seems to work for certain things. cd /opt/zookeeper/bin ./zkCli.sh -server 127.0.0.1:2183 set /configs/collection1/schema.xml "`cat /tmp/newschema.xml`" sleep 10 # give a

Re: Updating clusterstate from the zookeeper

2013-04-19 Thread Mingfeng Yang
Right. I am wondering if/how we can download a specific file from the zookeeper, modify it and then upload to rewrite it. Anyone ? Thanks, Ming On Fri, Apr 19, 2013 at 10:53 AM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > I would like to know the answer to this as well. >

Re: Updating clusterstate from the zookeeper

2013-04-19 Thread mike st. john
you can use the eclipse plugin for zookeeper. http://www.massedynamic.org/mediawiki/index.php?title=Eclipse_Plug-in_for_ZooKeeper -Msj. On Fri, Apr 19, 2013 at 1:53 PM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > I would like to know the answer to this as well. > > Mich

Re: Updating clusterstate from the zookeeper

2013-04-19 Thread Michael Della Bitta
I would like to know the answer to this as well. Michael Della Bitta Appinions 18 East 41st Street, 2nd Floor New York, NY 10017-6271 www.appinions.com Where Influence Isn’t a Game On Thu, Apr 18, 2013 at 8:15 PM, Manuel Le Normand wrote: > He

Updating clusterstate from the zookeeper

2013-04-18 Thread Manuel Le Normand
Hello, After creating a distributed collection on several different servers I sometimes get to deal with failing servers (cores appear "not available" = grey) or failing cores ("Down / unable to recover" = brown / red). In case i wish to delete this errorneous collection (through collection API) on