Repository: incubator-eagle Updated Branches: refs/heads/master 9a5cdb26d -> db28ae2b2
[MINOR] Add missing apache license Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/db28ae2b Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/db28ae2b Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/db28ae2b Branch: refs/heads/master Commit: db28ae2b280387d88b3b922dbce0912adbadf6b9 Parents: 9a5cdb2 Author: Hao Chen <h...@apache.org> Authored: Wed Nov 9 19:23:45 2016 +0800 Committer: Hao Chen <h...@apache.org> Committed: Wed Nov 9 19:23:45 2016 +0800 ---------------------------------------------------------------------- eagle-external/hadoop_jmx_collectd/README.md | 19 +++++++++++++++++++ eagle-external/hadoop_jmx_collectd/hadoop.py | 18 +++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/db28ae2b/eagle-external/hadoop_jmx_collectd/README.md ---------------------------------------------------------------------- diff --git a/eagle-external/hadoop_jmx_collectd/README.md b/eagle-external/hadoop_jmx_collectd/README.md index beab2c9..9573712 100755 --- a/eagle-external/hadoop_jmx_collectd/README.md +++ b/eagle-external/hadoop_jmx_collectd/README.md @@ -1,3 +1,22 @@ +<!-- +{% comment %} +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +--> + #**A manual for hadoop plugin of collectd** Collectd website referto [collectd.org](collectd.org) http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/db28ae2b/eagle-external/hadoop_jmx_collectd/hadoop.py ---------------------------------------------------------------------- diff --git a/eagle-external/hadoop_jmx_collectd/hadoop.py b/eagle-external/hadoop_jmx_collectd/hadoop.py index 8684e66..80c3277 100755 --- a/eagle-external/hadoop_jmx_collectd/hadoop.py +++ b/eagle-external/hadoop_jmx_collectd/hadoop.py @@ -1,4 +1,20 @@ -#! /usr/bin/python +# !/usr/bin/python +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import urllib2 import json