Browse Source

HADOOP-9098. Add missing license headers. Contributed by Arpit Agarwal.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1420703 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 12 years ago
parent
commit
753576cbb4
96 changed files with 1366 additions and 0 deletions
  1. 2 0
      CHANGES.txt
  2. 13 0
      conf/configuration.xsl
  3. 13 0
      conf/hadoop-metrics2.properties
  4. 13 0
      conf/log4j.properties
  5. 15 0
      conf/ssl-client.xml.example
  6. 15 0
      conf/ssl-server.xml.example
  7. 15 0
      src/c++/libhdfs/docs/libhdfs_footer.html
  8. 13 0
      src/contrib/capacity-scheduler/ivy/libraries.properties
  9. 13 0
      src/contrib/data_join/ivy/libraries.properties
  10. 13 0
      src/contrib/eclipse-plugin/build.properties
  11. 13 0
      src/contrib/eclipse-plugin/ivy/libraries.properties
  12. 13 0
      src/contrib/failmon/ivy/libraries.properties
  13. 13 0
      src/contrib/fairscheduler/ivy/libraries.properties
  14. 13 0
      src/contrib/fuse-dfs/ivy/libraries.properties
  15. 13 0
      src/contrib/hdfsproxy/conf/configuration.xsl
  16. 13 0
      src/contrib/hdfsproxy/conf/log4j.properties
  17. 13 0
      src/contrib/hdfsproxy/ivy/libraries.properties
  18. 15 0
      src/contrib/hdfsproxy/src/java/org/apache/hadoop/hdfsproxy/KerberosAuthorizationFilter.java
  19. 13 0
      src/contrib/hod/ivy/libraries.properties
  20. 13 0
      src/contrib/index/ivy/libraries.properties
  21. 13 0
      src/contrib/streaming/ivy/libraries.properties
  22. 13 0
      src/contrib/thriftfs/ivy/libraries.properties
  23. 15 0
      src/contrib/thriftfs/src/java/org/apache/hadoop/thriftfs/HadoopThriftServer.java
  24. 13 0
      src/contrib/vaidya/ivy/libraries.properties
  25. 15 0
      src/core/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java
  26. 15 0
      src/core/overview.html
  27. 13 0
      src/docs/cn/src/documentation/skins/common/xslt/html/split.xsl
  28. 15 0
      src/examples/org/apache/hadoop/examples/WordCount.java
  29. 15 0
      src/mapred/org/apache/hadoop/mapred/AuditLogger.java
  30. 13 0
      src/mapred/org/apache/hadoop/mapred/FileInputFormat_Counter.properties
  31. 13 0
      src/mapred/org/apache/hadoop/mapred/FileOutputFormat_Counter.properties
  32. 13 0
      src/mapred/org/apache/hadoop/mapred/JobInProgress_Counter.properties
  33. 13 0
      src/mapred/org/apache/hadoop/mapred/Task_Counter.properties
  34. 15 0
      src/mapred/org/apache/hadoop/mapred/lib/db/DBWritable.java
  35. 15 0
      src/mapred/org/apache/hadoop/mapreduce/Counters.java
  36. 13 0
      src/mapred/org/apache/hadoop/mapreduce/lib/input/FileInputFormat_Counter.properties
  37. 13 0
      src/mapred/org/apache/hadoop/mapreduce/lib/output/FileOutputFormat_Counter.properties
  38. 13 0
      src/packages/templates/conf/commons-logging.properties
  39. 13 0
      src/test/checkstyle-noframes-sorted.xsl
  40. 15 0
      src/test/ddl/buffer.jr
  41. 15 0
      src/test/ddl/int.jr
  42. 15 0
      src/test/ddl/string.jr
  43. 15 0
      src/test/ddl/test.jr
  44. 18 0
      src/test/krb5.conf
  45. 13 0
      src/test/log4j.properties
  46. 13 0
      src/test/org/apache/hadoop/cli/testConf.xsl
  47. 15 0
      src/test/org/apache/hadoop/hdfs/TestSyncingWriterInterrupted.java
  48. 15 0
      src/test/org/apache/hadoop/hdfs/server/namenode/TestComputeInvalidateWork.java
  49. 15 0
      src/test/org/apache/hadoop/hdfs/server/namenode/TestHeartbeatHandling.java
  50. 15 0
      src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java
  51. 15 0
      src/test/org/apache/hadoop/hdfs/server/namenode/TestUnderReplicatedBlocks.java
  52. 15 0
      src/test/org/apache/hadoop/mapred/TestAuditLogger.java
  53. 15 0
      src/test/org/apache/hadoop/mapred/TestJobInProgress.java
  54. 15 0
      src/test/org/apache/hadoop/mapred/lib/db/TestConstructQuery.java
  55. 15 0
      src/test/org/apache/hadoop/mapreduce/TestMROutputFormat.java
  56. 15 0
      src/test/system/java/org/apache/hadoop/mapred/HealthScriptHelper.java
  57. 15 0
      src/test/system/java/org/apache/hadoop/mapred/HighRamJobHelper.java
  58. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestCMExceptionDuringRunJob.java
  59. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestHealthScriptError.java
  60. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestHealthScriptPathError.java
  61. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestHealthScriptTimeout.java
  62. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestHiRamJobWithBlackListTT.java
  63. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestLostTaskTracker.java
  64. 15 0
      src/test/system/java/org/apache/hadoop/mapred/TestTaskController.java
  65. 13 0
      src/test/test-patch.properties
  66. 15 0
      src/test/testjar/UserNamePermission.java
  67. 13 0
      src/tools/org/apache/hadoop/tools/DistCp_Counter.properties
  68. 15 0
      src/webapps/datanode/browseBlock.jsp
  69. 15 0
      src/webapps/datanode/browseDirectory.jsp
  70. 15 0
      src/webapps/datanode/tail.jsp
  71. 15 0
      src/webapps/hdfs/dfshealth.jsp
  72. 15 0
      src/webapps/hdfs/dfsnodelist.jsp
  73. 15 0
      src/webapps/hdfs/index.html
  74. 15 0
      src/webapps/hdfs/nn_browsedfscontent.jsp
  75. 15 0
      src/webapps/history/analysejobhistory.jsp
  76. 15 0
      src/webapps/history/jobconf_history.jsp
  77. 15 0
      src/webapps/history/jobdetailshistory.jsp
  78. 15 0
      src/webapps/history/jobhistoryhome.jsp
  79. 15 0
      src/webapps/history/jobtaskshistory.jsp
  80. 15 0
      src/webapps/history/legacyjobhistory.jsp
  81. 15 0
      src/webapps/history/loadhistory.jsp
  82. 15 0
      src/webapps/history/taskdetailshistory.jsp
  83. 15 0
      src/webapps/job/index.html
  84. 15 0
      src/webapps/job/jobblacklistedtrackers.jsp
  85. 15 0
      src/webapps/job/jobconf.jsp
  86. 15 0
      src/webapps/job/jobdetails.jsp
  87. 15 0
      src/webapps/job/jobfailures.jsp
  88. 15 0
      src/webapps/job/jobqueue_details.jsp
  89. 15 0
      src/webapps/job/jobtasks.jsp
  90. 15 0
      src/webapps/job/jobtracker.jsp
  91. 15 0
      src/webapps/job/machines.jsp
  92. 15 0
      src/webapps/job/taskdetails.jsp
  93. 15 0
      src/webapps/job/taskstats.jsp
  94. 13 0
      src/webapps/static/jobconf.xsl
  95. 15 0
      src/webapps/task/index.html
  96. 15 0
      src/webapps/task/tasktracker.jsp

