You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2011/11/04 21:46:56 UTC

svn commit: r1197761 - in /incubator/bigtop/branches/branch-0.2: ./ bigtop-deploy/puppet/modules/hadoop/manifests/ bigtop-deploy/puppet/modules/kerberos/templates/ bigtop-packages/src/common/hadoop/ bigtop-packages/src/common/hbase/ bigtop-packages/src...

Author: rvs
Date: Fri Nov  4 20:46:55 2011
New Revision: 1197761

URL: http://svn.apache.org/viewvc?rev=1197761&view=rev
Log:
BIGTOP-244. add RAT checks

Removed:
    incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/hadoop/manifests/.init.pp.swp
Modified:
    incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/kdc.conf
    incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/krb5.conf
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop-fuse.default
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop.nofiles.conf
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.default
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.nofiles.conf
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/hadoop/hadoop.daemon.postinst.tpl
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.postinst
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.prerm
    incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/pig/control
    incubator/bigtop/branches/branch-0.2/pom.xml

Modified: incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/kdc.conf
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/kdc.conf?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/kdc.conf (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/kdc.conf Fri Nov  4 20:46:55 2011
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 default_realm = <%= realm %>
 
 [kdcdefaults]

Modified: incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/krb5.conf
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/krb5.conf?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/krb5.conf (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-deploy/puppet/modules/kerberos/templates/krb5.conf Fri Nov  4 20:46:55 2011
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 [libdefaults]
     default_realm = <%= realm %>
     dns_lookup_realm = false

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop-fuse.default
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop-fuse.default?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop-fuse.default (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop-fuse.default Fri Nov  4 20:46:55 2011
@@ -1 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 export LIBHDFS_OPTS="-Xms128m -Xmx512m"

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop.nofiles.conf
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop.nofiles.conf?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop.nofiles.conf (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hadoop/hadoop.nofiles.conf Fri Nov  4 20:46:55 2011
@@ -1,2 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 hdfs - nofile 32768
 mapred - nofile 32768

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.default
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.default?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.default (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.default Fri Nov  4 20:46:55 2011
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 export HBASE_PID_DIR="/var/run/hbase"
 export HBASE_LOG_DIR="/var/log/hbase"
 export HBASE_IDENT_STRING=hbase

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.nofiles.conf
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.nofiles.conf?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.nofiles.conf (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/common/hbase/hbase.nofiles.conf Fri Nov  4 20:46:55 2011
@@ -1 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 hbase - nofile 32768

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/hadoop/hadoop.daemon.postinst.tpl
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/hadoop/hadoop.daemon.postinst.tpl?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/hadoop/hadoop.daemon.postinst.tpl (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/hadoop/hadoop.daemon.postinst.tpl Fri Nov  4 20:46:55 2011
@@ -1,4 +1,19 @@
 #!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 set -e
 if [ -x "/etc/init.d/hadoop-@HADOOP_DAEMON@" ]; then
 	update-rc.d hadoop-@HADOOP_DAEMON@ defaults >/dev/null

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.postinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.postinst?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.postinst (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.postinst Fri Nov  4 20:46:55 2011
@@ -1,4 +1,19 @@
 #!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 set -e
 
 case "$1" in

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.prerm
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.prerm?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.prerm (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/mahout/mahout.prerm Fri Nov  4 20:46:55 2011
@@ -1,4 +1,19 @@
 #!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 set -e
 
 case "$1" in

Modified: incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/pig/control
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/pig/control?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/pig/control (original)
+++ incubator/bigtop/branches/branch-0.2/bigtop-packages/src/deb/pig/control Fri Nov  4 20:46:55 2011
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 Source: hadoop-pig
 Section: misc
 Priority: extra

Modified: incubator/bigtop/branches/branch-0.2/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/pom.xml?rev=1197761&r1=1197760&r2=1197761&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.2/pom.xml (original)
+++ incubator/bigtop/branches/branch-0.2/pom.xml Fri Nov  4 20:46:55 2011
@@ -46,6 +46,34 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.7</version>
+          <configuration>
+            <excludes>
+              <exclude>.git/**</exclude>
+              <exclude>**/.gitignore</exclude> 
+              <!-- Test data with rigid structure and/or binary -->
+              <exclude>bigtop-tests/test-artifacts/**/resources/**</exclude>
+              <!-- Debian package files that have a rigid structure (* matches package name) -->
+              <exclude>bigtop-packages/src/deb/*/*.dirs</exclude>
+              <exclude>bigtop-packages/src/deb/*/dirs</exclude>
+              <exclude>bigtop-packages/src/deb/*/*.install</exclude>
+              <exclude>bigtop-packages/src/deb/*/*.manpages</exclude>
+              <exclude>bigtop-packages/src/deb/*/*.docs</exclude>
+              <exclude>bigtop-packages/src/deb/*/docs</exclude>
+              <exclude>bigtop-packages/src/deb/*/compat</exclude>
+              <exclude>bigtop-packages/src/deb/*/*.lintian-overrides</exclude>
+              <exclude>bigtop-packages/src/deb/*/shlibs.local</exclude>
+              <exclude>bigtop-repos/apt/distributions</exclude>
+              <!-- Miscelaneous individual files -->
+              <exclude>src/site/resources/images/bigtop-logo.ai</exclude>
+              <exclude>test/MANIFEST.txt</exclude>
+              <exclude>bigtop-deploy/puppet/modules/hadoop/templates/taskcontroller.cfg</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-pdf-plugin</artifactId>
           <version>1.1</version>
@@ -105,4 +133,26 @@
       <url>scpexe://people.apache.org/www/incubator.apache.org/bigtop</url>
     </site>
   </distributionManagement>
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>