You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/10/02 20:39:56 UTC
[45/50] [abbrv] ambari git commit: AMBARI-22101. After enabling
NameNode HA, Yarn and MapReduce2 shows stale configs. (Ishan via Jaimin)
AMBARI-22101. After enabling NameNode HA, Yarn and MapReduce2 shows stale configs. (Ishan via Jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/29ea0ffb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/29ea0ffb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/29ea0ffb
Branch: refs/heads/branch-feature-AMBARI-20859
Commit: 29ea0ffb9dca3330b016c6abdb2812151641cd7e
Parents: ff9ae55
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Sun Oct 1 23:10:52 2017 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Sun Oct 1 23:10:52 2017 -0700
----------------------------------------------------------------------
.../admin/highAvailability/journalNode/step4_controller.js | 6 +++++-
.../main/admin/highAvailability/nameNode/step5_controller.js | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/29ea0ffb/ambari-web/app/controllers/main/admin/highAvailability/journalNode/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/highAvailability/journalNode/step4_controller.js b/ambari-web/app/controllers/main/admin/highAvailability/journalNode/step4_controller.js
index 5bcf78a..fad2b3d 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/journalNode/step4_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/journalNode/step4_controller.js
@@ -23,7 +23,7 @@ App.ManageJournalNodeWizardStep4Controller = App.ManageJournalNodeProgressPageCo
clusterDeployState: 'JOURNALNODE_MANAGEMENT',
tasksMessagesPrefix: 'admin.manageJournalNode.wizard.step',
- commands: ['stopStandbyNameNode', 'stopServices', 'installJournalNodes', 'deleteJournalNodes', 'startJournalNodes', 'reconfigureHDFS'],
+ commands: ['stopStandbyNameNode', 'stopAllServices', 'installJournalNodes', 'deleteJournalNodes', 'startJournalNodes', 'reconfigureHDFS'],
hdfsSiteTag: "",
@@ -33,6 +33,10 @@ App.ManageJournalNodeWizardStep4Controller = App.ManageJournalNodeProgressPageCo
this.updateComponent('NAMENODE', hostName, 'HDFS', 'INSTALLED');
},
+ stopAllServices: function () {
+ this.stopServices([], true, true);
+ },
+
installJournalNodes: function () {
var hostNames = App.router.get('manageJournalNodeWizardController').getJournalNodesToAdd();
if (hostNames && hostNames.length > 0) {
http://git-wip-us.apache.org/repos/asf/ambari/blob/29ea0ffb/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step5_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step5_controller.js b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step5_controller.js
index 8e035e8..f1f81d1 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step5_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step5_controller.js
@@ -22,11 +22,15 @@ App.HighAvailabilityWizardStep5Controller = App.HighAvailabilityProgressPageCont
name:"highAvailabilityWizardStep5Controller",
- commands: ['stopServices', 'installNameNode', 'installJournalNodes', 'reconfigureHDFS', 'startJournalNodes', 'disableSNameNode'],
+ commands: ['stopAllServices', 'installNameNode', 'installJournalNodes', 'reconfigureHDFS', 'startJournalNodes', 'disableSNameNode'],
hdfsSiteTag : "",
coreSiteTag : "",
+ stopAllServices: function () {
+ this.stopServices([], true, true);
+ },
+
installNameNode: function () {
var hostName = this.get('content.masterComponentHosts').filterProperty('component', 'NAMENODE').findProperty('isInstalled', false).hostName;
this.createInstallComponentTask('NAMENODE', hostName, "HDFS");