Yeah I have had to do the same due to timing issues with the zookeeper server startup times. Basically with the retry client you have to wait and poll for the server to start. The client does this for you.
Aaron On Sunday, September 14, 2014, Tim Williams <[email protected]> wrote: > The testBasicStartup is failing for me locally with a KeeperException > Connection lost. I noticed it instantiates ZooKeeper directly vs. > using ZooKeeperClient. If I change it to use our ZooKeeperClient it's > back to passing for me, but then, I wouldn't want the retry logic to > mask some other issue. Anyway, wanted to see if anyone else is > experiencing this? > > Thanks, > --tim >
