ed by the previous instance of the program because it crashed. it's
> pretty tricky to use.
Understood. I agree this is a pretty unique case, and a very hard one
to get right by itself (how to get the app in the proper state to
receive watches after the whole application has crashed?).
--
ments on the overall context still very welcome.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
zhandle
and try to reconnect in case it returns true. Maybe I misinterpreted
it, and it actually means the *session* is dead, rather than just the
connection?
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
to track down in practice.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
ou agreed with my new
reasoning upfront.
> in your scenario can you explain step 4)? what are you closing?
I'm closing the old ZooKeeper handler (zh), after a new one was
established with the same client id.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
of
standard ZK. For instance:
public boolean exists(String path, boolean watch) throws
KeeperException, InterruptedException {
return _zk.exists(path, watch) != null;
}
So I'm curious about why, in the context of the questioning made, you
feel like it's significant.
--
xisting practices will be welcome.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
onnection A should be disposed, but how to do this without risking
killing the healthy connection on B (imagine that the network comes
back between (3) and (4)).
Anyone has thoughts on that?
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
nothing if compared to the
additional logic which these realistic use cases require to deal with
intermediate states.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
d in knowing about
them, but will need slightly more precise information.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
emerality to maintain a correct view for us.
Interesting indeed.
(...)
> This doesn't eliminate all desire for transactions, but it gets rid of LOTs
> of them.
Thanks for these ideas.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
g daemon to heal a half-created state, and also filter
user-oriented feedback to avoid showing nodes which may be dead. All
of that would be avoided if there was a way to have multi-step atomic
actions. I'm almost pondering about a journal-like system on top of
the basic API, to avoid having to
al with
timeouts and whatnot" on every client?
I'm about to start writing another layer on top of Zookeeper's API, so
it'd be great to have some additional insight into this issue.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter
t's coming along.
Oh, that's great news Patrick. Thanks for pushing this forward!
Do you think the client side might see some attention soon as well?
Or, in other words, do you plan to shift over to the client side once
you're done with the server?
--
Gustavo Niemeyer
http://niemey
27;s interested in writing it. :-)
I'm also quite interested in the outcome of this, since we'll need the
feature pretty soon.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/identi.ca
http://niemeyer.net/twitter
than an
intentional omission.
I apologize for the confusion.
--
Gustavo Niemeyer
http://niemeyer.net
et me know if these work or do not work for you.
--
Gustavo Niemeyer
http://niemeyer.net
ut
this and hopefully we'll have it packaged and available soon.
--
Gustavo Niemeyer
http://niemeyer.net
's doing the favor of
packaging it for us.
--
Gustavo Niemeyer
http://niemeyer.net
Hello there,
Is the dependency on JBoss a hard one, or is there a way to not use
it? Perhaps an alternative package providing the same interface?
I'm trying to get it included in Ubuntu and being asked about this.
Thanks in advance,
--
Gustavo Niemeyer
http://niemeyer.net
one of the
pieces in some kind of platform.
Thanks for these details.
--
Gustavo Niemeyer
http://niemeyer.net
ks in advance,
--
Gustavo Niemeyer
http://niemeyer.net
t to start up again in an empty state.
> The observed failure modes for ZK in EC2 were completely dominated by our
> (my) own failings (such as letting too much data accumulate).
Details always take a few iterations to get really right.
Thanks for this data Ted.
--
Gustavo Niemeyer
http://niemeyer.net
you have any kind of performance data about how much load ZK can
take under this environment?
Have you tried to put the log and snapshot files under EBS?
--
Gustavo Niemeyer
http://niemeyer.net
use in the wild, the
least manual interaction and procedural maintenance the best. Having
ZooKeeper clients learning about the server list dynamically will help
a lot in this scenario too.
--
Gustavo Niemeyer
http://niemeyer.net
might have an application for this pretty soon.
--
Gustavo Niemeyer
http://niemeyer.net
n the same machine), thus might require
additional tighting up, but if you don't trust the server itself, that
may be tricky. Please note that ZooKeeper isn't meant to be used just
as a distributed filesystem for storage, but that's probably not your
intention anyway.
--
Gustavo Niemeyer
http://niemeyer.net
shutting the node down won't help
the rest of the system recovering.
--
Gustavo Niemeyer
http://niemeyer.net
d so
> this is a major problem. Also, if the HMaster node gets the event that an
Out of curiosity, what do you intend to do when you get the exception?
I mean, if you didn't get the expiration exception it means that the
reconnection isn't working in any case, so how do you pl
tional involvement to get the APIs right.
--
Gustavo Niemeyer
http://niemeyer.net
ell. I'd still prefer to have
ZooKeeper itself protecting against unauthorized access to its service
so that the deployment would be simpler, but the stunnel solution
should give me a good path without having to invest in patching
ZooKeeper for a while.
Thanks again for the sugg
But this is definitely a viable
alternative otherwise. It also brings encryption as a plus.
Thanks for these ideas,
--
Gustavo Niemeyer
http://niemeyer.net
vent it from touching any node at all using
ACLs?
--
Gustavo Niemeyer
http://niemeyer.net
33 matches
Mail list logo