Patrick Hunt ph...@apache.org writes:
See the quorum tests for examples of how to do this, in particular
take a look at org.apache.zookeeper.test.QuorumBase which is how we
start/stop quorum servers in some of our tests. Our tests can run in
fork once mode in junit. Meaning that all the tests
Bjorn Borud bbo...@gmail.com writes:
a good reason to want to embed ZooKeeper is for unit tests. I had a
look at the tests that came with ZooKeeper and I am not overly fond of
having to embed a ZooKeeper ensemble by fiddling with the implementation
classes. also, I think it is a bad idea to
Hi,
Well looks like FastLeaderElection.shutdown() is not invoked. This has been
in 3.3.0. Should have checked on that earlier :-)
On Thu, Apr 29, 2010 at 10:13 AM, Vishal K vishalm...@gmail.com wrote:
Hi Ted,
We want the application that embeds the ZK server to be running even after
the ZK
We do set that Chad but it doesn't seem to help on some systems (especially
bsd)...
Thanks
mahadev
On 4/29/10 11:22 AM, Chad Harrington chad.harring...@gmail.com wrote:
On Thu, Apr 29, 2010 at 8:49 AM, Patrick Hunt ph...@apache.org wrote:
This is not foolproof however. We found that in
On 04/29/2010 11:22 AM, Chad Harrington wrote:
On Thu, Apr 29, 2010 at 8:49 AM, Patrick Huntph...@apache.org wrote:
This is not foolproof however. We found that in general this would work,
however there were some infrequent cases where a restarted server would fail
to initialize due to the
Hi Mahadev, Ted,
Thanks for the feedback.
On Fri, Apr 23, 2010 at 3:02 PM, Ted Dunning ted.dunn...@gmail.com wrote:
It is, of course, your decision, but a key coordination function is to
determine whether your application is up or not. That is very hard to do
if
Zookeeper is inside your
Hi All
I'm very new to ZK, and am looking at embeding ZK into an app that needs
cluster management - and the objective is to use ZK to notify
application cluster control operations (e.g. shutdown etc) across nodes.
I came across this post [1] from the user list by Ted Dunning from some
months
Hi,
Good question. We are planning to do something similar as well and it will
great to know if there are any issues with embedding ZK server into an app.
We simply use QourumPeerMain and QourumPeer from our app to start/stop the
ZK server. Is this not a good way to do it?
On Fri, Apr 23, 2010
Hi Vishal and Ashanka,
I think Ted and Pat had somewhat comentted on this before.
Reiterating these comments below. If you are ok with these points I see no
concern in ZooKeeper as an embedded application.
Also, as Pat mentioned earlier there are some cases where the server code
will
Hi Mahadev
I think Ted and Pat had somewhat comentted on this before.
Reiterating these comments below. If you are ok with these points I see no
concern in ZooKeeper as an embedded application...
Thanks, I missed this on the archives, and it helps!..
I guess if we still decide to embed,
That's true!
Thanks
mahadev
On 4/23/10 11:41 AM, Asankha C. Perera asan...@apache.org wrote:
Hi Mahadev
I think Ted and Pat had somewhat comentted on this before.
Reiterating these comments below. If you are ok with these points I see no
concern in ZooKeeper as an embedded
It is, of course, your decision, but a key coordination function is to
determine whether your application is up or not. That is very hard to do if
Zookeeper is inside your application.
On Fri, Apr 23, 2010 at 10:28 AM, Asankha C. Perera asan...@apache.orgwrote:
However, I believe that both the
12 matches
Mail list logo