ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-18109. After Enabling NNHA, On restarting HDFS, namenodes are stopped (alexantonenko)
Date Thu, 11 Aug 2016 15:25:35 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 1d4a4b73d -> af8016f8f


AMBARI-18109. After Enabling NNHA, On restarting HDFS, namenodes are stopped (alexantonenko)


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

Branch: refs/heads/branch-2.4
Commit: af8016f8fbefea778b7679e34592d38f5cdc0a72
Parents: 1d4a4b7
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Aug 11 17:42:00 2016 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu Aug 11 18:25:30 2016 +0300

----------------------------------------------------------------------
 .../admin/highAvailability/nameNode/step9_controller.js     | 9 ++++-----
 ambari-web/app/messages.js                                  | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/af8016f8/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 d83ef9f..05c6a58 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', 'stopNameNodes', 'startAllServices'],
+  commands: ['startSecondNameNode', 'installZKFC', 'startZKFC', 'installPXF', 'reconfigureHBase',
'reconfigureAccumulo', 'reconfigureHawq', 'deleteSNameNode', 'stopHDFS', 'startAllServices'],
 
   hbaseSiteTag: "",
   accumuloSiteTag: "",
@@ -143,10 +143,9 @@ 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");
+
+  stopHDFS: function () {
+    this.stopServices(["HDFS"], true);
   },
 
   deleteSNameNode: function () {

http://git-wip-us.apache.org/repos/asf/ambari/blob/af8016f8/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index febb2ad..cb00690 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1325,7 +1325,7 @@ Em.I18n.translations = {
   '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':'Stop NameNodes',
+  'admin.highAvailability.wizard.step9.task8.title':'Stop HDFS',
   'admin.highAvailability.wizard.step9.task9.title':'Start All Services',
   'admin.highAvailability.wizard.step9.notice.completed':'NameNode HA has been enabled successfully.',
 


Mime
View raw message