+ 2 - 0
CHANGES.txt

@@ -130,6 +130,8 @@ Release 1.2.0 - unreleased
     HDFS-4122. Cleanup HDFS logs and reduce the size of logged messages.
     HDFS-4122. Cleanup HDFS logs and reduce the size of logged messages.
     (suresh)
     (suresh)
 
 
+    HADOOP-9098. Add missing license headers. (Arpit Agarwal via suresh)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     HDFS-2533. Backport: Remove needless synchronization on some FSDataSet
     HDFS-2533. Backport: Remove needless synchronization on some FSDataSet

+ 13 - 0
conf/configuration.xsl

@@ -1,4 +1,17 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
+<!--
+   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.
+-->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:output method="html"/>
 <xsl:output method="html"/>
 <xsl:template match="configuration">
 <xsl:template match="configuration">

+ 13 - 0
conf/hadoop-metrics2.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # syntax: [prefix].[source|sink|jmx].[instance].[options]
 # syntax: [prefix].[source|sink|jmx].[instance].[options]
 # See package.html for org.apache.hadoop.metrics2 for details
 # See package.html for org.apache.hadoop.metrics2 for details
 
 

+ 13 - 0
conf/log4j.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # Define some default values that can be overridden by system properties
 # Define some default values that can be overridden by system properties
 hadoop.root.logger=INFO,console
 hadoop.root.logger=INFO,console
 hadoop.log.dir=.
 hadoop.log.dir=.

