zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pollak <feeder.of.the.be...@gmail.com>
Subject Re: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject
Date Fri, 29 May 2009 13:35:00 GMT
On Fri, May 29, 2009 at 6:12 AM, <davidb@apache.org> wrote:

> Hi all,
> I have started using Zookeeper to provide Discovery implementation in
> the Distributed OSGi codebase in the CXF/DOSGi subproject
> (http://cxf.apache.org/distributed-osgi.html).
> It works great (hey! a happy customer) but I do have some thoughts
> regarding Maven and OSGi.
> * In CXF we use Maven to build everything. To depend on Zookeeper we
> need to pull it in from a Maven repository. I couldn't find Zookeeper
> in any main Maven repos, so currently we're pulling it in from
> http://people.apache.org/~chirino/zk-repo (a private repo), which is
> not ideal. Would there be any chance of getting the zookeeper.jar file
> deployed to one of the main Maven repo's (e.g.
> http://repo2.maven.org/maven2/)?

I second this.  If you folks want to host at http://scala-tools.org we'd be
happy to host this non-Scala but super mega interesting and valuable
project.  We'll even do builds on our hudson server.

> * To use Zookeeper from within OSGi it has to be turned into an OSGi
> bundle. Doing this is not hard and it's currently done in our
> buildsystem [1]. However, I think it would make sense to have this
> done somewhere in the Zookeeper buildsystem. Matter of fact I think
> you should be able to release a single zookeeper.jar that's both an
> ordinary jar and an OSGi bundle so it would work in both cases...
> * The Zookeeper server is currently started with the zkServer.sh
> script, but I think it would make sense to also allow it to run inside
> an OSGi container, simply by starting a bundle. Has anyone ever done
> any work in this regard? If not I'm planning to spend some time and
> try to make this work.
> * BTW I made some Windows versions of the zkCli/zkEnv/zkServer
> scripts. Interested in taking these?
> Thoughts anyone?
> Best regards,
> David Bosschaert
> [1]
> http://svn.apache.org/repos/asf/cxf/dosgi/trunk/discovery/distributed/zookeeper-wrapper/pom.xml

Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message