Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Enrico Olivelli
    @eolivelli
    let me push a nice tool we have in BooKeeper
    BooKeeper has a bunch of native libraries and we need a common env to work and to create releases
    Andor Molnár
    @anmolnar
    cool
    Enrico Olivelli
    @eolivelli
    Jordan Zimmerman
    @Randgalt
    Hey folks - if I'm going to work on Persistent/Recursive watchers it would be nice to not have to support 2 IWatchManagers. Can we get rid of WatchManager in favor of WatchManagerOptimized?
    Andor Molnár
    @anmolnar
    naming is a bit misleading - afaik they’re designed for 2 different workloads: optimized is for Facebook, the other one is for everybody else
    Andor Molnár
    @anmolnar
    @lvfangmin can confirm that, he implemented the Optimized version
    Jordan Zimmerman
    @Randgalt
    OK - maybe I can come up with a way to write it once - I'll give it some thought
    Andor Molnár
    @anmolnar
    cool
    Jordan Zimmerman
    @Randgalt
    Actually, if WatchManagerOptimized is only used by Facebook is it realistic to stipulate that WatchManagerOptimized is not compatible with PersistentRecursive watchers? Trying to get the current PR shoehorned into WatchManagerOptimized is going to be difficult
    Andor Molnár
    @anmolnar
    It’s designed and inspired by the facebook usecase. I didn’t say it’s only used by Facebook.
    try to put a more or less working patch together and we can continue from that
    Jordan Zimmerman
    @Randgalt
    Draft PR is posted. We can add WatchManagerOptimized if needed
    Jordan Zimmerman
    @Randgalt
    Enrico Olivelli
    @eolivelli
    @anmolnar @nkalmar I have problems with my linux laptop (broken hard disk....) I won't be able to cut a new RC until the weekend
    Andor Molnár
    @anmolnar
    @eolivelli I can do that
    this evening or tomorrow
    @Randgalt awesome!
    Jordan Zimmerman
    @Randgalt
    Did anyone see my question re persistent watches? "Question: what should happen when a PersistentWatcher is set on a node that exists? Should it immediately send a NodeCreated event like an exists event does?"
    Right now it does nothing which seems fine to me - but it's debatable
    Andor Molnár
    @anmolnar
    @Randgalt not many people from the community actively monitoring this channel. I think it’s better to discuss details on the pull request itself.
    I think it’s fine as it is now
    fatemeeeeeee
    @fatemeeeeeee
    hello,i have a question : is it possible to set up multi zookeeper brokers on single machine(node)?
    Andor Molnár
    @anmolnar
    @fatemeeeeeee yes. you can configure them to listen on different ports
    Jordan Zimmerman
    @Randgalt
    Congrats on 3.5.6 everyone. Now that that’s out what about ZOOKEEPER-
    ZOOKEEPER-1416
    Andor Molnár
    @anmolnar
    I’m looking
    Jordan Zimmerman
    @Randgalt
    👍
    Jordan Zimmerman
    @Randgalt
    Andor (et al). For Persistent Watches, I’m assuming all operations for a given client are serialized. That’s correct? I want to make sure that once a Persistent Watcher is set the client will not miss events. i.e. T1: set the watch; T2: multiple clients set data on a watched path; T3: our client calls getData. While processing the getData multiple clients call setData on the node. I believe that the server will queue up multiple watch triggers for the client and the client will see them in order after its getData completes.
    Jordan Zimmerman
    @Randgalt
    (Note T(n) above is time)
    Andor Molnár
    @anmolnar
    @Randgalt
    join the slack channel
    As I heard it’s open for everybody now with a free invite (not just committers)
    I think we should use it instead of Gitter
    regarding your question: looks like it’s not serialized. e.g. if a watcher gets triggered during the processing of getData() request, the result of watcher will be queued before getData() response
    both will end up calling sendResponse() on the connection
    Jordan Zimmerman
    @Randgalt
    What's the address for ZooKeeper slack?
    Andor Molnár
    @anmolnar
    I sent you an invite
    it’s basically the official ASF Slack / #zookeeper channel
    Jordan Zimmerman
    @Randgalt
    Oh. I can access that. I’ll join
    maheswar4b4
    @maheswar4b4
    Hi,
    Does zookeeper provide methods to configure serializer and deserializer for the data of znode ?
    Andor Molnár
    @anmolnar
    @maheswar4b4 nope.
    Jordan Zimmerman
    @Randgalt
    @maheswar4b4 Apache Curator supports this
    maheswar4b4
    @maheswar4b4
    @Randgalt Thanks, I will check curator then
    walker
    @lwx2615
    hi,everyone
    walker
    @lwx2615
    the log4j said" Define some default values that can be overridden by system properties",but how to overridden it
    I can't see any log config in the zoo.cfg
    walker
    @lwx2615
    I have got it at other file
    frid
    @FridMehdi
    @hello Folks some one could explain this issue "This ZooKeeper instance is not currently serving requests"
    Jordan Zimmerman
    @Randgalt
    It means your ensemble is not in Quroum. E.g. you have a 3 instance ensemble and 2 instances are down