Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-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 C25B318C8A for ; Thu, 2 Jul 2015 18:56:30 +0000 (UTC) Received: (qmail 57687 invoked by uid 500); 2 Jul 2015 18:56:30 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 57657 invoked by uid 500); 2 Jul 2015 18:56:30 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 57647 invoked by uid 99); 2 Jul 2015 18:56:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 18:56:30 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of juanjo.marron@yahoo.com designates 98.138.91.45 as permitted sender) Received: from [98.138.91.45] (HELO nm20-vm0.bullet.mail.ne1.yahoo.com) (98.138.91.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 18:54:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1435863361; bh=TCw7UB0jk73symQXkfivrI9DTbKznUihliXWZ3Say+M=; h=Date:From:Reply-To:To:Subject:From:Subject; b=foaqGmf2YuOXeieVreohenHX2lFu0XR3JegHnM1kaWpbRqbEY5dADF3g2BMiaEahoajwFXEatxmfyLYwQQl2XWO3hH8UKvEes9TbgZN/+y3iY9lpoN3B3CqRXGQ6PA9IEzfA42KFIbCN/bDq27XMJzY9GRk694DM9OnACTYFgrBRfmOzel3fN+Q2B2oQXoiys9xo53xoFLhJGAGAh8F5JbFWAYQrax0nhdmXD60HxkMZToMXH/TZ5J775gWb+t3XN6omYyDUs8H8KfcL8X6y/Nj3ZwgQErzA22JeiZWvDu6+OQPEEgDngNZcthocAd1TUpg0iv5YnOBbk1XeAqRVOw== Received: from [98.138.100.103] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jul 2015 18:56:01 -0000 Received: from [98.138.89.244] by tm102.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jul 2015 18:56:00 -0000 Received: from [127.0.0.1] by omp1058.mail.ne1.yahoo.com with NNFMP; 02 Jul 2015 18:56:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 12928.8418.bm@omp1058.mail.ne1.yahoo.com X-YMail-OSG: 9bbARjsVM1lIEX8J8Cs09f7UHHHYDhlcbVCELig5uk.yHIqMCc3dx6x2lkyH8rb fgPBUKf_GKAhXRqmaLvt_L3rE9EltUWs2YU_FBSwfcw2AmcrMbBBUNUb.BuYU0mDirAylwDlxhUj 5lMnJ8t9CGLtI4ud3aSSlLAHIsVkzN3yRm18h02ggQxKOg77hyXRpmvy9mVspGBG0Pm7Pv6btxM2 QG5VQ6P4XTEtmrNAX6uMwLQYhHdsXMlc6vme6NiHHXZph6nUWGnFTJtvzVyZ4RQch06pUnMSVZnf uxpBgvt8KJZWmv7EHWR3X301C24b0SIR8_ZwBRf6sct4oU91CQ7skGHM1TrEyiMKlhb_p9gcoj2W NtSOXWPbeIzeW3h7vcGXIxOosEEymdlROAoMYdy800EBeuotza.pm.W19jtnRB3xvcwNj4MYTk5. 6RrDpo3AZbmCnGQmuMEUo6U0q_MUAXv6aHIwUsCuL88niSEfFYPiJOn7EOg-- Received: by 98.138.101.162; Thu, 02 Jul 2015 18:56:00 +0000 Date: Thu, 2 Jul 2015 18:56:00 +0000 (UTC) From: Juanjo Marron Reply-To: Juanjo Marron To: Ambari User Message-ID: <100326957.1220225.1435863360388.JavaMail.yahoo@mail.yahoo.com> Subject: Enabling namenode HA fails when non default ports are used MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1220224_1683846000.1435863360386" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1220224_1683846000.1435863360386 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi all, I have a question related with High Availability configuration when changing default ports I checked the source code for the Step 3 in namenode HA wizard (ambari-web/app/controllers/main/admin/highAvailability/nameNode/step3_controller.js) The node address is looked from the configuration but the port is hardcoded ex: ... this.setConfigInitialValue(config,zooKeeperHosts[0] + ':2181,' + zooKeeperHosts[1] + ':2181,' + zooKeeperHosts[2] + ':2181'); ... Is there any reason to not looking actual port number and use the default value? Thanks for your answer, Regards, Juanjo Marron ------=_Part_1220224_1683846000.1435863360386 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hi all,

I have a question related with High Availability configuration when changing default ports

I checked the source code for the Step 3 in namenode HA wizard (ambari-web/app/controllers/main/admin/highAvailability/nameNode/step3_controller.js)

The node address is looked from the configuration but the port is hardcoded ex:
...
this.setConfigInitialValue(config,zooKeeperHosts[0] + ':2181,' + zooKeeperHosts[1] + ':2181,' + zooKeeperHosts[2] + ':2181');
...

Is there any reason to not looking actual port number and use the default value?

Thanks for your answer,

Regards,

Juanjo Marron


------=_Part_1220224_1683846000.1435863360386--