Hi, Zookeeper is a 2N+1 system. 2 nodes is the same as 1, a single failure will take the system offline. You will need to deploy at least 3 nodes to get protection from 1 recovery. 3 to 5 nodes is a typical deployment scenario.
If ZK goes down, you can expect a complete crash of hbase, which can potentially lose data due to not having HDFS-265. So you don't want that. If you dont have many nodes, running ZK 1 node on the master/namenode is probably fine. IF that node crashes, you'll be having HDFS problems anyways :-) -ryan On Tue, Nov 10, 2009 at 4:34 PM, ishwar ramani <[email protected]> wrote: > Hi, > > I am setting up a simple hbase system. I currently have a 2 node > clsuter server for > the zookeeper servers ... > > I read that zookeeper needs a simple majority to recover from failures. > So is 2 same as 1 as far as recovery goes? Does it help in load balancing. > > If 1 of 2 goes down , does it affect the hbase tables? i,e if i install a new > zoo keeper server (replace) can i recover the tables? > > thanks > ishwar >
