AMBARI-3683. NameNode HA: Reconfigure dfs.namenode.https-address property in 
hdfs-site.xml (alexantonenko)


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

Branch: refs/heads/trunk
Commit: ac89d969b9af167d5de101eb29dcd7fbd4d15d01
Parents: d2c7433
Author: Alex Antonenko <[email protected]>
Authored: Mon Nov 4 23:44:58 2013 +0200
Committer: Alex Antonenko <[email protected]>
Committed: Tue Nov 5 17:11:39 2013 +0200

----------------------------------------------------------------------
 .../controllers/main/admin/highAvailability/step5_controller.js    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/ac89d969/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js 
b/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
index 0e26fda..45c8c80 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
@@ -123,6 +123,8 @@ App.HighAvailabilityWizardStep5Controller = 
App.HighAvailabilityProgressPageCont
     hdfsSiteProperties['dfs.namenode.rpc-address.' + nameServiceId + '.nn2'] = 
newNameNodeHost + ':8020';
     hdfsSiteProperties['dfs.namenode.http-address.' + nameServiceId + '.nn1'] 
= currentNameNodeHost + ':50070';
     hdfsSiteProperties['dfs.namenode.http-address.' + nameServiceId + '.nn2'] 
= newNameNodeHost + ':50070';
+    hdfsSiteProperties['dfs.namenode.https-address.' + nameServiceId + '.nn1'] 
= currentNameNodeHost + ':50470';
+    hdfsSiteProperties['dfs.namenode.https-address.' + nameServiceId + '.nn2'] 
= newNameNodeHost + ':50470';
     hdfsSiteProperties['dfs.namenode.shared.edits.dir'] = 'qjournal://' + 
journalNodeHosts[0] + ':8485;' + journalNodeHosts[1] + ':8485;' + 
journalNodeHosts[2] + ':8485/' + nameServiceId;
     hdfsSiteProperties['dfs.client.failover.proxy.provider.' + nameServiceId] 
= 'org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider';
     hdfsSiteProperties['dfs.ha.fencing.methods'] = 'shell(/bin/true)';

Reply via email to