Author: gkesavan
Date: Mon Aug 17 03:53:27 2009
New Revision: 804842
URL: http://svn.apache.org/viewvc?rev=804842&view=rev
Log:
HADOOP-6182. Fix ReleaseAudit warnings. Contributed by Giridharan Kesavan and
Lee Tucker
Modified:
hadoop/common/trunk/CHANGES.txt
hadoop/common/trunk/build.xml
hadoop/common/trunk/src/contrib/ec2/bin/hadoop-ec2-init-remote.sh
hadoop/common/trunk/src/contrib/ec2/bin/image/ec2-run-user-data
hadoop/common/trunk/src/contrib/failmon/ivy.xml
hadoop/common/trunk/src/contrib/failmon/ivy/libraries.properties
hadoop/common/trunk/src/contrib/hod/bin/verify-account
hadoop/common/trunk/src/contrib/hod/ivy.xml
hadoop/common/trunk/src/contrib/hod/ivy/libraries.properties
hadoop/common/trunk/src/contrib/test/core-site.xml
hadoop/common/trunk/src/contrib/test/hadoop-site.xml
hadoop/common/trunk/src/contrib/test/hdfs-site.xml
hadoop/common/trunk/src/contrib/test/mapred-site.xml
hadoop/common/trunk/src/java/core-default.xml
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.java
hadoop/common/trunk/src/test/bin/test-patch.sh
hadoop/common/trunk/src/test/checkstyle-noframes-sorted.xsl
hadoop/common/trunk/src/test/checkstyle.xml
hadoop/common/trunk/src/test/core-site.xml
hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xml
hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xsl
hadoop/common/trunk/src/test/core/org/apache/hadoop/conf/empty-configuration.xml
hadoop/common/trunk/src/test/core/org/apache/hadoop/filecache/TestDistributedCache.java
hadoop/common/trunk/src/test/ddl/buffer.jr
hadoop/common/trunk/src/test/ddl/int.jr
hadoop/common/trunk/src/test/ddl/string.jr
hadoop/common/trunk/src/test/ddl/test.jr
hadoop/common/trunk/src/test/findbugsExcludeFile.xml
hadoop/common/trunk/src/test/hadoop-policy.xml
hadoop/common/trunk/src/test/hadoop-site.xml
hadoop/common/trunk/src/test/log4j.properties
Modified: hadoop/common/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Mon Aug 17 03:53:27 2009
@@ -492,6 +492,8 @@
HADOOP-6176. Add a couple package private methods to AccessTokenHandler
for testing. (Kan Zhang via szetszwo)
+
+ HADOOP-6182. Fix ReleaseAudit warnings (Giridharan Kesavan and Lee Tucker
via gkesavan)
OPTIMIZATIONS
Modified: hadoop/common/trunk/build.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/build.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/build.xml (original)
+++ hadoop/common/trunk/build.xml Mon Aug 17 03:53:27 2009
@@ -1021,9 +1021,14 @@
<target name="releaseaudit" depends="package, rats-taskdef"
description="Release Audit activities">
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
<fileset dir="${dist.dir}">
- <exclude name="CHANGES.txt"/>
- <exclude name="docs/"/>
+ <exclude name="**/CHANGES.txt"/>
+ <exclude name="**/conf/*"/>
+ <exclude name="**/docs/"/>
<exclude name="lib/jdiff/"/>
+ <exclude name="**/native/*"/>
+ <exclude name="**/native/config/*"/>
+ <exclude name="**/VERSION"/>
+ <exclude name="**/hod/*.txt"/>
</fileset>
</rat:report>
</target>
Modified: hadoop/common/trunk/src/contrib/ec2/bin/hadoop-ec2-init-remote.sh
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/ec2/bin/hadoop-ec2-init-remote.sh?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/ec2/bin/hadoop-ec2-init-remote.sh (original)
+++ hadoop/common/trunk/src/contrib/ec2/bin/hadoop-ec2-init-remote.sh Mon Aug
17 03:53:27 2009
@@ -1,5 +1,18 @@
#!/usr/bin/env bash
+# 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.
+
+
################################################################################
# Script that is run on each EC2 instance on boot. It is passed in the EC2 user
# data, so should not exceed 16K in size.
Modified: hadoop/common/trunk/src/contrib/ec2/bin/image/ec2-run-user-data
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/ec2/bin/image/ec2-run-user-data?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/ec2/bin/image/ec2-run-user-data (original)
+++ hadoop/common/trunk/src/contrib/ec2/bin/image/ec2-run-user-data Mon Aug 17
03:53:27 2009
@@ -1,5 +1,17 @@
#!/bin/bash
+
+# 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.
+
# ec2-run-user-data - Run instance user-data if it looks like a script.
#
# Only retrieves and runs the user-data script once per instance. If
Modified: hadoop/common/trunk/src/contrib/failmon/ivy.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/failmon/ivy.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/failmon/ivy.xml (original)
+++ hadoop/common/trunk/src/contrib/failmon/ivy.xml Mon Aug 17 03:53:27 2009
@@ -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.
+-->
+
<ivy-module version="1.0">
<info organisation="org.apache.hadoop" module="${ant.project.name}">
<license name="Apache 2.0"/>
Modified: hadoop/common/trunk/src/contrib/failmon/ivy/libraries.properties
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/failmon/ivy/libraries.properties?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/failmon/ivy/libraries.properties (original)
+++ hadoop/common/trunk/src/contrib/failmon/ivy/libraries.properties Mon Aug 17
03:53:27 2009
@@ -1,3 +1,15 @@
+# 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.
#It drives ivy and the generation of a maven POM
Modified: hadoop/common/trunk/src/contrib/hod/bin/verify-account
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/hod/bin/verify-account?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/hod/bin/verify-account (original)
+++ hadoop/common/trunk/src/contrib/hod/bin/verify-account Mon Aug 17 03:53:27
2009
@@ -1,4 +1,16 @@
#!/bin/sh
+# 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 script file is a stub for systems that might want to include
# checks for the account name that is passed to HOD. It will be
# launched by HOD with the account name as an argument. The script
Modified: hadoop/common/trunk/src/contrib/hod/ivy.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/hod/ivy.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/hod/ivy.xml (original)
+++ hadoop/common/trunk/src/contrib/hod/ivy.xml Mon Aug 17 03:53:27 2009
@@ -1,3 +1,20 @@
+<!--
+ 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 version="1.0" ?>
<ivy-module version="1.0">
<info organisation="org.apache.hadoop" module="${ant.project.name}">
Modified: hadoop/common/trunk/src/contrib/hod/ivy/libraries.properties
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/hod/ivy/libraries.properties?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/hod/ivy/libraries.properties (original)
+++ hadoop/common/trunk/src/contrib/hod/ivy/libraries.properties Mon Aug 17
03:53:27 2009
@@ -1,4 +1,16 @@
-#This properties file lists the versions of the various artifacts used by
streaming.
+# 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.
#It drives ivy and the generation of a maven POM
#Please list the dependencies name with version if they are different from the
ones
Modified: hadoop/common/trunk/src/contrib/test/core-site.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/test/core-site.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/test/core-site.xml (original)
+++ hadoop/common/trunk/src/contrib/test/core-site.xml Mon Aug 17 03:53:27 2009
@@ -1,3 +1,19 @@
+<!--
+ 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 version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
Modified: hadoop/common/trunk/src/contrib/test/hadoop-site.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/test/hadoop-site.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/test/hadoop-site.xml (original)
+++ hadoop/common/trunk/src/contrib/test/hadoop-site.xml Mon Aug 17 03:53:27
2009
@@ -1,3 +1,19 @@
+<!--
+ 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 version="1.0"?>
<?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?>
Modified: hadoop/common/trunk/src/contrib/test/hdfs-site.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/test/hdfs-site.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/test/hdfs-site.xml (original)
+++ hadoop/common/trunk/src/contrib/test/hdfs-site.xml Mon Aug 17 03:53:27 2009
@@ -1,3 +1,19 @@
+<!--
+ 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 version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
Modified: hadoop/common/trunk/src/contrib/test/mapred-site.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/contrib/test/mapred-site.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/contrib/test/mapred-site.xml (original)
+++ hadoop/common/trunk/src/contrib/test/mapred-site.xml Mon Aug 17 03:53:27
2009
@@ -1,3 +1,19 @@
+<!--
+ 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 version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
Modified: hadoop/common/trunk/src/java/core-default.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/core-default.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/core-default.xml (original)
+++ hadoop/common/trunk/src/java/core-default.xml Mon Aug 17 03:53:27 2009
@@ -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"?>
<!-- Do not modify this file directly. Instead, copy entries that you -->
Modified:
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
---
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java
(original)
+++
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.java
Mon Aug 17 03:53:27 2009
@@ -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.
+ *
+ */
+
package org.apache.hadoop.io.compress.bzip2;
import java.io.IOException;
Modified:
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.java
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.java?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
---
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.java
(original)
+++
hadoop/common/trunk/src/java/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.java
Mon Aug 17 03:53:27 2009
@@ -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.
+ *
+ */
+
package org.apache.hadoop.io.compress.bzip2;
import java.io.IOException;
Modified: hadoop/common/trunk/src/test/bin/test-patch.sh
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/bin/test-patch.sh?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/bin/test-patch.sh (original)
+++ hadoop/common/trunk/src/test/bin/test-patch.sh Mon Aug 17 03:53:27 2009
@@ -1,4 +1,16 @@
#!/usr/bin/env bash
+# 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.
+
#set -x
ulimit -n 1024
Modified: hadoop/common/trunk/src/test/checkstyle-noframes-sorted.xsl
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/checkstyle-noframes-sorted.xsl?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/checkstyle-noframes-sorted.xsl (original)
+++ hadoop/common/trunk/src/test/checkstyle-noframes-sorted.xsl Mon Aug 17
03:53:27 2009
@@ -1,3 +1,19 @@
+<!--
+ 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" indent="yes"/>
<xsl:decimal-format decimal-separator="." grouping-separator="," />
Modified: hadoop/common/trunk/src/test/checkstyle.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/checkstyle.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/checkstyle.xml (original)
+++ hadoop/common/trunk/src/test/checkstyle.xml Mon Aug 17 03:53:27 2009
@@ -4,6 +4,22 @@
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<!--
+ 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.
+-->
+<!--
Checkstyle configuration for Hadoop that is based on the sun_checks.xml file
that is bundled with Checkstyle and includes checks for:
Modified: hadoop/common/trunk/src/test/core-site.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/core-site.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/core-site.xml (original)
+++ hadoop/common/trunk/src/test/core-site.xml Mon Aug 17 03:53:27 2009
@@ -1,5 +1,21 @@
<?xml version="1.0"?>
<?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.
+-->
<!-- Values used when running unit tests. This is mostly empty, to -->
<!-- use of the default values, overriding the potentially -->
Modified: hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xml
(original)
+++ hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xml Mon
Aug 17 03:53:27 2009
@@ -1,6 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="testConf.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>
<!-- Normal mode is test. To run just the commands and dump the output
to the log, set it to nocompare -->
Modified: hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xsl
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xsl?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xsl
(original)
+++ hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xsl Mon
Aug 17 03:53:27 2009
@@ -1,3 +1,19 @@
+<!--
+ 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 version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Modified:
hadoop/common/trunk/src/test/core/org/apache/hadoop/conf/empty-configuration.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/core/org/apache/hadoop/conf/empty-configuration.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
---
hadoop/common/trunk/src/test/core/org/apache/hadoop/conf/empty-configuration.xml
(original)
+++
hadoop/common/trunk/src/test/core/org/apache/hadoop/conf/empty-configuration.xml
Mon Aug 17 03:53:27 2009
@@ -1,3 +1,19 @@
+<!--
+ 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 version="1.0"?>
<configuration>
</configuration>
Modified:
hadoop/common/trunk/src/test/core/org/apache/hadoop/filecache/TestDistributedCache.java
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/core/org/apache/hadoop/filecache/TestDistributedCache.java?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
---
hadoop/common/trunk/src/test/core/org/apache/hadoop/filecache/TestDistributedCache.java
(original)
+++
hadoop/common/trunk/src/test/core/org/apache/hadoop/filecache/TestDistributedCache.java
Mon Aug 17 03:53:27 2009
@@ -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.
+ *
+ */
+
package org.apache.hadoop.filecache;
import java.io.IOException;
Modified: hadoop/common/trunk/src/test/ddl/buffer.jr
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/ddl/buffer.jr?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/ddl/buffer.jr (original)
+++ hadoop/common/trunk/src/test/ddl/buffer.jr Mon Aug 17 03:53:27 2009
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
module org.apache.hadoop.record {
class RecBuffer {
buffer data;
Modified: hadoop/common/trunk/src/test/ddl/int.jr
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/ddl/int.jr?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/ddl/int.jr (original)
+++ hadoop/common/trunk/src/test/ddl/int.jr Mon Aug 17 03:53:27 2009
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
module org.apache.hadoop.record {
class RecInt {
int data;
Modified: hadoop/common/trunk/src/test/ddl/string.jr
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/ddl/string.jr?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/ddl/string.jr (original)
+++ hadoop/common/trunk/src/test/ddl/string.jr Mon Aug 17 03:53:27 2009
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
module org.apache.hadoop.record {
class RecString {
ustring data;
Modified: hadoop/common/trunk/src/test/ddl/test.jr
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/ddl/test.jr?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/ddl/test.jr (original)
+++ hadoop/common/trunk/src/test/ddl/test.jr Mon Aug 17 03:53:27 2009
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
module org.apache.hadoop.record {
class RecRecord0 {
ustring stringVal;
Modified: hadoop/common/trunk/src/test/findbugsExcludeFile.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/findbugsExcludeFile.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/findbugsExcludeFile.xml (original)
+++ hadoop/common/trunk/src/test/findbugsExcludeFile.xml Mon Aug 17 03:53:27
2009
@@ -1,3 +1,19 @@
+<!--
+ 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.
+-->
<FindBugsFilter>
<Match>
<Package name="org.apache.hadoop.record.compiler.generated" />
Modified: hadoop/common/trunk/src/test/hadoop-policy.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/hadoop-policy.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/hadoop-policy.xml (original)
+++ hadoop/common/trunk/src/test/hadoop-policy.xml Mon Aug 17 03:53:27 2009
@@ -1,5 +1,21 @@
<?xml version="1.0"?>
<?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.
+-->
<!-- Put site-specific property overrides in this file. -->
Modified: hadoop/common/trunk/src/test/hadoop-site.xml
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/hadoop-site.xml?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/hadoop-site.xml (original)
+++ hadoop/common/trunk/src/test/hadoop-site.xml Mon Aug 17 03:53:27 2009
@@ -1,5 +1,21 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="nutch-conf.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.
+-->
<!-- DO NOT PUT ANY PROPERTY IN THIS FILE. INSTEAD USE -->
<!-- core-site.xml, mapred-site.xml OR hdfs-site.xml -->
Modified: hadoop/common/trunk/src/test/log4j.properties
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/log4j.properties?rev=804842&r1=804841&r2=804842&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/log4j.properties (original)
+++ hadoop/common/trunk/src/test/log4j.properties Mon Aug 17 03:53:27 2009
@@ -1,3 +1,14 @@
+# 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.rootLogger=info,stdout