Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 58989 invoked from network); 23 Apr 2010 19:03:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Apr 2010 19:03:40 -0000 Received: (qmail 16258 invoked by uid 500); 23 Apr 2010 19:03:40 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 16231 invoked by uid 500); 23 Apr 2010 19:03:40 -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 16223 invoked by uid 99); 23 Apr 2010 19:03:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 19:03:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ted.dunning@gmail.com designates 74.125.83.176 as permitted sender) Received: from [74.125.83.176] (HELO mail-pv0-f176.google.com) (74.125.83.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 19:03:32 +0000 Received: by pvg12 with SMTP id 12so810214pvg.35 for ; Fri, 23 Apr 2010 12:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=f0UIT6tn7zVCNnL5o9MqVymtdteZ8AYXbyOnbMo7Et0=; b=GbhUuj8HKZeTvigkPY3l0t2oCJyJqyYnai0ZtvuHfQyLKBAJioSugtyR4YnTSAWZs/ sCwKjMFWFxiBvwIBxZifFulmVqwUFSkjKq8h1eEubcgIBjjI6rLGa0aB3VJH62pNBgy1 jahw3ji9wywFJ/pok6dBOd3zXDM8Fdc8zhPe4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=HVVGYXEqT1Xubxowv50pynrlYUiUsyeVLwAUI/C/JfuXyC2klcrtEBZgyprJIVtxo7 xWnUen4vPkuQc1SE+Bhx1cKpvmzZsCPT4doFfIkbpSRpDb1eCFK5XFjhGmco/AFzWLi6 K5P9LUNAlV7kpX/i3bEqkSxo4+b/5gJT5K3Uc= Received: by 10.141.108.9 with SMTP id k9mr670312rvm.59.1272049391225; Fri, 23 Apr 2010 12:03:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.166.11 with HTTP; Fri, 23 Apr 2010 12:02:50 -0700 (PDT) In-Reply-To: <4BD1D8C9.3020308@apache.org> References: <4BD1D8C9.3020308@apache.org> From: Ted Dunning Date: Fri, 23 Apr 2010 12:02:50 -0700 Message-ID: Subject: Re: Embedding ZK in another application To: zookeeper-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=000e0cd13a7619cdc60484ec14ae X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd13a7619cdc60484ec14ae Content-Type: text/plain; charset=UTF-8 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 wrote: > However, I believe that both the above are fine to live with for the > application under consideration, as ZK will be used only to coordinate > the larger application. Is there anything else that needs to be > considered - and can I safely shutdown the clientPort since the > application is always in the same JVM - but, if I do that how would I > "connect" to ZK thereafter ? > --000e0cd13a7619cdc60484ec14ae--