tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-383. Fixes for docs/pom.xml and rat warnings for findbugs-exclude files. (hitesh)
Date Wed, 21 Aug 2013 22:55:38 GMT
Updated Branches:
  refs/heads/master b1bad47b5 -> 364c1533f


TEZ-383. Fixes for docs/pom.xml and rat warnings for findbugs-exclude files. (hitesh)


Project: http://git-wip-us.apache.org/repos/asf/incubator-tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tez/commit/364c1533
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/364c1533
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/364c1533

Branch: refs/heads/master
Commit: 364c1533fe8257794bb3cd43fa1d5286b062b126
Parents: b1bad47
Author: Hitesh Shah <hitesh@apache.org>
Authored: Wed Aug 21 15:55:05 2013 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Wed Aug 21 15:55:05 2013 -0700

----------------------------------------------------------------------
 docs/pom.xml                                    |  7 +-
 tez-common/findbugs-exclude.xml                 | 13 ++++
 tez-dag-api/findbugs-exclude.xml                | 13 ++++
 tez-dag/findbugs-exclude.xml                    | 13 ++++
 tez-engine-api/findbugs-exclude.xml             | 13 ++++
 tez-engine/findbugs-exclude.xml                 | 13 ++++
 .../dev-support/findbugs-exclude.xml            | 69 --------------------
 tez-mapreduce-examples/findbugs-exclude.xml     | 13 ++++
 tez-mapreduce/findbugs-exclude.xml              | 13 ++++
 tez-yarn-client/findbugs-exclude.xml            | 13 ++++
 10 files changed, 109 insertions(+), 71 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/docs/pom.xml
----------------------------------------------------------------------
diff --git a/docs/pom.xml b/docs/pom.xml
index de8e1d0..cc70a28 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -24,8 +24,11 @@
     <url>http://incubator.apache.org/tez</url>
     <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.apache.tez</groupId>
-    <version>0.2.0-SNAPSHOT</version>
+    <parent>
+      <groupId>org.apache.tez</groupId>
+      <artifactId>tez</artifactId>
+      <version>0.2.0-SNAPSHOT</version>
+    </parent>
     <artifactId>tez-docs</artifactId>
     <packaging>pom</packaging>
 

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-common/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-common/findbugs-exclude.xml b/tez-common/findbugs-exclude.xml
index be58a39..e2f5d49 100644
--- a/tez-common/findbugs-exclude.xml
+++ b/tez-common/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->i
 <FindBugsFilter>
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-dag-api/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-dag-api/findbugs-exclude.xml b/tez-dag-api/findbugs-exclude.xml
index be58a39..5b11308 100644
--- a/tez-dag-api/findbugs-exclude.xml
+++ b/tez-dag-api/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-dag/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-dag/findbugs-exclude.xml b/tez-dag/findbugs-exclude.xml
index 0d01dad..0634edb 100644
--- a/tez-dag/findbugs-exclude.xml
+++ b/tez-dag/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
   <Match>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-engine-api/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-engine-api/findbugs-exclude.xml b/tez-engine-api/findbugs-exclude.xml
index be58a39..5b11308 100644
--- a/tez-engine-api/findbugs-exclude.xml
+++ b/tez-engine-api/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-engine/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-engine/findbugs-exclude.xml b/tez-engine/findbugs-exclude.xml
index be58a39..5b11308 100644
--- a/tez-engine/findbugs-exclude.xml
+++ b/tez-engine/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-mapreduce-examples/dev-support/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-mapreduce-examples/dev-support/findbugs-exclude.xml b/tez-mapreduce-examples/dev-support/findbugs-exclude.xml
deleted file mode 100644
index 1215a3e..0000000
--- a/tez-mapreduce-examples/dev-support/findbugs-exclude.xml
+++ /dev/null
@@ -1,69 +0,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.
--->
-
-<FindBugsFilter>
-
- <!-- Ignore some irrelevant serialization warnings -->
-  <Match>
-    <Class name="org.apache.hadoop.examples.SecondarySort$FirstGroupingComparator" />
-    <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
-  </Match>
-
-  <Match>
-    <Class name="org.apache.hadoop.examples.SecondarySort$IntPair$Comparator" />
-    <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
-  </Match>
-
-
- <!-- Ignore the irrelevant resource cleanup warnings-->
-  <Match>
-    <Class name="org.apache.hadoop.examples.DBCountPageView" />
-    <Method name="verify" />
-    <Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
-  </Match>
-
- <!-- Ignore the irrelevant closure warnings-->
-  <Match>
-    <Class name="org.apache.hadoop.examples.dancing.Pentomino$Piece" />
-    <Bug pattern="EI_EXPOSE_REP2" />
-  </Match>
-
-  <!-- Ignore the irrelevant package protection warnings-->
-  <Match>
-    <Class name="org.apache.hadoop.examples.dancing.Pentomino" />
-     <Or>
-      <Field name="fourRotations" />
-      <Field name="oneRotation" />
-      <Field name="twoRotations" />
-     </Or>
-    <Bug pattern="MS_PKGPROTECT" />
-  </Match>
-
-   <!-- Ignore the irrelevant right shift warnings, as only positive integers are given
as input-->
-  <Match>
-    <Class name="org.apache.hadoop.examples.terasort.Unsigned16" />
-    <Method name="getHexDigit" />
-    <Bug pattern="ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT" />
-  </Match>
-
-  <Match>
-    <Class name="org.apache.hadoop.examples.terasort.TeraInputFormat" />
-      <Method name="getSplits" />
-    <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
-  </Match>
-
-</FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-mapreduce-examples/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-mapreduce-examples/findbugs-exclude.xml b/tez-mapreduce-examples/findbugs-exclude.xml
index be58a39..5b11308 100644
--- a/tez-mapreduce-examples/findbugs-exclude.xml
+++ b/tez-mapreduce-examples/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-mapreduce/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-mapreduce/findbugs-exclude.xml b/tez-mapreduce/findbugs-exclude.xml
index be58a39..5b11308 100644
--- a/tez-mapreduce/findbugs-exclude.xml
+++ b/tez-mapreduce/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/364c1533/tez-yarn-client/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tez-yarn-client/findbugs-exclude.xml b/tez-yarn-client/findbugs-exclude.xml
index be58a39..5b11308 100644
--- a/tez-yarn-client/findbugs-exclude.xml
+++ b/tez-yarn-client/findbugs-exclude.xml
@@ -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. See accompanying LICENSE file.
+-->
 <FindBugsFilter>
 
 </FindBugsFilter>


Mime
View raw message