Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8B61105F0 for ; Mon, 11 Nov 2013 14:01:33 +0000 (UTC) Received: (qmail 41118 invoked by uid 500); 11 Nov 2013 14:01:27 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 37998 invoked by uid 500); 11 Nov 2013 14:01:19 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 37600 invoked by uid 99); 11 Nov 2013 14:01:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 14:01:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of arindam.mukerjee@gmail.com designates 209.85.220.47 as permitted sender) Received: from [209.85.220.47] (HELO mail-pa0-f47.google.com) (209.85.220.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 14:01:08 +0000 Received: by mail-pa0-f47.google.com with SMTP id ld10so1136458pab.34 for ; Mon, 11 Nov 2013 06:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZHXMkvyfKdbfN4mgiTqVS0pI1V20UH122KeekJ/zxng=; b=p6ExdrxESVQvsVfIasiHnegM2GnRjpQTE3gF3B5pIQFSA8FFl0uxzIw2sr3NoISArS ZvfnId2xbgVPRqgA20n1kVGCYYushYL3baqiDfy8cfiBfr+IK84kRkQLwIUfmgHFnM8/ 0r08QLa64JlYVEd6SXhybH3SYo4iOdSkxlm+OD9N+9SYRQPwpx3un7imRyQmpApFpoib sg0opd2Ei+XkQpcDfyTlp3l6MOPZsprwoK7KYTp1xILdjulC8x/A5FlRtF5IgphNXkfx BvgW6c4FJlzRmgl/NoN0s3F4i1Dzm+aTtPXW85jFMoWXVZcdbPpVOfEqx0aPrPWfe38P no6A== MIME-Version: 1.0 X-Received: by 10.68.130.169 with SMTP id of9mr30490534pbb.79.1384178447054; Mon, 11 Nov 2013 06:00:47 -0800 (PST) Received: by 10.70.68.1 with HTTP; Mon, 11 Nov 2013 06:00:47 -0800 (PST) Date: Mon, 11 Nov 2013 19:30:47 +0530 Message-ID: Subject: List of servers for ZooKeeper clients From: Arindam Mukherjee To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org If I am running my ZooKeeper clients on the same nodes as my ZooKeeper 3.4.6 servers, is there some standard way to determine the list of servers that the client can connect to. Should I have to parse the zoo.cfg? Is there an API available for that? Arindam