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/07/23 14:52:36 UTC

git commit: AMBARI-6575. Linked Ganglia charts from Host Details page don't show any graphs (except on NameNode host) (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk d8056bda2 -> b459ea865


AMBARI-6575. Linked Ganglia charts from Host Details page don't show any graphs (except on NameNode host) (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b459ea86
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b459ea86
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b459ea86

Branch: refs/heads/trunk
Commit: b459ea8653319cd3e4180e1254810e0e8638c9b9
Parents: d8056bd
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Jul 23 15:49:28 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jul 23 15:52:25 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/views/main/host/summary.js         | 2 +-
 ambari-web/app/views/main/service/info/summary.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b459ea86/ambari-web/app/views/main/host/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/summary.js b/ambari-web/app/views/main/host/summary.js
index 4609b66..90ce1e7 100644
--- a/ambari-web/app/views/main/host/summary.js
+++ b/ambari-web/app/views/main/host/summary.js
@@ -55,7 +55,7 @@ App.MainHostSummaryView = Em.View.extend({
 
   showGangliaCharts: function () {
     var name = this.get('content.hostName');
-    var gangliaMobileUrl = App.router.get('clusterController.gangliaUrl') + "/mobile_helper.php?show_host_metrics=1&h=" + name + "&c=HDPNameNode&r=hour&cs=&ce=";
+    var gangliaMobileUrl = App.router.get('clusterController.gangliaUrl') + "/mobile_helper.php?show_host_metrics=1&h=" + name + "&c=HDPSlaves&r=hour&cs=&ce=";
     window.open(gangliaMobileUrl);
   },
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/b459ea86/ambari-web/app/views/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/summary.js b/ambari-web/app/views/main/service/info/summary.js
index 2bd6152..3d9a3f9 100644
--- a/ambari-web/app/views/main/service/info/summary.js
+++ b/ambari-web/app/views/main/service/info/summary.js
@@ -371,7 +371,7 @@ App.MainServiceInfoSummaryView = Em.View.extend({
     if (svcName) {
       switch (svcName.toLowerCase()) {
         case 'hdfs':
-          gangliaUrl += "/?r=hour&cs=&ce=&m=&s=by+name&c=HDPNameNode&tab=m&vn=";
+          gangliaUrl += "/?r=hour&cs=&ce=&m=&s=by+name&c=HDPSlaves&tab=m&vn=";
           break;
         case 'mapreduce':
           gangliaUrl += "/?r=hour&cs=&ce=&m=&s=by+name&c=HDPJobTracker&tab=m&vn=";