You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ju...@apache.org on 2014/09/03 02:09:44 UTC

git commit: PARQUET-72: Prepare for Apache release

Repository: incubator-parquet-format
Updated Branches:
  refs/heads/master addbbb914 -> 1afe8d9ae


PARQUET-72: Prepare for Apache release

Add license headers and other documentation required by the ASF.

This doesn't update the maven release configuration.

Author: Ryan Blue <rb...@cloudera.com>

Closes #6 from rdblue/PARQUET-72-prepare-apache-release and squashes the following commits:

e48a607 [Ryan Blue] Adding NOTICE, DISCLAIMER, and KEYS.
3d2ca06 [Ryan Blue] Add license headers and enable apache-rat-plugin.


Project: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/commit/1afe8d9a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/tree/1afe8d9a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/diff/1afe8d9a

Branch: refs/heads/master
Commit: 1afe8d9ae7e38acfc4ea273338a3c0c35feca115
Parents: addbbb9
Author: Ryan Blue <rb...@cloudera.com>
Authored: Tue Sep 2 17:09:31 2014 -0700
Committer: julien <ju...@twitter.com>
Committed: Tue Sep 2 17:09:31 2014 -0700

----------------------------------------------------------------------
 CHANGES.md                                      | 19 +++++++
 CONTRIBUTING.md                                 | 19 +++++++
 DISCLAIMER                                      |  8 +++
 Encodings.md                                    | 19 +++++++
 KEYS                                            | 10 ++++
 LICENSE                                         |  0
 LogicalTypes.md                                 | 19 +++++++
 Makefile                                        | 19 +++++++
 NOTICE                                          | 27 ++++++++++
 README.md                                       | 19 +++++++
 changelog.sh                                    | 19 +++++++
 dev/README.md                                   | 19 +++++++
 licenses/LICENSE.slf4j.txt                      | 23 ++++++++
 pom.xml                                         | 56 ++++++++++++++++++++
 .../java/parquet/format/InterningProtocol.java  | 19 +++++++
 src/main/java/parquet/format/Util.java          | 19 +++++++
 src/thrift/parquet.thrift                       | 11 ++--
 17 files changed, 320 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/CHANGES.md