+ 15 - 0
conf/ssl-client.xml.example

@@ -1,6 +1,21 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+   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>
 <configuration>
 
 
 <property>
 <property>

+ 15 - 0
conf/ssl-server.xml.example

@@ -1,6 +1,21 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+   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>
 <configuration>
 
 
 <property>
 <property>

+ 15 - 0
src/c++/libhdfs/docs/libhdfs_footer.html

@@ -1,3 +1,18 @@
+<!--
+   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.
+-->
+
+
 <!--
 <!--
   Custom footer for libhdfs documentation.
   Custom footer for libhdfs documentation.
   Also useful for switching off default Doxygen footer and hence the timestamp.
   Also useful for switching off default Doxygen footer and hence the timestamp.

+ 13 - 0
src/contrib/capacity-scheduler/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/data_join/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/eclipse-plugin/build.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 output.. = bin/
 output.. = bin/
 bin.includes = META-INF/,\
 bin.includes = META-INF/,\
                plugin.xml,\
                plugin.xml,\

+ 13 - 0
src/contrib/eclipse-plugin/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/failmon/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/fairscheduler/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/fuse-dfs/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/hdfsproxy/conf/configuration.xsl

@@ -1,4 +1,17 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
+<!--
+   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.
+-->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:output method="html"/>
 <xsl:output method="html"/>
 <xsl:template match="configuration">
 <xsl:template match="configuration">

+ 13 - 0
src/contrib/hdfsproxy/conf/log4j.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # Define some default values that can be overridden by system properties
 # Define some default values that can be overridden by system properties
 hdfsproxy.root.logger=INFO,console
 hdfsproxy.root.logger=INFO,console
 hdfsproxy.log.dir=.
 hdfsproxy.log.dir=.

+ 13 - 0
src/contrib/hdfsproxy/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by hadoop.
 #This properties file lists the versions of the various artifacts used by hadoop.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 #These are the versions of our dependencies (in alphabetical order)
 #These are the versions of our dependencies (in alphabetical order)

+ 15 - 0
src/contrib/hdfsproxy/src/java/org/apache/hadoop/hdfsproxy/KerberosAuthorizationFilter.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.hdfsproxy;
 package org.apache.hadoop.hdfsproxy;
 
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configuration;

+ 13 - 0
src/contrib/hod/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/index/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by index.
 #This properties file lists the versions of the various artifacts used by index.
 
 
 #These are the versions of our dependencies (in alphabetical order)
 #These are the versions of our dependencies (in alphabetical order)

+ 13 - 0
src/contrib/streaming/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 13 - 0
src/contrib/thriftfs/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by thrifts.
 #This properties file lists the versions of the various artifacts used by thrifts.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 15 - 0
src/contrib/thriftfs/src/java/org/apache/hadoop/thriftfs/HadoopThriftServer.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.thriftfs;
 package org.apache.hadoop.thriftfs;
 
 
 import com.facebook.thrift.TException;
 import com.facebook.thrift.TException;

+ 13 - 0
src/contrib/vaidya/ivy/libraries.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #This properties file lists the versions of the various artifacts used by streaming.
 #This properties file lists the versions of the various artifacts used by streaming.
 #It drives ivy and the generation of a maven POM
 #It drives ivy and the generation of a maven POM
 
 

+ 15 - 0
src/core/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.io.compress.bzip2;
 package org.apache.hadoop.io.compress.bzip2;
 
 
 import java.io.IOException;
 import java.io.IOException;

+ 15 - 0
src/core/overview.html

