Repository: eagle
Updated Branches:
  refs/heads/master 83d9c8277 -> 7681287cb


[EAGLE-897] HBase JMX Widget Url is wrongly using siteName instead of siteId

[EAGLE-897]HBase JMX Widget Url is wrongly using siteName instead of siteId
- Use siteId instead of siteName in hyperlink.

https://issues.apache.org/jira/browse/EAGLE-897

Author: chitin <[email protected]>

Closes #804 from chitin/eagle897.


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

Branch: refs/heads/master
Commit: 7681287cb2e3b841f7d35a9d1c760d840cca676c
Parents: 83d9c82
Author: chitin <[email protected]>
Authored: Wed Feb 15 22:48:21 2017 +0800
Committer: Hao Chen <[email protected]>
Committed: Wed Feb 15 22:48:21 2017 +0800

----------------------------------------------------------------------
 .../webapp/app/apps/hadoop_metric/widgets/availabilityChart.js   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/7681287c/eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/widgets/availabilityChart.js
----------------------------------------------------------------------
diff --git 
a/eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/widgets/availabilityChart.js
 
b/eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/widgets/availabilityChart.js
index 69c39e6..2359c59 100644
--- 
a/eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/widgets/availabilityChart.js
+++ 
b/eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/widgets/availabilityChart.js
@@ -103,7 +103,7 @@
                                    '<div class="inner">' +
                                        '<h3>{{type}}</h3>' +
                                        '<div ng-show="hmasteractivenum" 
class="hadoopMetric-widget-detail">' +
-                                               '<a 
ui-sref="HadoopMetric({siteId: site.siteName})">' +
+                                               '<a 
ui-sref="HadoopMetric({siteId: site.siteId})">' +
                                            
'<span>{{hmasteractivenum+hmasterstandbynum}}</span> Masters (' +
                                            '<span 
ng-show="hmasteractivenum">{{hmasteractivenum}}</span><span 
ng-show="!hmasteractivenum">0</span> Active / ' +
                                            '<span 
ng-show="hmasterstandbynum">{{hmasterstandbynum}}</span><span 
ng-show="!hmasterstandbynum">0</span> Standby)' +
@@ -113,7 +113,7 @@
                                           '<span class="fa 
fa-question-circle"></span><span> NO DATA</span>' +
                                        '</div>' +
                                        '<div ng-show="hmasteractivenum" 
class="hadoopMetric-widget-detail">' +
-                                           '<a ui-sref="regionList({siteId: 
site.siteName})">' +
+                                           '<a ui-sref="regionList({siteId: 
site.siteId})">' +
                                            
'<span>{{regionserverhealtynum+regionserverunhealtynum}}</span> RegionServers 
(' +
                                            '<span 
ng-show="regionserverhealtynum">{{regionserverhealtynum}}</span><span 
ng-show="!regionserverhealtynum">0</span> Healthy / ' +
                                            '<span 
ng-show="regionserverunhealtynum">{{regionserverunhealtynum}}</span><span 
ng-show="!regionserverunhealtynum">0</span> Unhealthy)' +

Reply via email to