Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0EAEA200BEF for ; Wed, 4 Jan 2017 08:52:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0D56B160B4C; Wed, 4 Jan 2017 07:52:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 86914160B39 for ; Wed, 4 Jan 2017 08:52:18 +0100 (CET) Received: (qmail 26004 invoked by uid 500); 4 Jan 2017 07:52:17 -0000 Mailing-List: contact issues-help@eagle.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.apache.org Delivered-To: mailing list issues@eagle.apache.org Received: (qmail 25988 invoked by uid 99); 4 Jan 2017 07:52:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 07:52:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 886D4DFADF; Wed, 4 Jan 2017 07:52:17 +0000 (UTC) From: zombieJ To: issues@eagle.apache.org Reply-To: issues@eagle.apache.org References: In-Reply-To: Subject: [GitHub] eagle pull request #753: EAGLE-845 JMX Dashboard Content-Type: text/plain Message-Id: <20170104075217.886D4DFADF@git1-us-west.apache.org> Date: Wed, 4 Jan 2017 07:52:17 +0000 (UTC) archived-at: Wed, 04 Jan 2017 07:52:19 -0000 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. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---