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: EAGLE-138 Fix JMX Collector util_func bug
Date Fri, 22 Jan 2016 15:04:49 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/master 4688a9ccb -> 52a89dc6d


EAGLE-138 Fix JMX Collector util_func bug

https://issues.apache.org/jira/browse/EAGLE-138

Closes #74


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

Branch: refs/heads/master
Commit: 52a89dc6d15ed18177256fec0326833dc6c846fb
Parents: 4688a9c
Author: Hao Chen <hao@apache.org>
Authored: Fri Jan 22 23:03:58 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Fri Jan 22 23:03:58 2016 +0800

----------------------------------------------------------------------
 eagle-external/hadoop_jmx_collector/util_func.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/52a89dc6/eagle-external/hadoop_jmx_collector/util_func.py
----------------------------------------------------------------------
diff --git a/eagle-external/hadoop_jmx_collector/util_func.py b/eagle-external/hadoop_jmx_collector/util_func.py
index 5994a36..bebc2ed 100644
--- a/eagle-external/hadoop_jmx_collector/util_func.py
+++ b/eagle-external/hadoop_jmx_collector/util_func.py
@@ -55,7 +55,7 @@ def load_config(filename):
     script_dir = os.path.dirname(__file__)
     rel_path = "./" + filename
     abs_file_path = os.path.join(script_dir, rel_path)
-    f = open(filename, 'r')
+    f = open(abs_file_path, 'r')
     json_file = f.read()
     f.close()
     #print json_file


Mime
View raw message