You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eagle.apache.org by ha...@apache.org on 2016/11/30 04:26:35 UTC
incubator-eagle git commit: [MINOR] Access resource manager REST API
anonymously
Repository: incubator-eagle
Updated Branches:
refs/heads/master 10572c296 -> e7a80deb0
[MINOR] Access resource manager REST API anonymously
Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/e7a80deb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/e7a80deb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/e7a80deb
Branch: refs/heads/master
Commit: e7a80deb051cdd15a87a13ec7e1956a4704d53a0
Parents: 10572c2
Author: Hao Chen <ha...@apache.org>
Authored: Wed Nov 30 12:26:22 2016 +0800
Committer: Hao Chen <ha...@apache.org>
Committed: Wed Nov 30 12:26:22 2016 +0800
----------------------------------------------------------------------
eagle-external/hadoop_jmx_collector/metric_collector.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/e7a80deb/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 45a3877..9a4a618 100644
--- a/eagle-external/hadoop_jmx_collector/metric_collector.py
+++ b/eagle-external/hadoop_jmx_collector/metric_collector.py
@@ -164,7 +164,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)