Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BIGTOP-2 Adding/updating license headers for ASF.

Some files still do not have the license header, due to not having
comments available. Also, the Debian copyright files are not yet
updated because I didn't know the correct format/content for them.


git-svn-id: https://svn.apache.org/repos/asf/incubator/bigtop/trunk@1153234 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit c96a6d0c691194f79b5199753b10f111f9206f2b 1 parent 1faa972
Andrew Bayer authored
Showing with 3,044 additions and 730 deletions.
  1. +15 −0 DEVNOTES
  2. +15 −0 Makefile
  3. +15 −0 NOTICE
  4. +15 −0 bigtop.mk
  5. +16 −0 check-env.sh
  6. +15 −0 package.mk
  7. +6 −7 src/pkg/common/flume/install_flume.sh
  8. +16 −1 src/pkg/common/hadoop/conf.pseudo/README
  9. +16 −0 src/pkg/common/hadoop/conf.pseudo/core-site.xml
  10. +15 −0 src/pkg/common/hadoop/conf.pseudo/hadoop-metrics.properties
  11. +16 −0 src/pkg/common/hadoop/conf.pseudo/hdfs-site.xml
  12. +16 −0 src/pkg/common/hadoop/conf.pseudo/mapred-site.xml
  13. +16 −0 src/pkg/common/hadoop/conf.secure/configuration.xsl
  14. +16 −0 src/pkg/common/hadoop/conf.secure/core-site.xml
  15. +16 −1 src/pkg/common/hadoop/conf.secure/hadoop-env.sh
  16. +15 −0 src/pkg/common/hadoop/conf.secure/hadoop-metrics.properties
  17. +16 −0 src/pkg/common/hadoop/conf.secure/hadoop-policy.xml
  18. +16 −0 src/pkg/common/hadoop/conf.secure/hdfs-site.xml
  19. +15 −0 src/pkg/common/hadoop/conf.secure/log4j.properties
  20. +16 −0 src/pkg/common/hadoop/conf.secure/mapred-queue-acls.xml
  21. +16 −0 src/pkg/common/hadoop/conf.secure/mapred-site.xml
  22. +15 −0 src/pkg/common/hadoop/conf.secure/masters
  23. +15 −0 src/pkg/common/hadoop/conf.secure/slaves
  24. +15 −0 src/pkg/common/hadoop/conf.secure/taskcontroller.cfg
  25. +15 −0 src/pkg/common/hadoop/hadoop-fuse-dfs.1
  26. +15 −0 src/pkg/common/hadoop/hadoop.1
  27. +15 −0 src/pkg/common/hadoop/hadoop.default
  28. +14 −1 src/pkg/common/hadoop/install_hadoop.sh
  29. +15 −0 src/pkg/common/hbase/hbase.1
  30. +16 −1 src/pkg/common/hbase/install_hbase.sh
  31. +15 −0 src/pkg/common/hive/hadoop-hive-metastore.default
  32. +15 −0 src/pkg/common/hive/hadoop-hive-server.default
  33. +13 −11 src/pkg/common/hive/hadoop-hive.sh
  34. +13 −12 src/pkg/common/hive/hadoop-hive.sh.suse
  35. +16 −0 src/pkg/common/hive/hive-site.xml
  36. +15 −0 src/pkg/common/hive/hive.1
  37. +15 −1 src/pkg/common/hive/install_hive.sh
  38. +13 −16 src/pkg/common/oozie/create-package-layout
  39. +12 −16 src/pkg/common/oozie/do-release-build
  40. +13 −12 src/pkg/common/oozie/oozie-env.sh
  41. +12 −16 src/pkg/common/oozie/oozie-examples.sh
  42. +15 −0 src/pkg/common/oozie/oozie.1
  43. +13 −11 src/pkg/common/oozie/oozie.init
  44. +16 −1 src/pkg/common/pig/install_pig.sh
  45. +15 −0 src/pkg/common/pig/log4j.properties
  46. +15 −0 src/pkg/common/pig/pig.1
  47. +15 −0 src/pkg/common/pig/pig.properties
  48. +16 −1 src/pkg/common/sqoop/install_sqoop.sh
  49. +14 −12 src/pkg/common/sqoop/sqoop-metastore.sh
  50. +14 −13 src/pkg/common/sqoop/sqoop-metastore.sh.suse
  51. +16 −1 src/pkg/common/whirr/install_whirr.sh
  52. +16 −1 src/pkg/common/whirr/whirr.1
  53. +14 −12 src/pkg/common/zookeeper/hadoop-zookeeper.sh
  54. +13 −12 src/pkg/common/zookeeper/hadoop-zookeeper.sh.suse
  55. +16 −1 src/pkg/common/zookeeper/install_zookeeper.sh
  56. +16 −1 src/pkg/common/zookeeper/zookeeper.1
  57. +15 −0 src/pkg/deb/flume/control
  58. +12 −11 src/pkg/deb/flume/flume-master.init
  59. +12 −11 src/pkg/deb/flume/flume-node.init
  60. +16 −0 src/pkg/deb/flume/flume.postinst
  61. +16 −0 src/pkg/deb/flume/flume.preinst
  62. +16 −0 src/pkg/deb/flume/rules
  63. +14 −1 src/pkg/deb/hadoop/append_licenses.sh
  64. +15 −0 src/pkg/deb/hadoop/control
  65. +16 −0 src/pkg/deb/hadoop/hadoop-conf-pseudo.postinst
  66. +16 −0 src/pkg/deb/hadoop/hadoop-conf-pseudo.prerm
  67. +16 −0 src/pkg/deb/hadoop/hadoop.postinst
  68. +16 −0 src/pkg/deb/hadoop/hadoop.preinst
  69. +16 −0 src/pkg/deb/hadoop/hadoop.prerm
  70. +15 −0 src/pkg/deb/hadoop/install_init_scripts.sh
  71. +16 −0 src/pkg/deb/hadoop/rules
  72. +15 −0 src/pkg/deb/hadoop/service-init.d.tpl
  73. +16 −0 src/pkg/deb/hadoop/service-postinst.tpl
  74. +16 −0 src/pkg/deb/hadoop/service-postrm.tpl
  75. +14 −0 src/pkg/deb/hbase/control
  76. +16 −0 src/pkg/deb/hbase/hadoop-hbase.postinst
  77. +16 −0 src/pkg/deb/hbase/hadoop-hbase.preinst
  78. +16 −0 src/pkg/deb/hbase/hadoop-hbase.prerm
  79. +15 −0 src/pkg/deb/hbase/install_init_scripts.sh
  80. +16 −0 src/pkg/deb/hbase/rules
  81. +15 −0 src/pkg/deb/hbase/service-init.d.tpl
  82. +16 −0 src/pkg/deb/hbase/service-postinst.tpl
  83. +16 −0 src/pkg/deb/hbase/service-postrm.tpl
  84. +15 −0 src/pkg/deb/hive/control
  85. +16 −0 src/pkg/deb/hive/hadoop-hive.postinst
  86. +16 −0 src/pkg/deb/hive/hadoop-hive.preinst
  87. +16 −0 src/pkg/deb/hive/hadoop-hive.prerm
  88. +15 −0 src/pkg/deb/hive/install_init_scripts.sh
  89. +16 −0 src/pkg/deb/hive/rules
  90. +15 −0 src/pkg/deb/hive/service-init.d.tpl
  91. +16 −0 src/pkg/deb/hive/service-postinst.tpl
  92. +16 −0 src/pkg/deb/hive/service-postrm.tpl
  93. +14 −0 src/pkg/deb/oozie/control
  94. +16 −0 src/pkg/deb/oozie/oozie.postinst
  95. +16 −0 src/pkg/deb/oozie/oozie.postrm
  96. +16 −0 src/pkg/deb/oozie/oozie.preinst
  97. +16 −0 src/pkg/deb/oozie/rules
  98. +14 −0 src/pkg/deb/sqoop/control
  99. +16 −0 src/pkg/deb/sqoop/rules
  100. +13 −11 src/pkg/deb/sqoop/sqoop-metastore.init
  101. +16 −0 src/pkg/deb/sqoop/sqoop-metastore.postinst
  102. +16 −0 src/pkg/deb/sqoop/sqoop-metastore.preinst
  103. +14 −0 src/pkg/deb/whirr/control
  104. +16 −0 src/pkg/deb/whirr/rules
  105. +14 −0 src/pkg/deb/zookeeper/control
  106. +13 −11 src/pkg/deb/zookeeper/hadoop-zookeeper-server.init
  107. +16 −0 src/pkg/deb/zookeeper/hadoop-zookeeper.postinst
  108. +16 −0 src/pkg/deb/zookeeper/hadoop-zookeeper.preinst
  109. +16 −0 src/pkg/deb/zookeeper/rules
  110. +12 −11 src/pkg/rpm/flume/SOURCES/init.d
  111. +12 −11 src/pkg/rpm/flume/SOURCES/init.d.suse
  112. +14 −0 src/pkg/rpm/flume/SPECS/flume.spec
  113. +14 −13 src/pkg/rpm/hadoop/SOURCES/hadoop-init.tmpl
  114. +12 −11 src/pkg/rpm/hadoop/SOURCES/hadoop-init.tmpl.suse
  115. +14 −0 src/pkg/rpm/hadoop/SPECS/hadoop.spec
  116. +13 −11 src/pkg/rpm/hbase/SOURCES/hadoop-hbase.sh
  117. +12 −11 src/pkg/rpm/hbase/SOURCES/hadoop-hbase.sh.suse
  118. +14 −0 src/pkg/rpm/hbase/SPECS/hbase.spec
  119. +15 −1 src/pkg/rpm/hive/SOURCES/install_hive.sh
  120. +14 −0 src/pkg/rpm/hive/SPECS/hive.spec
  121. +14 −0 src/pkg/rpm/oozie/SPECS/oozie.spec
  122. +14 −0 src/pkg/rpm/pig/SPECS/pig.spec
  123. +14 −0 src/pkg/rpm/sqoop/SPECS/sqoop.spec
  124. +14 −0 src/pkg/rpm/whirr/SPECS/whirr.spec
  125. +14 −0 src/pkg/rpm/zookeeper/SPECS/zookeeper.spec
  126. +16 −0 src/repos/distributions
  127. +18 −1 test/NOTICE.txt
  128. +15 −13 test/site/pom.xml
  129. +16 −0 test/src/integration/sqoop/pom.xml
  130. +11 −10 .../src/integration/sqoop/src/test/groovy/com/cloudera/itest/integration/sqoop/IntegrationTestSqoopHive.groovy
  131. +15 −0 test/src/integration/sqoop/src/test/resources/hbase-sqoop/mysql-create-db.sql
  132. +15 −0 test/src/integration/sqoop/src/test/resources/hbase-sqoop/mysql-load-db.sql
  133. +15 −0 test/src/integration/sqoop/src/test/resources/hive-sqoop/mysql-create-db.sql
  134. +15 −0 test/src/integration/sqoop/src/test/resources/hive-sqoop/mysql-load-db.sql
  135. +15 −0 test/src/itest-common/README
  136. +16 −14 test/src/itest-common/pom.xml
  137. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/JUnitUtils.groovy
  138. +16 −14 test/src/itest-common/src/main/groovy/com/cloudera/itest/JarContent.groovy
  139. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/TestListUtils.groovy
  140. +17 −3 test/src/itest-common/src/main/groovy/com/cloudera/itest/junit/OrderedParameterized.java
  141. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/AptCmdLinePackageManager.groovy
  142. +16 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/DEBPackage.groovy
  143. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/ManagedPackage.groovy
  144. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/PackageInstance.groovy
  145. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/PackageManager.groovy
  146. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/RPMPackage.groovy
  147. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/YumCmdLinePackageManager.groovy
  148. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/pmanager/ZypperCmdLinePackageManager.groovy
  149. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/posix/Alternative.groovy
  150. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/posix/Service.groovy
  151. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/posix/UGI.groovy
  152. +17 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/shell/OS.groovy
  153. +16 −13 test/src/itest-common/src/main/groovy/com/cloudera/itest/shell/Shell.groovy
  154. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/DummyTestError.groovy
  155. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/DummyTestFail.groovy
  156. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/DummyTestPass.groovy
  157. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/JUnitUtilsTest.groovy
  158. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/JarContentTest.groovy
  159. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/TestListUtilsTest.groovy
  160. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/junit/OrderedParameterizedTest.groovy
  161. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/pmanager/PackageManagerTest.groovy
  162. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/posix/AlternativeTest.groovy
  163. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/posix/ServiceTest.groovy
  164. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/posix/UGITest.groovy
  165. +17 −13 test/src/itest-common/src/test/groovy/com/cloudera/itest/shell/ShellTest.groovy
  166. +15 −0 test/src/smokes/README
  167. +16 −0 test/src/smokes/flume/pom.xml
  168. +16 −0 test/src/smokes/flume/src/test/resources/FlumeSmokeBzip2/flume-site.xml
  169. +16 −0 test/src/smokes/flume/src/test/resources/FlumeSmokeDeflate/flume-site.xml
  170. +16 −0 test/src/smokes/flume/src/test/resources/FlumeSmokeGzip/flume-site.xml
  171. +15 −0 test/src/smokes/hadoop/README
  172. +16 −0 test/src/smokes/hadoop/pom.xml
  173. +12 −11 test/src/smokes/hadoop/src/test/groovy/com/cloudera/itest/hadoopsmoke/TestHadoopSmoke.groovy
  174. +16 −0 test/src/smokes/hadoop/src/test/resources/map.sh
  175. +16 −0 test/src/smokes/hadoop/src/test/resources/testConfCluster.xml
  176. +16 −0 test/src/smokes/hbase/pom.xml
  177. +16 −0 test/src/smokes/hive/pom.xml
  178. +5 −6 test/src/smokes/hive/src/test/groovy/com/cloudera/itest/hivesmoke/HiveBulkScriptExecutor.groovy
  179. +10 −11 test/src/smokes/hive/src/test/groovy/com/cloudera/itest/hivesmoke/IntegrationTestHiveSmokeBulk.groovy
  180. +10 −11 test/src/smokes/hive/src/test/groovy/com/cloudera/itest/hivesmoke/TestHiveSmokeBulk.groovy
  181. +16 −0 test/src/smokes/hive/src/test/resources/seed_data_files/ml-data/allbut.pl
  182. +16 −0 test/src/smokes/hive/src/test/resources/seed_data_files/ml-data/mku.sh
  183. +16 −0 test/src/smokes/oozie/pom.xml
  184. +10 −10 test/src/smokes/oozie/src/test/groovy/com/cloudera/itest/ooziesmoke/TestOozieSmoke.groovy
  185. +16 −0 test/src/smokes/package/pom.xml
  186. +17 −0 test/src/smokes/pom.xml
  187. +15 −0 test/suites/README
  188. +17 −0 test/suites/common/pom.xml
  189. +16 −0 test/suites/conf/pom.xml
  190. +17 −0 test/suites/integration/pom.xml
  191. +16 −0 test/suites/integration/sqoop/pom.xml
  192. +16 −0 test/suites/package/pom.xml
  193. +16 −0 test/suites/smokes/flume/pom.xml
  194. +16 −0 test/suites/smokes/hadoop/pom.xml
  195. +16 −0 test/suites/smokes/hbase/pom.xml
  196. +16 −0 test/suites/smokes/hive/pom.xml
  197. +16 −0 test/suites/smokes/oozie/pom.xml
  198. +17 −0 test/suites/smokes/pig/pom.xml
  199. +17 −0 test/suites/smokes/pom.xml
  200. +16 −0 test/suites/smokes/sqoop/pom.xml