@@ -1,4 +1,19 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+   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.
+-->
+
+
 <html>
 <html>
 <head>
 <head>
    <title>Hadoop</title>
    <title>Hadoop</title>

+ 13 - 0
src/docs/cn/src/documentation/skins/common/xslt/html/split.xsl

@@ -1,4 +1,17 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
+<!--
+   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.
+-->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <!--
 <!--
  This stylesheet was taken from the XSLT FAQ http://www.dpawson.co.uk/xsl/
  This stylesheet was taken from the XSLT FAQ http://www.dpawson.co.uk/xsl/

+ 15 - 0
src/examples/org/apache/hadoop/examples/WordCount.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.examples;
 package org.apache.hadoop.examples;
 
 
 import java.io.IOException;
 import java.io.IOException;

+ 15 - 0
src/mapred/org/apache/hadoop/mapred/AuditLogger.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.net.InetAddress;
 import java.net.InetAddress;

+ 13 - 0
src/mapred/org/apache/hadoop/mapred/FileInputFormat_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for file-input-format counters
 # ResourceBundle properties file for file-input-format counters
 
 
 CounterGroupName=                  File Input Format Counters 
 CounterGroupName=                  File Input Format Counters 

+ 13 - 0
src/mapred/org/apache/hadoop/mapred/FileOutputFormat_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for file-output-format counters
 # ResourceBundle properties file for file-output-format counters
 
 
 CounterGroupName=                  File Output Format Counters 
 CounterGroupName=                  File Output Format Counters 

+ 13 - 0
src/mapred/org/apache/hadoop/mapred/JobInProgress_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for job-level counters
 # ResourceBundle properties file for job-level counters
 
 
 CounterGroupName=                  Job Counters 
 CounterGroupName=                  Job Counters 

+ 13 - 0
src/mapred/org/apache/hadoop/mapred/Task_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for Map-Reduce counters
 # ResourceBundle properties file for Map-Reduce counters
 
 
 CounterGroupName=              Map-Reduce Framework
 CounterGroupName=              Map-Reduce Framework

+ 15 - 0
src/mapred/org/apache/hadoop/mapred/lib/db/DBWritable.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred.lib.db;
 package org.apache.hadoop.mapred.lib.db;
 
 
 import java.sql.PreparedStatement;
 import java.sql.PreparedStatement;

+ 15 - 0
src/mapred/org/apache/hadoop/mapreduce/Counters.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapreduce;
 package org.apache.hadoop.mapreduce;
 
 
 import java.io.DataInput;
 import java.io.DataInput;

+ 13 - 0
src/mapred/org/apache/hadoop/mapreduce/lib/input/FileInputFormat_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for file-input-format counters
 # ResourceBundle properties file for file-input-format counters
 
 
 CounterGroupName=                  File Input Format Counters 
 CounterGroupName=                  File Input Format Counters 

+ 13 - 0
src/mapred/org/apache/hadoop/mapreduce/lib/output/FileOutputFormat_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for file-output-format counters
 # ResourceBundle properties file for file-output-format counters
 
 
 CounterGroupName=                  File Output Format Counters 
 CounterGroupName=                  File Output Format Counters 

+ 13 - 0
src/packages/templates/conf/commons-logging.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 #Logging Implementation
 #Logging Implementation
 
 
 #Log4J
 #Log4J

+ 13 - 0
src/test/checkstyle-noframes-sorted.xsl

@@ -1,4 +1,17 @@
 <xsl:stylesheet	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:stylesheet	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<!--
+   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.
+-->
 <xsl:output method="html" indent="yes"/>
 <xsl:output method="html" indent="yes"/>
 <xsl:decimal-format decimal-separator="." grouping-separator="," />
 <xsl:decimal-format decimal-separator="." grouping-separator="," />
 
 

