Repository: ambari Updated Branches: refs/heads/branch-2.5 1f0c25493 -> dbf97c8bc
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/dbf97c8b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dbf97c8b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dbf97c8b Branch: refs/heads/branch-2.5 Commit: dbf97c8bc1ce811cba3318e2b69de39ad1822640 Parents: 1f0c254 Author: Aleksandr Kovalenko <[email protected]> Authored: Wed Sep 28 13:25:02 2016 +0300 Committer: Aleksandr Kovalenko <[email protected]> Committed: Wed Sep 28 14:48:16 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/dbf97c8b/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');
