You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/12/08 19:04:32 UTC

[3/3] ambari git commit: AMBARI-8588. Ambari should not support NN HA in HDP 1.3.x (alexantonenko)

AMBARI-8588. Ambari should not support NN HA in HDP 1.3.x (alexantonenko)


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

Branch: refs/heads/trunk
Commit: e222d2f5de410b6b63c4136f10681a9fb001fbee
Parents: 5f2c1a2
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Dec 8 19:56:09 2014 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Mon Dec 8 20:04:11 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/views/main/service/item.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e222d2f5/ambari-web/app/views/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/item.js b/ambari-web/app/views/main/service/item.js
index 7b3c7a5..5cb8bd8 100644
--- a/ambari-web/app/views/main/service/item.js
+++ b/ambari-web/app/views/main/service/item.js
@@ -89,7 +89,7 @@ App.MainServiceItemView = Em.View.extend({
         action: App.get('isHaEnabled') ? 'disableHighAvailability' : 'enableHighAvailability',
         label: App.get('isHaEnabled') ? Em.I18n.t('admin.highAvailability.button.disable') : Em.I18n.t('admin.highAvailability.button.enable'),
         cssClass: App.get('isHaEnabled') ? 'icon-arrow-down' : 'icon-arrow-up',
-        isHidden: (App.get('isHaEnabled') && !App.get('supports.autoRollbackHA'))
+        isHidden: (App.get('isHaEnabled') || (/^1.3/.test(App.get('currentStackVersionNumber'))))
       },
       TOGGLE_RM_HA: {
         action: 'enableRMHighAvailability',