Updated Branches: refs/heads/trunk 2a85a64b5 -> bf8b16576
AMBARI-3206. NameNode HA wizard (rollback): Stop Standby NameNode and Stop Namenode fails Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/bf8b1657 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/bf8b1657 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/bf8b1657 Branch: refs/heads/trunk Commit: bf8b16576cf3268e8619211fe45d8c573ff67797 Parents: 2a85a64 Author: Alex Antonenko <[email protected]> Authored: Thu Sep 12 19:07:07 2013 +0300 Committer: Alex Antonenko <[email protected]> Committed: Thu Sep 12 19:07:07 2013 +0300 ---------------------------------------------------------------------- .../main/admin/highAvailability/rollback_controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf8b1657/ambari-web/app/controllers/main/admin/highAvailability/rollback_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/admin/highAvailability/rollback_controller.js b/ambari-web/app/controllers/main/admin/highAvailability/rollback_controller.js index d1a6547..ac5e2be 100644 --- a/ambari-web/app/controllers/main/admin/highAvailability/rollback_controller.js +++ b/ambari-web/app/controllers/main/admin/highAvailability/rollback_controller.js @@ -213,11 +213,11 @@ App.HighAvailabilityRollbackController = App.HighAvailabilityProgressPageControl this.unInstallComponent('ZKFC', hostNames); }, stopStandbyNameNode: function(){ - var hostName = this.get('content.masterComponentHosts').findProperty('isCurNameNode').hostName; + var hostName = this.get('content.masterComponentHosts').findProperty('isAddNameNode', true).hostName;; this.stopComponent('NAMENODE', hostName); }, stopNameNode: function(){ - var hostNames = this.get('content.masterComponentHosts').filterProperty('component', 'NAMENODE').mapProperty('hostName'); + var hostNames = this.get('content.masterComponentHosts').findProperty('isCurNameNode').hostName; this.stopComponent('NAMENODE', hostNames); }, restoreHDFSConfigs: function(){
