You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2016/07/28 16:21:28 UTC
ambari git commit: AMBARI-17182. App timeline Server start fails on
enabling HA because namenode is in safemode (Victor Galgo via magyari_sandor)
Repository: ambari
Updated Branches:
refs/heads/trunk 7586bdae2 -> a1251ecc9
AMBARI-17182. App timeline Server start fails on enabling HA because namenode is in safemode (Victor Galgo via magyari_sandor)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a1251ecc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a1251ecc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a1251ecc
Branch: refs/heads/trunk
Commit: a1251ecc9afa7c8d313c5ec215ed8db96f510a7f
Parents: 7586bda
Author: Sandor Magyari <sm...@hortonworks.com>
Authored: Thu Jul 28 18:08:17 2016 +0200
Committer: Sandor Magyari <sm...@hortonworks.com>
Committed: Thu Jul 28 18:21:07 2016 +0200
----------------------------------------------------------------------
.../main/admin/highAvailability/nameNode/step9_controller.js | 7 ++++++-
ambari-web/app/messages.js | 5 +++--
2 files changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a1251ecc/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
index 24677e4..d83ef9f 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
@@ -22,7 +22,7 @@ App.HighAvailabilityWizardStep9Controller = App.HighAvailabilityProgressPageCont
name:"highAvailabilityWizardStep9Controller",
- commands: ['startSecondNameNode', 'installZKFC', 'startZKFC', 'installPXF', 'reconfigureHBase', 'reconfigureAccumulo', 'reconfigureHawq', 'deleteSNameNode', 'startAllServices'],
+ commands: ['startSecondNameNode', 'installZKFC', 'startZKFC', 'installPXF', 'reconfigureHBase', 'reconfigureAccumulo', 'reconfigureHawq', 'deleteSNameNode', 'stopNameNodes', 'startAllServices'],
hbaseSiteTag: "",
accumuloSiteTag: "",
@@ -143,6 +143,11 @@ App.HighAvailabilityWizardStep9Controller = App.HighAvailabilityProgressPageCont
startAllServices: function () {
this.startServices(false);
},
+
+ stopNameNodes: function () {
+ var hostName = this.get('content.masterComponentHosts').filterProperty('component', 'NAMENODE').mapProperty('hostName');
+ this.updateComponent('NAMENODE', hostName, "HDFS", "Stop");
+ },
deleteSNameNode: function () {
var hostName = this.get('content.masterComponentHosts').findProperty('component', 'SECONDARY_NAMENODE').hostName;
http://git-wip-us.apache.org/repos/asf/ambari/blob/a1251ecc/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 75fbb39..62dc058 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1337,8 +1337,9 @@ Em.I18n.translations = {
'admin.highAvailability.wizard.step9.task4.title':'Reconfigure HBase',
'admin.highAvailability.wizard.step9.task5.title':'Reconfigure Accumulo',
'admin.highAvailability.wizard.step9.task6.title':'Reconfigure HAWQ',
- 'admin.highAvailability.wizard.step9.task7.title':'Delete Secondary NameNode',
- 'admin.highAvailability.wizard.step9.task8.title':'Start All Services',
+ 'admin.highAvailability.wizard.step9.task7.title':'Stop NameNodes',
+ 'admin.highAvailability.wizard.step9.task8.title':'Delete Secondary NameNode',
+ 'admin.highAvailability.wizard.step9.task9.title':'Start All Services',
'admin.highAvailability.wizard.step9.notice.completed':'NameNode HA has been enabled successfully.',
'admin.highAvailability.wizard.step3.curNameNode': '<b>Current NameNode:</b> ',