Hi Bill, Could you take a look at the "read-only" server mode.
Following are some of the development thoughts from wiki. I hope this will give some more information. http://wiki.apache.org/hadoop/ZooKeeper/GSoCReadOnlyMode Probably you can try connecting the zookeeper shell using -r option, this is for 'can be read only' client. bin/zkCli.sh -server machineIP:clientPort -r -Rakesh -----Original Message----- From: Bill Hastings [mailto:[email protected]] Sent: 07 July 2015 14:11 To: [email protected] Subject: Re: 3 node ZK cluster So how can a client handle this situation? On Tue, Jul 7, 2015 at 1:37 AM, Ivan Kelly <[email protected]> wrote: > Connecting involves creating a session, which involves a write to the > state, so it cannot happen if a majority of nodes is down. > > -Ivan > > On Tue, Jul 7, 2015 at 10:34 AM Bill Hastings <[email protected]> > wrote: > > > I have a 3 node ZK cluster. I bring down 2 nodes. Should I be able > > to connect to the cluster via zkCli? I am assuming the cluster would > > be available for reads but my zkCli just bails out. Why? > > > > -- > > Cheers > > Bill > > > -- Cheers Bill
