ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rz...@apache.org
Subject ambari git commit: AMBARI-13494. Ambari generate invalid configuration after namenode move with HA enabled (Josh Elser via rzang)
Date Sat, 24 Oct 2015 22:03:19 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b79fe89a4 -> 93adf6870


AMBARI-13494. Ambari generate invalid configuration after namenode move with HA enabled (Josh
Elser via rzang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/93adf687
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/93adf687
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/93adf687

Branch: refs/heads/branch-2.1
Commit: 93adf6870f56dbd8a5f1d8e38f8b1a9557719d26
Parents: b79fe89
Author: Richard Zang <rzang@apache.org>
Authored: Sat Oct 24 14:55:22 2015 -0700
Committer: Richard Zang <rzang@apache.org>
Committed: Sat Oct 24 14:57:37 2015 -0700

----------------------------------------------------------------------
 .../app/controllers/main/service/reassign/step4_controller.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/93adf687/ambari-web/app/controllers/main/service/reassign/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/reassign/step4_controller.js b/ambari-web/app/controllers/main/service/reassign/step4_controller.js
index 44dfeff..e62a6f2 100644
--- a/ambari-web/app/controllers/main/service/reassign/step4_controller.js
+++ b/ambari-web/app/controllers/main/service/reassign/step4_controller.js
@@ -673,9 +673,9 @@ App.ReassignMasterWizardStep4Controller = App.HighAvailabilityProgressPageContro
       configs['hbase-site']['hbase.rootdir'] = configs['hbase-site']['hbase.rootdir'].replace(/\/\/[^\/]*/,
'//' + targetHostName + ':8020');
     }
     if (!App.get('isHaEnabled') && App.Service.find('ACCUMULO').get('isLoaded'))
{
+      // Update the Namenode's hostname in instance.volumes
       configs['accumulo-site']['instance.volumes'] = configs['accumulo-site']['instance.volumes'].replace(/\/\/[^\/]*/,
'//' + targetHostName + ':8020');
-    }
-    if (App.Service.find('ACCUMULO').get('isLoaded')) {
+      // Add a replacement entry from the old hostname to the new hostname
       var target = 'hdfs://' + this.get('content.reassignHosts.target') + ':8020' + '/apps/accumulo/data';
       var source = 'hdfs://' + this.get('content.reassignHosts.source') + ':8020' + '/apps/accumulo/data';
       if (configs['accumulo-site']) {


Mime
View raw message