ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-18455. Ambari dashboard HDFS links widget incorrectly shows 2 standby namenode (akovalenko)
Date Wed, 28 Sep 2016 11:37:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6fb1ceef6 -> a0fff8472


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/trunk
Commit: a0fff8472a3e60972a0ae57d30c09e867d86ad0f
Parents: 6fb1cee
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Wed Sep 28 13:25:02 2016 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
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');


Mime
View raw message