Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49AA7101AD for ; Sat, 4 May 2013 00:24:32 +0000 (UTC) Received: (qmail 72113 invoked by uid 500); 4 May 2013 00:24:32 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 72073 invoked by uid 500); 4 May 2013 00:24:32 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 72066 invoked by uid 99); 4 May 2013 00:24:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 May 2013 00:24:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 May 2013 00:24:29 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EDF6523889F1; Sat, 4 May 2013 00:24:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1479015 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/controllers/wizard/step5_controller.js Date: Sat, 04 May 2013 00:24:08 -0000 To: ambari-commits@incubator.apache.org From: jaimin@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130504002408.EDF6523889F1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jaimin Date: Sat May 4 00:24:08 2013 New Revision: 1479015 URL: http://svn.apache.org/r1479015 Log: AMBARI-2078. Hive Metastore host not changing on Assign Masters page. (jaimin) Modified: incubator/ambari/trunk/CHANGES.txt incubator/ambari/trunk/ambari-web/app/controllers/wizard/step5_controller.js Modified: incubator/ambari/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1479015&r1=1479014&r2=1479015&view=diff ============================================================================== --- incubator/ambari/trunk/CHANGES.txt (original) +++ incubator/ambari/trunk/CHANGES.txt Sat May 4 00:24:08 2013 @@ -828,6 +828,8 @@ Trunk (unreleased changes): BUG FIXES + AMBARI-2078. Hive Metastore host not changing on Assign Masters page. (jaimin) + AMBARI-2077. Update stack mock data to make testMode functional on step4 of installer wizard. (jaimin) Modified: incubator/ambari/trunk/ambari-web/app/controllers/wizard/step5_controller.js URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/wizard/step5_controller.js?rev=1479015&r1=1479014&r2=1479015&view=diff ============================================================================== --- incubator/ambari/trunk/ambari-web/app/controllers/wizard/step5_controller.js (original) +++ incubator/ambari/trunk/ambari-web/app/controllers/wizard/step5_controller.js Sat May 4 00:24:08 2013 @@ -245,7 +245,7 @@ App.WizardStep5Controller = Em.Controlle var hiveMetastore = this.get('selectedServicesMasters').findProperty('component_name', 'HIVE_METASTORE'); var webHCatServer = this.get('selectedServicesMasters').findProperty('component_name', 'WEBHCAT_SERVER'); if (hiveServer && hiveMetastore && webHCatServer) { - if (!this.get('isReassignHive') && this.get('servicesMasters').objectAt(0) && !this.get('servicesMasters').objectAt(0).component_name == 'HIVE_METASTORE') { + if (!this.get('isReassignHive') && this.get('servicesMasters').objectAt(0) && !(this.get('servicesMasters').objectAt(0).component_name == 'HIVE_METASTORE')) { this.get('selectedServicesMasters').findProperty('component_name', 'HIVE_METASTORE').set('selectedHost', hiveServer.get('selectedHost')) } this.get('selectedServicesMasters').findProperty('component_name', 'WEBHCAT_SERVER').set('selectedHost', hiveServer.get('selectedHost'));