Re: Changing configuration
We don't have dynamic configuration yet, but it is on our todo list: http://wiki.apache.org/hadoop/ZooKeeper/ClusterMembershipso for now I believe you would have to reconfigure manually and restart the cluster. For Zab, you should be looking at org.apache.zookeeper.server.quorum.Cheers,-FlavioOn Oct 7, 2010, at 6:49 AM, Avinash Lakshman wrote:Suppose I have a 3 node ZK cluster composed of machines A, B and C. Now forwhatever reason I lose C forever and the machine needs to be replaced. Howdo I handle this situation? Update the config with D in place of C andrestart the cluster? Also if I am interested in read just the ZAB portionswhich packages should I be looking at?CheersA flaviojunqueiraresearch scientistf...@yahoo-inc.comdirect +34 93-183-8828avinguda diagonal 177, 8th floor, barcelona, 08018, esphone (408) 349 3300fax (408) 349 3301
Re: Changing configuration
You probably want to do a rolling restart, this is preferable over restart the cluster as the service will not go down. http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A6 http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A6Patrick On Wed, Oct 6, 2010 at 9:49 PM, Avinash Lakshman avinash.laksh...@gmail.com wrote: Suppose I have a 3 node ZK cluster composed of machines A, B and C. Now for whatever reason I lose C forever and the machine needs to be replaced. How do I handle this situation? Update the config with D in place of C and restart the cluster? Also if I am interested in read just the ZAB portions which packages should I be looking at? Cheers A
Re: Changing configuration
Restart all clients too. .laz Patrick Hunt (ph...@apache.org) said: You probably want to do a rolling restart, this is preferable over restart the cluster as the service will not go down. http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A6 http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A6Patrick On Wed, Oct 6, 2010 at 9:49 PM, Avinash Lakshman avinash.laksh...@gmail.com wrote: Suppose I have a 3 node ZK cluster composed of machines A, B and C. Now for whatever reason I lose C forever and the machine needs to be replaced. How do I handle this situation? Update the config with D in place of C and restart the cluster? Also if I am interested in read just the ZAB portions which packages should I be looking at? Cheers A