Repository: ambari Updated Branches: refs/heads/branch-2.4 20d488742 -> f26f541e9
AMBARI-18455. Ambari dashboard HDFS links widget incorrectly shows 2 standby namenode (akovalenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f26f541e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f26f541e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f26f541e Branch: refs/heads/branch-2.4 Commit: f26f541e90ccbcc7b85d1f256d9500a6a584b415 Parents: 20d4887 Author: Aleksandr Kovalenko <[email protected]> Authored: Wed Sep 28 13:25:02 2016 +0300 Committer: Aleksandr Kovalenko <[email protected]> Committed: Wed Sep 28 14:51:19 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/views/main/dashboard/widgets/hdfs_links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/f26f541e/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js b/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js index 128b997..cfe5eb1 100644 --- a/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js +++ b/ambari-web/app/views/main/dashboard/widgets/hdfs_links.js @@ -43,7 +43,7 @@ App.HDFSLinksView = App.LinkDashboardWidgetView.extend({ isStandbyNNValid: Em.computed.bool('model.standbyNameNode'), - isTwoStandbyNN: Em.computed.and('isActiveNNValid', 'isStandbyNNValid'), + isTwoStandbyNN: Em.computed.and('model.standbyNameNode', 'model.standbyNameNode2'), twoStandbyComponent: function () { return App.HostComponent.find().findProperty('componentName', 'NAMENODE');
