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/06/12 19:35:28 UTC
git commit: AMBARI-6101. Oozie UI quick link directed to wrong host
URL (Buzhor Denys via alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk d7246f095 -> f22493a9c
AMBARI-6101. Oozie UI quick link directed to wrong host URL (Buzhor Denys via alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f22493a9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f22493a9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f22493a9
Branch: refs/heads/trunk
Commit: f22493a9c739d19a123235b9c50da24645136d80
Parents: d7246f0
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Jun 12 20:24:58 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Thu Jun 12 20:25:22 2014 +0300
----------------------------------------------------------------------
ambari-web/app/views/common/quick_view_link_view.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/f22493a9/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js
index dec05c3..247d246 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -132,7 +132,7 @@ App.QuickViewLinks = Em.View.extend({
case "GANGLIA":
case "NAGIOS":
case "HUE":
- hosts[0] = App.singleNodeInstall ? App.singleNodeAlias : response.items[0].Hosts.public_host_name;
+ hosts[0] = App.singleNodeInstall ? App.singleNodeAlias : this.findComponentHost(response.items, this.get('content.hostComponents').findProperty('isMaster', true).get('componentName'));
break;
case "HBASE":
var masterComponents = response.items.filter(function (item) {