Repository: incubator-eagle Updated Branches: refs/heads/branch-0.3 8183edad3 -> d75050124
[EAGLE-356] Fix Authentication problem to query resource manager web service Author: Hao Chen <[email protected]> Closes #252 from haoch/patch-1. Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/d7505012 Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/d7505012 Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/d7505012 Branch: refs/heads/branch-0.3 Commit: d750501242df6be408ace4baa50286ae948bfea4 Parents: 8183eda Author: Hao Chen <[email protected]> Authored: Thu Jul 7 15:18:40 2016 +0800 Committer: Hao Chen <[email protected]> Committed: Thu Jul 7 15:18:40 2016 +0800 ---------------------------------------------------------------------- eagle-external/hadoop_jmx_collector/metric_collector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/d7505012/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 939b811..39920b3 100644 --- a/eagle-external/hadoop_jmx_collector/metric_collector.py +++ b/eagle-external/hadoop_jmx_collector/metric_collector.py @@ -162,7 +162,7 @@ class YarnWSReader: self.https = https def read_cluster_info(self): - cluster_info = Helper.http_get(self.host, self.port, self.https, "/ws/v1/cluster/info") + cluster_info = Helper.http_get(self.host, self.port, self.https, "/ws/v1/cluster/info?anonymous=true") logging.debug(cluster_info) return json.loads(cluster_info) @@ -351,4 +351,4 @@ class JmxMetricListener: pass def on_metric(self, metric): - pass \ No newline at end of file + pass
