eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject incubator-eagle git commit: [MINOR] Fix jmx listener bug
Date Wed, 30 Nov 2016 05:14:47 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/master e7a80deb0 -> f39ffe915


[MINOR] Fix jmx listener bug


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

Branch: refs/heads/master
Commit: f39ffe9151cee6bb363515f88aef1cfe62484171
Parents: e7a80de
Author: Hao Chen <hao@apache.org>
Authored: Wed Nov 30 13:14:33 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Wed Nov 30 13:14:33 2016 +0800

----------------------------------------------------------------------
 eagle-external/hadoop_jmx_collector/metric_collector.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/f39ffe91/eagle-external/hadoop_jmx_collector/metric_collector.py
----------------------------------------------------------------------
diff --git a/eagle-external/hadoop_jmx_collector/metric_collector.py b/eagle-external/hadoop_jmx_collector/metric_collector.py
index 9a4a618..2e1520a 100644
--- a/eagle-external/hadoop_jmx_collector/metric_collector.py
+++ b/eagle-external/hadoop_jmx_collector/metric_collector.py
@@ -313,7 +313,6 @@ class JmxMetricCollector(MetricCollector):
                 input["https"] = False
 
         self.selected_domain = [s.encode('utf-8') for s in config[u'filter'].get('monitoring.group.selected')]
-        self.listeners = []
 
     def register(self, *listeners):
         """
@@ -351,7 +350,6 @@ class JmxMetricCollector(MetricCollector):
         context = bean.get("tag.Context", "")
         metric_prefix_name = self.__build_metric_prefix(mbean_attribute, context)
 
-        # print kafka_dict
         for key, value in bean.iteritems():
             self.on_bean_kv(metric_prefix_name, component,key, value)
 


Mime
View raw message