View
15 DEVNOTES
@@ -1,3 +1,18 @@
+# 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.
+
1. Debian
1.0. apt-get install -y git subversion build-essential dh-make debhelper devscripts ant ant-optional autoconf automake subversion liblzo2-dev libz-dev sharutils libfuse-dev reprepro
View
15 Makefile
@@ -1,3 +1,18 @@
+# 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.
+
BASE_DIR :=$(shell pwd)
BUILD_DIR ?=$(BASE_DIR)/build
DL_DIR ?=$(BASE_DIR)/dl
View
15 NOTICE
@@ -1,3 +1,18 @@
+# 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.
+
This product includes software developed by Cloudera, Inc.
(http://www.cloudera.com/).
View
15 bigtop.mk
@@ -1,3 +1,18 @@
+# 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.
+
BIGTOP_VERSION=1
# Hadoop 0.20.0-based hadoop package
View
16 check-env.sh
@@ -1,5 +1,21 @@
#!/usr/bin/env bash
+# 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.
+
+
if [ -z "$JAVA_HOME" ]; then
echo JAVA_HOME is not set
exit 1
View
15 package.mk
@@ -1,3 +1,18 @@
+# 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.
+
# Implicit targets
SHELL := /bin/bash
View
13 src/pkg/common/flume/install_flume.sh
@@ -1,11 +1,10 @@
#!/bin/sh
-# Licensed to Cloudera, Inc. under one5~
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. Cloudera, Inc. 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
+# 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
#
View
17 src/pkg/common/hadoop/conf.pseudo/README
@@ -1,7 +1,22 @@
+# 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.
+
The conf.pseudo example configuration is for a psuedo-distributed cluster.
A pseudo-distributed cluster is one in which all of the Hadoop daemons
run separately, but on a single node.
This is a good mode for developers to install on their own machines to
-ensure that their jobs will operate correctly on a real cluster.
+ensure that their jobs will operate correctly on a real cluster.
View
16 src/pkg/common/hadoop/conf.pseudo/core-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
View
15 src/pkg/common/hadoop/conf.pseudo/hadoop-metrics.properties
@@ -1,3 +1,18 @@
+# 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.
+
# Configuration of the "dfs" context for null
#dfs.class=org.apache.hadoop.metrics.spi.NullContext
View
16 src/pkg/common/hadoop/conf.pseudo/hdfs-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
View
16 src/pkg/common/hadoop/conf.pseudo/mapred-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
View
16 src/pkg/common/hadoop/conf.secure/configuration.xsl
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>
<xsl:template match="configuration">
View
16 src/pkg/common/hadoop/conf.secure/core-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
View
17 src/pkg/common/hadoop/conf.secure/hadoop-env.sh
@@ -1,5 +1,20 @@
-# Set Hadoop-specific environment variables here.
+# 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
# optional. When running a distributed configuration it is best to
# set JAVA_HOME in this file, so that it is correctly defined on
View
15 src/pkg/common/hadoop/conf.secure/hadoop-metrics.properties
@@ -1,3 +1,18 @@
+# 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.
+
# Configuration of the "dfs" context for null
dfs.class=org.apache.hadoop.metrics.spi.NullContext
View
16 src/pkg/common/hadoop/conf.secure/hadoop-policy.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
View
16 src/pkg/common/hadoop/conf.secure/hdfs-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
View
15 src/pkg/common/hadoop/conf.secure/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
# Define some default values that can be overridden by system properties
hadoop.root.logger=INFO,console
hadoop.log.dir=.
View
16 src/pkg/common/hadoop/conf.secure/mapred-queue-acls.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- This is a template file for queue acls configuration properties -->
View
16 src/pkg/common/hadoop/conf.secure/mapred-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
View
15 src/pkg/common/hadoop/conf.secure/masters
@@ -1 +1,16 @@
+# 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.
+
localhost
View
15 src/pkg/common/hadoop/conf.secure/slaves
@@ -1 +1,16 @@
+# 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.
+
localhost
View
15 src/pkg/common/hadoop/conf.secure/taskcontroller.cfg
@@ -1,3 +1,18 @@
+# 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.
+
mapred.local.dir=/var/lib/hadoop/cache/mapred/local
mapreduce.tasktracker.group=mapred
hadoop.log.dir=/var/log/hadoop
View
15 src/pkg/common/hadoop/hadoop-fuse-dfs.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii fuse_dfs.1
.\"
View
15 src/pkg/common/hadoop/hadoop.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
.\"
.\" Standard preamble:
View
15 src/pkg/common/hadoop/hadoop.default
@@ -1,3 +1,18 @@
+# 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.
+
export HADOOP_HOME=/usr/lib/hadoop
export HADOOP_NAMENODE_USER=hdfs
export HADOOP_SECONDARYNAMENODE_USER=hdfs
View
15 src/pkg/common/hadoop/install_hadoop.sh
@@ -1,5 +1,18 @@
#!/bin/bash -x
-# Copyright 2009 Cloudera, inc.
+# 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 -ex
View
15 src/pkg/common/hbase/hbase.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii hbase.1
.\"
View
17 src/pkg/common/hbase/install_hbase.sh
@@ -1,5 +1,20 @@
#!/bin/sh
-# Copyright 2009 Cloudera, inc.
+
+# 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 -ex
usage() {
View
15 src/pkg/common/hive/hadoop-hive-metastore.default
@@ -1,3 +1,18 @@
+# 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.
+
# The port for Hive metastore daemon to listen to.
# Unfortunatelly, there is no way to specify the interfaces
# to which the daemon binds.
View
15 src/pkg/common/hive/hadoop-hive-server.default
@@ -1,3 +1,18 @@
+# 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.
+
# The port for Hive server daemon to listen to.
# Unfortunatelly, there is no way to specify the interfaces
# to which the daemon binds.
View
24 src/pkg/common/hive/hadoop-hive.sh
@@ -1,18 +1,20 @@
#!/bin/bash
#
-# (c) Copyright 2011 Cloudera, Inc.
+# 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
#
-# Licensed 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
#
-# 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.
+# 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.
+
# chkconfig: 2345 85 15
# description:
# processname: hive
View
25 src/pkg/common/hive/hadoop-hive.sh.suse
@@ -1,19 +1,20 @@
#!/bin/bash
#
-# (c) Copyright 2009, 2010, 2011 Cloudera, Inc.
+# 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
#
-# Licensed 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.
+# 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.
+
# Starts a Hive @HIVE_DAEMON@
#
# chkconfig: 345 85 15
View
16 src/pkg/common/hive/hive-site.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ 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.
+-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
View
15 src/pkg/common/hive/hive.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii hive.1
.\"
View
16 src/pkg/common/hive/install_hive.sh
@@ -1,5 +1,19 @@
#!/bin/sh
-# Copyright 2009 Cloudera, inc.
+
+# 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.
usage() {
echo "
View
29 src/pkg/common/oozie/create-package-layout
@@ -1,22 +1,19 @@
#!/bin/sh
-#
-# Licensed to Cloudera, Inc. under one or more contributor license
-# agreements. See the NOTICE file distributed with this work for
-# additional information regarding copyright ownership. Cloudera,
-# Inc. 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.
+# 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
#
-# Copyright (c) 2010-2011 Cloudera, inc.
+# 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.
#
failIfNotOK() {
View
28 src/pkg/common/oozie/do-release-build
@@ -1,23 +1,19 @@
#!/usr/bin/env bash
-#
-# Licensed to Cloudera, Inc. under one or more contributor license
-# agreements. See the NOTICE file distributed with this work for
-# additional information regarding copyright ownership. Cloudera,
-# Inc. 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.
+# 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
#
-# Copyright (c) 2010 Cloudera, inc.
+# 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.
#
# Resolve source directory
View
25 src/pkg/common/oozie/oozie-env.sh
@@ -1,18 +1,19 @@
#! /bin/bash
+
+# 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
#
-# Copyright (c) 2010 Yahoo! Inc. All rights reserved.
-# Licensed 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. See accompanying LICENSE file.
+# 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.
export OOZIE_CONFIG=/etc/oozie
export OOZIE_DATA=/var/lib/oozie
View
28 src/pkg/common/oozie/oozie-examples.sh
@@ -1,23 +1,19 @@
#!/bin/sh
-#
-# Licensed to Cloudera, Inc. under one or more contributor license
-# agreements. See the NOTICE file distributed with this work for
-# additional information regarding copyright ownership. Cloudera,
-# Inc. 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.
+# 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
#
-# Copyright (c) 2011 Cloudera, inc.
+# 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.
#
# Resolve Oozie install directory
View
15 src/pkg/common/oozie/oozie.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii oozie.1
.\"
View
24 src/pkg/common/oozie/oozie.init
@@ -1,17 +1,19 @@
#! /bin/sh
+
+# 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
#
-# Licensed 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. See accompanying LICENSE file.
+# 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.
#
# Starts Oozie Server
#
View
17 src/pkg/common/pig/install_pig.sh
@@ -1,5 +1,20 @@
#!/bin/sh
-# Copyright 2009 Cloudera, inc.
+
+# 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 -e
usage() {
View
15 src/pkg/common/pig/log4j.properties
@@ -1,3 +1,18 @@
+# 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 root logger level to DEBUG and its only appender to A.
log4j.logger.org.apache.pig=info, A
View
15 src/pkg/common/pig/pig.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii pig.1
.\"
View
15 src/pkg/common/pig/pig.properties
@@ -1,3 +1,18 @@
+# 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.
+
# Pig configuration file. All values can be overwritten by command line arguments.
# see bin/pig -help
View
17 src/pkg/common/sqoop/install_sqoop.sh
@@ -1,5 +1,20 @@
#!/bin/sh
-# Copyright 2009 Cloudera, inc.
+
+# 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 -ex
usage() {
View
26 src/pkg/common/sqoop/sqoop-metastore.sh
@@ -1,18 +1,20 @@
#!/bin/bash
+
+# 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
#
-# (c) Copyright 2009 Cloudera, Inc.
-#
-# Licensed 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
+# 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.
+# 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.
+
# chkconfig: 2345 85 15
# description: Sqoop allows easy imports and exports of data sets between \
# databases and the Hadoop Distributed File System (HDFS). The Sqoop \
View
27 src/pkg/common/sqoop/sqoop-metastore.sh.suse
@@ -1,19 +1,20 @@
#!/bin/bash
+
+# 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
#
-# (c) Copyright 2009, 2010, 2011 Cloudera, Inc.
-#
-# Licensed 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.
+# 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.
+
# Starts a Hadoop @HADOOP_DAEMON@
#
# chkconfig: 2345 85 15
View
17 src/pkg/common/whirr/install_whirr.sh
@@ -1,5 +1,20 @@
#!/bin/sh
-# Copyright 2010 Cloudera, inc.
+
+# 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 -e
usage() {
View
17 src/pkg/common/whirr/whirr.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii whirr.1
.\"
@@ -70,4 +85,4 @@ The name of the service to use. E.g. 'hadoop'. A list of available services is
printed when the command is run with no arguments.
.SH COPYRIGHT
-Copyright (C) 2010 The Apache Software Foundation. All rights reserved.
+Copyright (C) 2010 The Apache Software Foundation. All rights reserved.
View
26 src/pkg/common/zookeeper/hadoop-zookeeper.sh
@@ -1,18 +1,20 @@
#!/bin/bash
+
+# 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
#
-# (c) Copyright 2009 Cloudera, Inc.
-#
-# Licensed 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
+# 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.
+# 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.
+
# chkconfig: 2345 85 15
# description: Summary: ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications. Each time they are implemented there is a lot of work that goes into fixing the bugs and race conditions that are inevitable. Because of the difficulty of implementing these kinds of services, applications initially usually skimp on them ,which make them brittle in the presence of change and difficult to manage. Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.
# processname: java
View
25 src/pkg/common/zookeeper/hadoop-zookeeper.sh.suse
@@ -1,18 +1,19 @@
#!/bin/bash
+
+# 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
#
-# (c) Copyright 2009, 2010, 2011 Cloudera, Inc.
-#
-# Licensed 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
+# 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.
+# 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.
#
# Starts Zookeeper server
#
View
17 src/pkg/common/zookeeper/install_zookeeper.sh
@@ -1,5 +1,20 @@
#!/bin/sh
-# Copyright 2009 Cloudera, inc.
+
+# 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 -ex
usage() {
View
17 src/pkg/common/zookeeper/zookeeper.1
@@ -1,3 +1,18 @@
+.\" 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.
+.\"
.\" Process this file with
.\" groff -man -Tascii zookeeper.1
.\"
@@ -45,4 +60,4 @@ Alternate conf dir. Default is /etc/zookeeper.
Alternate server PID file. Default is /var/run/zookeeper/zookeeper-server.pid.
.SH COPYRIGHT
-Copyright (C) 2010 The Apache Software Foundation. All rights reserved.
+Copyright (C) 2010 The Apache Software Foundation. All rights reserved.
View
15 src/pkg/deb/flume/control
@@ -1,3 +1,18 @@
+# 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.
+
Source: flume
Section: misc
Priority: extra
View
23 src/pkg/deb/flume/flume-master.init
@@ -1,18 +1,19 @@
#!/bin/bash
#
-# (c) Copyright 2010 Cloudera, Inc.
+# 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
#
-# Licensed 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
#
-# 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.
+# 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.
#
### BEGIN INIT INFO
# Provides: flume-master
View
23 src/pkg/deb/flume/flume-node.init
@@ -1,18 +1,19 @@
#!/bin/bash
#
-# (c) Copyright 2010 Cloudera, Inc.
+# 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
#
-# Licensed 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
#
-# 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.
+# 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.
#
### BEGIN INIT INFO
# Provides: flume-node
View
16 src/pkg/deb/flume/flume.postinst
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# postinst script for flume
set -e
View
16 src/pkg/deb/flume/flume.preinst
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+#
# preinst script for flume
#
# see: dh_installdeb(1)
View
16 src/pkg/deb/flume/rules
@@ -1,4 +1,20 @@
#!/usr/bin/make -f
+#
+# 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.
+#
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
View
15 src/pkg/deb/hadoop/append_licenses.sh
@@ -1,6 +1,19 @@
#!/bin/sh
#
-# Copyright 2009 Cloudera, Inc.
+# 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.
#
# Debian prefers all license information to go in /usr/share/doc/copyright
# rather than individual files in /usr/lib/hadoop. This script appends all
View
15 src/pkg/deb/hadoop/control
@@ -1,3 +1,18 @@
+# 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.
+
Source: hadoop
Section: misc
Priority: extra
View
16 src/pkg/deb/hadoop/hadoop-conf-pseudo.postinst
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+#
# postinst script for hadoop
#
# see: dh_installdeb(1)
View
16 src/pkg/deb/hadoop/hadoop-conf-pseudo.prerm
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# prerm script for hadoop
#
# see: dh_installdeb(1)
View
16 src/pkg/deb/hadoop/hadoop.postinst
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# postinst script for hadoop
set -e
View
16 src/pkg/deb/hadoop/hadoop.preinst
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# preinst script for hadoop
#
# see: dh_installdeb(1)
View
16 src/pkg/deb/hadoop/hadoop.prerm
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# prerm script for hadoop
#
# see: dh_installdeb(1)
View
15 src/pkg/deb/hadoop/install_init_scripts.sh
@@ -1,5 +1,20 @@
#!/bin/bash
+# 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.
+
MAJOR_VERSION=${HADOOP_VERSION}
SRC_PKG=hadoop
View
16 src/pkg/deb/hadoop/rules
@@ -1,4 +1,20 @@
#!/usr/bin/make -f
+
+# 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.
+
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
View
15 src/pkg/deb/hadoop/service-init.d.tpl
@@ -1,5 +1,20 @@
#! /bin/sh
#
+# 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.
+
# skeleton example file to build /etc/init.d/ scripts.
# This file should be used to construct scripts for /etc/init.d.
#
View
16 src/pkg/deb/hadoop/service-postinst.tpl
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# postinst script for hadoop
#
# see: dh_installdeb(1)
View
16 src/pkg/deb/hadoop/service-postrm.tpl
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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.
+
# postrm script for hadoop
#
# see: dh_installdeb(1)
View
14 src/pkg/deb/hbase/control
@@ -1,3 +1,17 @@
+# 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.
Source: hadoop-hbase
Section: misc
Priority: extra
View
16 src/pkg/deb/hbase/hadoop-hbase.postinst
@@ -1,4 +1,20 @@
#!/bin/sh
+#
+# 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