+ 15 - 0
src/test/ddl/buffer.jr

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 module org.apache.hadoop.record {
 module org.apache.hadoop.record {
     class RecBuffer {
     class RecBuffer {
         buffer data;
         buffer data;

+ 15 - 0
src/test/ddl/int.jr

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 module org.apache.hadoop.record {
 module org.apache.hadoop.record {
     class RecInt {
     class RecInt {
         int data;
         int data;

+ 15 - 0
src/test/ddl/string.jr

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 module org.apache.hadoop.record {
 module org.apache.hadoop.record {
     class RecString {
     class RecString {
         ustring data;
         ustring data;

+ 15 - 0
src/test/ddl/test.jr

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 module org.apache.hadoop.record {
 module org.apache.hadoop.record {
     class RecRecord0 {
     class RecRecord0 {
         ustring     stringVal;
         ustring     stringVal;

+ 18 - 0
src/test/krb5.conf

@@ -1,3 +1,21 @@
+#
+# 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.
+#
+
 [libdefaults]
 [libdefaults]
 	default_realm = APACHE.ORG
 	default_realm = APACHE.ORG
 	udp_preference_limit = 1
 	udp_preference_limit = 1

+ 13 - 0
src/test/log4j.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # log4j configuration used during build and unit tests
 # log4j configuration used during build and unit tests
 
 
 log4j.rootLogger=info,stdout
 log4j.rootLogger=info,stdout

+ 13 - 0
src/test/org/apache/hadoop/cli/testConf.xsl

@@ -1,4 +1,17 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+   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.
+-->
 
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
   

+ 15 - 0
src/test/org/apache/hadoop/hdfs/TestSyncingWriterInterrupted.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.hdfs;
 package org.apache.hadoop.hdfs;
 
 
 import static org.junit.Assert.*;
 import static org.junit.Assert.*;

+ 15 - 0
src/test/org/apache/hadoop/hdfs/server/namenode/TestComputeInvalidateWork.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.hdfs.server.namenode;
 package org.apache.hadoop.hdfs.server.namenode;
 
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configuration;

+ 15 - 0
src/test/org/apache/hadoop/hdfs/server/namenode/TestHeartbeatHandling.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.hdfs.server.namenode;
 package org.apache.hadoop.hdfs.server.namenode;
 
 
 import java.util.ArrayList;
 import java.util.ArrayList;

+ 15 - 0
src/test/org/apache/hadoop/hdfs/server/namenode/TestNodeCount.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.hdfs.server.namenode;
 package org.apache.hadoop.hdfs.server.namenode;
 
 
 import java.util.Collection;
 import java.util.Collection;

+ 15 - 0
src/test/org/apache/hadoop/hdfs/server/namenode/TestUnderReplicatedBlocks.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.hdfs.server.namenode;
 package org.apache.hadoop.hdfs.server.namenode;
 
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configuration;

+ 15 - 0
src/test/org/apache/hadoop/mapred/TestAuditLogger.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.net.InetAddress;
 import java.net.InetAddress;

+ 15 - 0
src/test/org/apache/hadoop/mapred/TestJobInProgress.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.io.DataOutputStream;
 import java.io.DataOutputStream;

+ 15 - 0
src/test/org/apache/hadoop/mapred/lib/db/TestConstructQuery.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred.lib.db;
 package org.apache.hadoop.mapred.lib.db;
 
 
 import org.apache.hadoop.io.NullWritable;
 import org.apache.hadoop.io.NullWritable;

+ 15 - 0
src/test/org/apache/hadoop/mapreduce/TestMROutputFormat.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapreduce;
 package org.apache.hadoop.mapreduce;
 
 
 import java.io.DataInput;
 import java.io.DataInput;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/HealthScriptHelper.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.io.File;
 import java.io.File;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/HighRamJobHelper.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configuration;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestCMExceptionDuringRunJob.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configuration;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestHealthScriptError.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.io.File;
 import java.io.File;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestHealthScriptPathError.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.io.File;
 import java.io.File;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestHealthScriptTimeout.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.io.File;
 import java.io.File;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestHiRamJobWithBlackListTT.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import java.io.File;
 import java.io.File;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestLostTaskTracker.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.Log;

+ 15 - 0
src/test/system/java/org/apache/hadoop/mapred/TestTaskController.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package org.apache.hadoop.mapred;
 package org.apache.hadoop.mapred;
 
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.Log;

+ 13 - 0
src/test/test-patch.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 OK_RELEASEAUDIT_WARNINGS=0
 OK_RELEASEAUDIT_WARNINGS=0
 OK_FINDBUGS_WARNINGS=211
 OK_FINDBUGS_WARNINGS=211
 OK_JAVADOC_WARNINGS=9
 OK_JAVADOC_WARNINGS=9

+ 15 - 0
src/test/testjar/UserNamePermission.java

@@ -1,3 +1,18 @@
+/**
+ *  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.
+ */
+
+
 package testjar;
 package testjar;
 
 
 import java.io.IOException;
 import java.io.IOException;

+ 13 - 0
src/tools/org/apache/hadoop/tools/DistCp_Counter.properties

@@ -1,3 +1,16 @@
+#   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.
+
+
 # ResourceBundle properties file for distcp counters
 # ResourceBundle properties file for distcp counters
 
 
 CounterGroupName=       distcp
 CounterGroupName=       distcp

+ 15 - 0
src/webapps/datanode/browseBlock.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/datanode/browseDirectory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/datanode/tail.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/hdfs/dfshealth.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   isThreadSafe="false"
   isThreadSafe="false"

+ 15 - 0
src/webapps/hdfs/dfsnodelist.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
     contentType="text/html; charset=UTF-8"
     contentType="text/html; charset=UTF-8"
     isThreadSafe="false"
     isThreadSafe="false"

+ 15 - 0
src/webapps/hdfs/index.html

@@ -1,3 +1,18 @@
+<!--
+   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.
+-->
+
+
 <meta HTTP-EQUIV="REFRESH" content="0;url=dfshealth.jsp"/>
 <meta HTTP-EQUIV="REFRESH" content="0;url=dfshealth.jsp"/>
 <html>
 <html>
 
 

+ 15 - 0
src/webapps/hdfs/nn_browsedfscontent.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="java.io.*"
   import="java.io.*"

+ 15 - 0
src/webapps/history/analysejobhistory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.http.*"
   import="javax.servlet.http.*"

+ 15 - 0
src/webapps/history/jobconf_history.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/history/jobdetailshistory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.http.*"
   import="javax.servlet.http.*"

+ 15 - 0
src/webapps/history/jobhistoryhome.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="java.io.*"
   import="java.io.*"

+ 15 - 0
src/webapps/history/jobtaskshistory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.http.*"
   import="javax.servlet.http.*"

+ 15 - 0
src/webapps/history/legacyjobhistory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="java.io.*"
   import="java.io.*"

+ 15 - 0
src/webapps/history/loadhistory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="org.apache.hadoop.mapred.*"
   import="org.apache.hadoop.mapred.*"

+ 15 - 0
src/webapps/history/taskdetailshistory.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.http.*"
   import="javax.servlet.http.*"

+ 15 - 0
src/webapps/job/index.html

@@ -1,3 +1,18 @@
+<!--
+   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.
+-->
+
+
 <meta HTTP-EQUIV="REFRESH" content="0;url=jobtracker.jsp"/>
 <meta HTTP-EQUIV="REFRESH" content="0;url=jobtracker.jsp"/>
 <html>
 <html>
 
 

+ 15 - 0
src/webapps/job/jobblacklistedtrackers.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/jobconf.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/jobdetails.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/jobfailures.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/jobqueue_details.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/jobtasks.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/jobtracker.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/machines.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/taskdetails.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 15 - 0
src/webapps/job/taskstats.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"

+ 13 - 0
src/webapps/static/jobconf.xsl

@@ -1,4 +1,17 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
+<!--
+   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.
+-->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:output method="html"/>
 <xsl:output method="html"/>
 <xsl:template match="configuration">
 <xsl:template match="configuration">

+ 15 - 0
src/webapps/task/index.html

@@ -1 +1,16 @@
+<!--
+   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.
+-->
+
+
 <meta HTTP-EQUIV="REFRESH" content="0;url=tasktracker.jsp"/>
 <meta HTTP-EQUIV="REFRESH" content="0;url=tasktracker.jsp"/>

+ 15 - 0
src/webapps/task/tasktracker.jsp

@@ -1,3 +1,18 @@
+<%!
+/**
+ *  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.
+ */
+%>
 <%@ page
 <%@ page
   contentType="text/html; charset=UTF-8"
   contentType="text/html; charset=UTF-8"
   import="javax.servlet.*"
   import="javax.servlet.*"