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/a0fff847
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a0fff847
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a0fff847

Branch: refs/heads/branch-dev-patch-upgrade
Commit: a0fff8472a3e60972a0ae57d30c09e867d86ad0f
Parents: 6fb1cee
Author: Aleksandr Kovalenko <[email protected]>
Authored: Wed Sep 28 13:25:02 2016 +0300
Committer: Aleksandr Kovalenko <[email protected]>
Committed: Wed Sep 28 13:25:02 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/a0fff847/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');

Reply via email to