You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2017/10/02 06:08:55 UTC

ambari git commit: AMBARI-22101. After enabling NameNode HA, Yarn and MapReduce2 shows stale configs. (Ishan via Jaimin)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 4406fd405 -> 65fff2c32


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/65fff2c3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/65fff2c3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/65fff2c3

Branch: refs/heads/branch-2.6
Commit: 65fff2c32b9c7f53c65e39206ba78714c5561818
Parents: 4406fd4
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Sun Oct 1 23:08:27 2017 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Sun Oct 1 23:08:27 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/65fff2c3/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 1938527..1e78478 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', sbNN.host_name, '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/65fff2c3/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 7b20439..5c614e6 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");