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 68549DC7B for ; Fri, 24 May 2013 09:50:43 +0000 (UTC) Received: (qmail 92993 invoked by uid 500); 24 May 2013 09:50:42 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 92950 invoked by uid 500); 24 May 2013 09:50:42 -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 92785 invoked by uid 99); 24 May 2013 09:50:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 09:50:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown -allmx (nike.apache.org: encountered unrecognized mechanism during SPF processing of domain of vinayak@nutanix.com) Received: from [209.85.216.182] (HELO mail-qc0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 09:50:34 +0000 Received: by mail-qc0-f182.google.com with SMTP id n1so2307863qcw.13 for ; Fri, 24 May 2013 02:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=e5Pt9zaCKsRoF0bt3muswHSFu7CQImxtQm9VLkIiVPE=; b=WyFC7rqaanxL/KJBNoPJN7oc9CF38EFHtCMCQ5uc9ZWw5Z4jfmbWrPq8K1CN18Xzv1 rxvpoX3ltEnuKVm+4HXdFhkdBtyLKTSychYEeSkXK/D7drUnDMz1vZAb1AAQaOcqhRG6 SrJAOzeuIMXaaO3Rtu9Vx90tivdk8/MAgBg+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=e5Pt9zaCKsRoF0bt3muswHSFu7CQImxtQm9VLkIiVPE=; b=LEt7EoyeSMRVW6lsKagwTB05Lo4ai8qqKNT4Y6/FIFG4lulacXB+aeH0hN49n3Ki4i gRT7DTjOP04CsZP4Z6bBNN94PL1bWj3axBNPdadRfzjavN4cPU6rp6CUzhQo9kLFSRGy dbLzadqxJfC50Gyc98JG/88mEeCBrYqr/HWNJRFt7pltEf41Tm4gNTg2fdlZVvUWjZt0 9urqdBqx5eAIpbXXEN06xIZ3K/ADrmGRLUokSZpeTVEaXUWTWg9ighKvQf4IUsV8DcWB X1s3lZp1cZvLK7IVvztIFt6pDaq37mVS/lY2oK3hWoW1WD+l2A5U0p2g4BtFUfnRcjT1 kzCA== MIME-Version: 1.0 X-Received: by 10.224.119.83 with SMTP id y19mr15205114qaq.7.1369389011438; Fri, 24 May 2013 02:50:11 -0700 (PDT) Received: by 10.229.61.136 with HTTP; Fri, 24 May 2013 02:50:11 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 May 2013 02:50:11 -0700 Message-ID: Subject: Re: Binding to an specific IP address for election and broadcast ports From: Vinayak Khot To: user@zookeeper.apache.org, german.blanco.blanco@gmail.com Cc: zookeeper-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b6d868e96211c04dd73b959 X-Gm-Message-State: ALoCoQlhp+p7IK0dqntCyzPunGNzdta4mhNPABZmIEntVMaiR/Z5maru9UCSyQjAumjBmsBh+Joq X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d868e96211c04dd73b959 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can configure these ports in the Zookeeper configuration file. You can specify these ports on the same line in the config file where you list the quoram servers= . eg. server.1=3D127.0.0.1:18441:18451 server.2=3D127.0.0.1:18442:18452 server.3=3D127.0.0.1:18443:18453 Last two fields in each line above specifies leader election port and communication port. - Vinayak On Fri, May 24, 2013 at 2:12 AM, German Blanco < german.blanco.blanco@gmail.com> wrote: > Hello, > > If I am not wrong, it is only possible to specify the specific address fo= r > the port in which the clients connect to the ZooKeeper server, and not fo= r > leader election and broadcast. Is that the case? > Would it make sense to allow the configuration of those two? > > Regards, > > Germ=E1n Blanco. > --047d7b6d868e96211c04dd73b959--