Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 84611 invoked from network); 29 May 2009 13:13:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 May 2009 13:13:00 -0000 Received: (qmail 53882 invoked by uid 500); 29 May 2009 13:13:12 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 53834 invoked by uid 500); 29 May 2009 13:13:12 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 53824 invoked by uid 99); 29 May 2009 13:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2009 13:13:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.bosschaert@gmail.com designates 74.125.46.29 as permitted sender) Received: from [74.125.46.29] (HELO yw-out-2324.google.com) (74.125.46.29) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2009 13:13:01 +0000 Received: by yw-out-2324.google.com with SMTP id 9so3149086ywe.29 for ; Fri, 29 May 2009 06:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=FLp0Erwx3ymrhyXSoIxDbYEg4g7Z3UMJh8FzasHE8G0=; b=QT5CO8ZJL+v9yZuqrcmCITaYACV5ZLch2WVtoU5b/PmvJK7obL3CRMvm6RcBqo7BoF YKGFWwQ1GbHzTzIp+JweASyE8+rgw/HWMNEA8OWqrN+otBIXoJuUJjEfOe2HS6FCSAJB UyulQ6vW251B8TaP7mTr6pg3G1c8k3KywqHg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:from:date:x-google-sender-auth :message-id:subject:to:content-type:content-transfer-encoding; b=s93584PPtAhC3CyjBwHKmgAzDN0dIn0LMRGBObqGLxdbfw6Zi/VLLpGafUEcRvras/ NwyPe4EUAGkVK4JxgecYAtxDxnewlXNM8p4Mngl4XbKwgA5KfWmhNKVycnFnanCDkIlc clH5/M9CMMp2o4O9JHaxZaVj1RBbeyZXunIMg= MIME-Version: 1.0 Sender: david.bosschaert@gmail.com Reply-To: davidb@apache.org Received: by 10.151.145.13 with SMTP id x13mr5250131ybn.54.1243602760177; Fri, 29 May 2009 06:12:40 -0700 (PDT) From: davidb@apache.org Date: Fri, 29 May 2009 14:12:20 +0100 X-Google-Sender-Auth: eb14d6cf9df658ca Message-ID: Subject: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject To: zookeeper-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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/)? * 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