[
https://issues.apache.org/jira/browse/EAGLE-845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15797492#comment-15797492
]
ASF GitHub Bot commented on EAGLE-845:
--------------------------------------
Github user zombieJ commented on a diff in the pull request:
https://github.com/apache/eagle/pull/753#discussion_r94539902
--- Diff:
eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/ctrls/overview.js ---
@@ -21,52 +21,193 @@
* `register` without params will load the module which using require
*/
register(function (hadoopMetricApp) {
- hadoopMetricApp.controller("overviewCtrl", function ($scope,
PageConfig) {
+ hadoopMetricApp.controller("overviewCtrl", function ($q,
$wrapState, $scope, PageConfig, METRIC, Time) {
+ var cache = {};
+ var mapRes = common.map2;
+ $scope.site = $wrapState.param.siteId;
+ var activeMasterInfo =
METRIC.hbaseActiveMaster($scope.site);
+ var metricMap = common.map1;
--- End diff --
* You can't modifiy `common` library for application usage.
* `map1` is magic name.
> JMX Dashboard
> -------------
>
> Key: EAGLE-845
> URL: https://issues.apache.org/jira/browse/EAGLE-845
> Project: Eagle
> Issue Type: New Feature
> Components: Hadoop JMX Monitor, Web UI
> Reporter: JiJun Tang
> Assignee: Lingang Deng
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)