Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F37E1187CD for ; Wed, 14 Oct 2015 20:39:00 +0000 (UTC) Received: (qmail 1822 invoked by uid 500); 14 Oct 2015 20:39:00 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 1789 invoked by uid 500); 14 Oct 2015 20:39:00 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 1774 invoked by uid 99); 14 Oct 2015 20:39:00 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2015 20:39:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 27BB31A2364 for ; Wed, 14 Oct 2015 20:39:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.798 X-Spam-Level: ** X-Spam-Status: No, score=2.798 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.999, KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NKvBdaSpyV9Y for ; Wed, 14 Oct 2015 20:38:58 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 48E8242B59 for ; Wed, 14 Oct 2015 20:38:58 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 7188053E03; Wed, 14 Oct 2015 13:38:57 -0700 (PDT) Subject: Re: Review Request 37626: AMBARI-12486 Enabling namenode HA fails when non default ports are used MIME-Version: 1.0 x-echoworx-msg-id: 76c39952-7aa0-4006-9034-53cd13163133 x-echoworx-emg-received: Wed, 14 Oct 2015 13:38:57.410 -0700 x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 787; Wed, 14 Oct 2015 13:38:57 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (unknown [10.224.117.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 3728953E03; Wed, 14 Oct 2015 13:38:57 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) by MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 14 Oct 2015 13:38:55 -0700 Received: from MBX080-W4-CO-1.exch080.serverpod.net ([10.224.117.101]) by mbx080-w4-co-1.exch080.serverpod.net ([10.224.117.101]) with mapi id 15.00.1044.021; Wed, 14 Oct 2015 13:38:56 -0700 From: Jaimin Jetly To: Alejandro Fernandez , Yusaku Sako , Ambari , "Juanjo Marron" Thread-Topic: Review Request 37626: AMBARI-12486 Enabling namenode HA fails when non default ports are used Thread-Index: AQHQ9k5Itrt9LriPjEOFLnBFEC+vpJ5r7xsAgAAXagD//41DWA== Date: Wed, 14 Oct 2015 20:38:55 +0000 Message-ID: <1444855135092.84337@hortonworks.com> References: <20151014190444.1509.79051@reviews.apache.org>,<20151014202832.28635.56177@reviews.apache.org> In-Reply-To: <20151014202832.28635.56177@reviews.apache.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.175.27.17] x-source-routing-agent: Processed Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Patch has been committed to trunk and branch-2.1.3 -- Thanks Jaimin ________________________________________ From: Juanjo Marron on behalf of Juanjo Marr= on Sent: Wednesday, October 14, 2015 1:28 PM To: Alejandro Fernandez; Yusaku Sako; Jaimin Jetly Cc: Juanjo Marron; Ambari Subject: Re: Review Request 37626: AMBARI-12486 Enabling namenode HA fails = when non default ports are used > On Oct. 14, 2015, 7:04 p.m., Jaimin Jetly wrote: > > Ship It! Great! Thanks Jaimin. I dont have privileges to commit it. Could someone ship it for me, please? - Juanjo ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37626/#review102689 ----------------------------------------------------------- On Sept. 23, 2015, 10:21 p.m., Juanjo Marron wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37626/ > ----------------------------------------------------------- > > (Updated Sept. 23, 2015, 10:21 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, and Yusaku = Sako. > > > Repository: ambari > > > Description > ------- > > Enabling HA code may not read correct properties. > When HDFS and ZOOKEEPER ports are changed (different than default values = ZK: 2181 and HDFS: 8020,50070,50470), HA wizard menus is still showing the = ones by default and HA namenode fails with connection errors. > 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 ports hardcoded ins= tead of the new once modified on the installation wizard, ex: > ... > this.setConfigInitialValue(config,'qjournal://' + journalNodeHosts[0] + '= :8485;' + journalNodeHosts[1] + ':8485;' + journalNodeHosts[2] + ':8485/' += nameServiceId); > this.setConfigInitialValue(config,zooKeeperHosts[0] + ':2181,' + zooKeepe= rHosts[1] + ':2181,' + zooKeeperHosts[2] + ':2181'); > ... > This is a bug that should be fixed. > > > Diffs > ----- > > ambari-web/app/controllers/main/admin/highAvailability/nameNode/step3_c= ontroller.js cf2d971 > > Diff: https://reviews.apache.org/r/37626/diff/ > > > Testing > ------- > > Manual test on fresh installation > > > Thanks, > > Juanjo Marron > >