incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
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 GMT
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'));



Mime
View raw message