----------------------------------------------------------------------
diff --git a/CHANGES.md b/CHANGES.md
index e14b328..ac2348a 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,3 +1,22 @@
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -   http://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing,
+  - software distributed under the License is distributed on an
+  - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  - KIND, either express or implied.  See the License for the
+  - specific language governing permissions and limitations
+  - under the License.
+  -->
+
 # Parquet #
 
 ### Version 2.1.0 ###

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/CONTRIBUTING.md
----------------------------------------------------------------------
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 607990a..7c31ea4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,3 +1,22 @@
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -   http://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing,
+  - software distributed under the License is distributed on an
+  - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  - KIND, either express or implied.  See the License for the
+  - specific language governing permissions and limitations
+  - under the License.
+  -->
+
 Recommendations and requirements for how to best contribute to Parquet. We strive to obey these as best as possible. As always, thanks for contributing--we hope these guidelines make it easier and shed some light on our approach and processes.
 
 ### Key branches

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/DISCLAIMER
----------------------------------------------------------------------
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 0000000..72eef19
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,8 @@
+Apache Parquet is an effort undergoing incubation at The Apache Software
+Foundation (ASF), sponsored by The Apache Incubator. Incubation is required of
+all newly accepted projects until a further review indicates that the
+infrastructure, communications, and decision making process have stabilized in
+a manner consistent with other successful ASF projects. While incubation status
+is not necessarily a reflection of the completeness or stability of the code,
+it does indicate that the project has yet to be fully endorsed by the ASF.
+

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/Encodings.md
----------------------------------------------------------------------
diff --git a/Encodings.md b/Encodings.md
index 1b547a9..662e6af 100644
--- a/Encodings.md
+++ b/Encodings.md
@@ -1,3 +1,22 @@
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -   http://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing,
+  - software distributed under the License is distributed on an
+  - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  - KIND, either express or implied.  See the License for the
+  - specific language governing permissions and limitations
+  - under the License.
+  -->
+
 Parquet encoding definitions
 ====
 

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/KEYS
----------------------------------------------------------------------
diff --git a/KEYS b/KEYS
new file mode 100644
index 0000000..f1cf741
--- /dev/null
+++ b/KEYS
@@ -0,0 +1,10 @@
+This file contains the PGP keys of various developers.
+
+Users: pgp < KEYS
+  gpg --import KEYS
+Developers: 
+  pgp -kxa <your name> and append it to this file.
+  (pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
+  (gpg --list-sigs <your name>
+    && gpg --armor --export <your name>) >> this file.
+

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
old mode 100755
new mode 100644

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/LogicalTypes.md
----------------------------------------------------------------------
diff --git a/LogicalTypes.md b/LogicalTypes.md
index b685813..e686a27 100644
--- a/LogicalTypes.md
+++ b/LogicalTypes.md
@@ -1,3 +1,22 @@
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -   http://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing,
+  - software distributed under the License is distributed on an
+  - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  - KIND, either express or implied.  See the License for the
+  - specific language governing permissions and limitations
+  - under the License.
+  -->
+
 Parquet Logical Type Definitions
 ====
 

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 5785afc..bb68280 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 thrift:
 	mkdir -p generated
 	thrift --gen cpp -o generated src/thrift/parquet.thrift 

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..7496235
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,27 @@
+Apache Parquet
+Copyright 2014 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+--------------------------------------------------------------------------------
+
+This product depends on SLF4J and shades SLF4J in some binary artifacts. SLF4J
+is a simple logging facade for Java.
+
+Copyright: 2004-2013 QOS.ch.
+Home page: http://www.slf4j.org/
+License: http://slf4j.org/license.html (MIT license)
+
+A copy of this license can be found in licenses/LICENSE.slf4j.txt
+
+--------------------------------------------------------------------------------
+
+This product depends on Apache Thrift and shades it in some binary artifacts.
+
+Copyright: 2006-2010 The Apache Software Foundation.
+Home page: https://thrift.apache.org/
+License: http://www.apache.org/licenses/LICENSE-2.0
+
+The Apache License can be found in LICENSE
+

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index e5476cd..904bb6a 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -   http://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing,
+  - software distributed under the License is distributed on an
+  - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  - KIND, either express or implied.  See the License for the
+  - specific language governing permissions and limitations
+  - under the License.
+  -->
+
 Parquet [![Build Status](https://travis-ci.org/Parquet/parquet-format.png?branch=master)](http://travis-ci.org/Parquet/parquet-format)
 ======
 Parquet is a columnar storage format that supports nested data.

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/changelog.sh
----------------------------------------------------------------------
diff --git a/changelog.sh b/changelog.sh
index c144689..fbc0bf9 100755
--- a/changelog.sh
+++ b/changelog.sh
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 GITHUB_REPO=Parquet/parquet-format
 OAUTH_FILE=~/.github_oauth_for_changelog
 if [ -f $OAUTH_FILE ]

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/dev/README.md
----------------------------------------------------------------------
diff --git a/dev/README.md b/dev/README.md
index 352c25d..519e821 100644
--- a/dev/README.md
+++ b/dev/README.md
@@ -1,3 +1,22 @@
+<!--
+  - Licensed to the Apache Software Foundation (ASF) under one
+  - or more contributor license agreements.  See the NOTICE file
+  - distributed with this work for additional information
+  - regarding copyright ownership.  The ASF licenses this file
+  - to you under the Apache License, Version 2.0 (the
+  - "License"); you may not use this file except in compliance
+  - with the License.  You may obtain a copy of the License at
+  -
+  -   http://www.apache.org/licenses/LICENSE-2.0
+  -
+  - Unless required by applicable law or agreed to in writing,
+  - software distributed under the License is distributed on an
+  - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  - KIND, either express or implied.  See the License for the
+  - specific language governing permissions and limitations
+  - under the License.
+  -->
+
 # Parquet Developer Scripts
 This directory contains scripts useful to developers when packaging,
 testing, or committing to Parquet.

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/licenses/LICENSE.slf4j.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE.slf4j.txt b/licenses/LICENSE.slf4j.txt
new file mode 100644
index 0000000..e46c8ba
--- /dev/null
+++ b/licenses/LICENSE.slf4j.txt
@@ -0,0 +1,23 @@
+The following is a copy of the SLF4J license:
+
+  Copyright (c) 2004-2013 QOS.ch
+  All rights reserved.
+
+  Permission is hereby granted, free  of charge, to any person obtaining
+  a  copy  of this  software  and  associated  documentation files  (the
+  "Software"), to  deal in  the Software without  restriction, including
+  without limitation  the rights to  use, copy, modify,  merge, publish,
+  distribute,  sublicense, and/or sell  copies of  the Software,  and to
+  permit persons to whom the Software  is furnished to do so, subject to
+  the following conditions:
+
+  The  above  copyright  notice  and  this permission  notice  shall  be
+  included in all copies or substantial portions of the Software.
+
+  THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
+  EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
+  MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
+  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+  OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
+  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fe59faf..8b3c482 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  - 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.
+  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
@@ -73,6 +92,7 @@
     <maven.compiler.source>1.6</maven.compiler.source>
     <maven.compiler.target>1.6</maven.compiler.target>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <rat.version>0.10</rat.version>
   </properties>
 
   <build>
@@ -149,6 +169,42 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>${rat.version}</version>
+        <executions>
+          <execution>
+            <phase>test</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <excludes>
+            <exclude>**/*.avro</exclude>
+            <exclude>**/*.avsc</exclude>
+            <exclude>**/*.avdl</exclude>
+            <exclude>**/*.iml</exclude>
+            <exclude>**/*.log</exclude>
+            <exclude>**/*.md.vm</exclude>
+            <exclude>**/.classpath</exclude>
+            <exclude>**/.project</exclude>
+            <exclude>**/.settings/**</exclude>
+            <exclude>**/build/**</exclude>
+            <exclude>**/target/**</exclude>
+            <exclude>.git/**</exclude>
+            <exclude>.gitignore</exclude>
+            <exclude>.idea/**</exclude>
+            <exclude>*/jdiff/*.xml</exclude>
+            <exclude>.travis.yml</exclude>
+            <exclude>licenses/**</exclude>
+            <exclude>thrift-0.7.0/**</exclude>
+            <exclude>thrift-0.7.0.tar.gz</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/src/main/java/parquet/format/InterningProtocol.java
----------------------------------------------------------------------
diff --git a/src/main/java/parquet/format/InterningProtocol.java b/src/main/java/parquet/format/InterningProtocol.java
index d367896..9803c72 100644
--- a/src/main/java/parquet/format/InterningProtocol.java
+++ b/src/main/java/parquet/format/InterningProtocol.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package parquet.format;
 
 import java.nio.ByteBuffer;

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/src/main/java/parquet/format/Util.java
----------------------------------------------------------------------
diff --git a/src/main/java/parquet/format/Util.java b/src/main/java/parquet/format/Util.java
index b063e2b..bad90ab 100644
--- a/src/main/java/parquet/format/Util.java
+++ b/src/main/java/parquet/format/Util.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package parquet.format;
 
 import static parquet.format.FileMetaData._Fields.CREATED_BY;

http://git-wip-us.apache.org/repos/asf/incubator-parquet-format/blob/1afe8d9a/src/thrift/parquet.thrift
----------------------------------------------------------------------
diff --git a/src/thrift/parquet.thrift b/src/thrift/parquet.thrift
index 9d875b0..20a7848 100644
--- a/src/thrift/parquet.thrift
+++ b/src/thrift/parquet.thrift
@@ -9,11 +9,12 @@
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 /**