From b9af522c2a61fd6e957cffc2aef48d28a6b3e8a8 Mon Sep 17 00:00:00 2001 From: Aaron Myers Date: Thu, 15 Sep 2011 18:28:29 +0000 Subject: [PATCH] HADOOP-7641. Add Apache License to template config files (Eric Yang via atm) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1171213 13f79535-47bb-0310-9956-ffa450edef68 --- .../hadoop-common/CHANGES.txt | 2 ++ .../templates/conf/capacity-scheduler.xml | 20 ++++++++++++++++++ .../templates/conf/commons-logging.properties | 18 ++++++++++++++++ .../packages/templates/conf/core-site.xml | 20 ++++++++++++++++++ .../packages/templates/conf/hadoop-env.sh | 18 ++++++++++++++++ .../packages/templates/conf/hadoop-policy.xml | 21 +++++++++++++++++++ .../packages/templates/conf/hdfs-site.xml | 21 +++++++++++++++++++ .../templates/conf/mapred-queue-acls.xml | 21 +++++++++++++++++++ .../packages/templates/conf/mapred-site.xml | 21 +++++++++++++++++++ .../templates/conf/taskcontroller.cfg | 18 ++++++++++++++++ 10 files changed, 180 insertions(+) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index c25e159eb0..20ca2404ca 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -18,6 +18,8 @@ Trunk (unreleased changes) HADOOP-7610. Fix for hadoop debian package (Eric Yang via gkesavan) + HADOOP-7641. Add Apache License to template config files (Eric Yang via atm) + Release 0.23.0 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/capacity-scheduler.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/capacity-scheduler.xml index 1bf8e8fb7c..3923581376 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/capacity-scheduler.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/capacity-scheduler.xml @@ -1,5 +1,25 @@ + diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/commons-logging.properties b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/commons-logging.properties index 4b27c824a9..0fa72489ee 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/commons-logging.properties +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/commons-logging.properties @@ -1,3 +1,21 @@ +# Copyright 2011 The Apache Software Foundation +# +# 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. + #Logging Implementation #Log4J diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/core-site.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/core-site.xml index a9ba524819..d2f040c535 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/core-site.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/core-site.xml @@ -1,6 +1,26 @@ + diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh index 1739452457..e14ca285d2 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh @@ -1,3 +1,21 @@ +# Copyright 2011 The Apache Software Foundation +# +# 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. + # Set Hadoop-specific environment variables here. # The only required environment variable is JAVA_HOME. All others are diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-policy.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-policy.xml index fc5c756928..7708f01aec 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-policy.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-policy.xml @@ -1,5 +1,26 @@ + diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml index ca9dae7d8b..69e078380c 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml @@ -1,5 +1,26 @@ + diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-queue-acls.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-queue-acls.xml index f3ab194ae2..db2a7362b4 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-queue-acls.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-queue-acls.xml @@ -1,5 +1,26 @@ + mapred.queue.default.acl-submit-job diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-site.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-site.xml index 9cee589165..8c0f61653b 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-site.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/mapred-site.xml @@ -1,5 +1,26 @@ + diff --git a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/taskcontroller.cfg b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/taskcontroller.cfg index 428e46295b..b8a38598cb 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/taskcontroller.cfg +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/taskcontroller.cfg @@ -1,3 +1,21 @@ +# Copyright 2011 The Apache Software Foundation +# +# 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. + mapreduce.cluster.local.dir=${HADOOP_MAPRED_DIR} mapreduce.tasktracker.group=${HADOOP_GROUP} hadoop.log.dir=${HADOOP_LOG_DIR}/${HADOOP_MR_USER}