diff --git a/NOTICE.txt b/NOTICE.txt
index ce6e567dcb5..679bb59e6a9 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -18,3 +18,23 @@ https://github.com/wesm/feather
This product includes software from the DyND project (BSD 2-clause)
https://github.com/libdynd
+
+This product includes software from the LLVM project
+ * distributed under the University of Illinois Open Source
+
+This product includes software from the google-lint project
+ * Copyright (c) 2009 Google Inc. All rights reserved.
+
+This product includes software from the mman-win32 project
+ * Copyright https://code.google.com/p/mman-win32/
+ * Licensed under the MIT License;
+
+This product includes software from the LevelDB project
+ * Copyright (c) 2011 The LevelDB Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * Moved from Kudu http://github.com/cloudera/kudu
+
+This product includes software from the CMake project
+ * Copyright 2001-2009 Kitware, Inc.
+ * Copyright 2012-2014 Continuum Analytics, Inc.
+ * All rights reserved.
diff --git a/README.md b/README.md
index 84bae78cc7f..89114ee39b4 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,17 @@
+
+
## Apache Arrow
@@ -42,4 +56,4 @@ integrations in other projects, we'd be happy to have you involved:
[1]: mailto:dev-subscribe@arrow.apache.org
[2]: https://github.com/apache/arrow/tree/master/format
-[3]: https://issues.apache.org/jira/browse/ARROW
\ No newline at end of file
+[3]: https://issues.apache.org/jira/browse/ARROW
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index 2f02ef247af..acd820bbed2 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -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. See accompanying LICENSE file.
+
+
set -ex
source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh
diff --git a/ci/travis_conda_build.sh b/ci/travis_conda_build.sh
index a787df79a55..17a33ae9717 100755
--- a/ci/travis_conda_build.sh
+++ b/ci/travis_conda_build.sh
@@ -1,5 +1,17 @@
#!/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. See accompanying LICENSE file.
+
set -ex
source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh
diff --git a/ci/travis_install_conda.sh b/ci/travis_install_conda.sh
index e9225259e6d..ffa017cbaf5 100644
--- a/ci/travis_install_conda.sh
+++ b/ci/travis_install_conda.sh
@@ -1,5 +1,17 @@
#!/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. See accompanying LICENSE file.
+
set -e
if [ $TRAVIS_OS_NAME == "linux" ]; then
diff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.sh
index a3585507f0a..c3bd3b5f207 100755
--- a/ci/travis_script_cpp.sh
+++ b/ci/travis_script_cpp.sh
@@ -1,5 +1,17 @@
#!/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. See accompanying LICENSE file.
+
set -e
: ${CPP_BUILD_DIR=$TRAVIS_BUILD_DIR/cpp-build}
diff --git a/ci/travis_script_java.sh b/ci/travis_script_java.sh
index 2d11eaeb4c5..4679f9c6daf 100755
--- a/ci/travis_script_java.sh
+++ b/ci/travis_script_java.sh
@@ -1,5 +1,17 @@
#!/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. See accompanying LICENSE file.
+
set -e
JAVA_DIR=${TRAVIS_BUILD_DIR}/java
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index 61c8e444361..a75ff0778bc 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -1,5 +1,17 @@
#!/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. See accompanying LICENSE file.
+
set -e
PYTHON_DIR=$TRAVIS_BUILD_DIR/python
diff --git a/cpp/README.md b/cpp/README.md
index 129c5f15b15..a1c3ef28447 100644
--- a/cpp/README.md
+++ b/cpp/README.md
@@ -1,3 +1,17 @@
+
+
# Arrow C++
## Setup Build Environment
diff --git a/cpp/cmake_modules/FindGPerf.cmake b/cpp/cmake_modules/FindGPerf.cmake
index e8310799c36..e90d4d00395 100644
--- a/cpp/cmake_modules/FindGPerf.cmake
+++ b/cpp/cmake_modules/FindGPerf.cmake
@@ -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. See accompanying LICENSE file.
+
# -*- cmake -*-
# - Find Google perftools
diff --git a/cpp/cmake_modules/san-config.cmake b/cpp/cmake_modules/san-config.cmake
index b847c96657a..fe52fef12ea 100644
--- a/cpp/cmake_modules/san-config.cmake
+++ b/cpp/cmake_modules/san-config.cmake
@@ -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. See accompanying LICENSE file.
+
# Clang does not support using ASAN and TSAN simultaneously.
if ("${ARROW_USE_ASAN}" AND "${ARROW_USE_TSAN}")
message(SEND_ERROR "Can only enable one of ASAN or TSAN at a time")
diff --git a/cpp/conda.recipe/build.sh b/cpp/conda.recipe/build.sh
index 2f2b7482667..6d7454e9272 100644
--- a/cpp/conda.recipe/build.sh
+++ b/cpp/conda.recipe/build.sh
@@ -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. See accompanying LICENSE file.
+
set -e
set -x
diff --git a/cpp/conda.recipe/meta.yaml b/cpp/conda.recipe/meta.yaml
index 75f3a8ba3d9..31f150c1f0b 100644
--- a/cpp/conda.recipe/meta.yaml
+++ b/cpp/conda.recipe/meta.yaml
@@ -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. See accompanying LICENSE file.
+
package:
name: arrow-cpp
version: "0.1"
diff --git a/cpp/doc/HDFS.md b/cpp/doc/HDFS.md
index e0d5dfda21d..83311db2d2d 100644
--- a/cpp/doc/HDFS.md
+++ b/cpp/doc/HDFS.md
@@ -1,3 +1,17 @@
+
+
## Using Arrow's HDFS (Apache Hadoop Distributed File System) interface
### Build requirements
@@ -36,4 +50,4 @@ will set it automatically for you:
```shell
export JAVA_HOME=$(/usr/libexec/java_home)
-```
\ No newline at end of file
+```
diff --git a/cpp/doc/Parquet.md b/cpp/doc/Parquet.md
index 96471d94835..34b83e78d0a 100644
--- a/cpp/doc/Parquet.md
+++ b/cpp/doc/Parquet.md
@@ -1,3 +1,17 @@
+
+
## Building Arrow-Parquet integration
To use Arrow C++ with Parquet, you must first build the Arrow C++ libraries and
@@ -16,4 +30,4 @@ make -j4
make install
```
-[1]: https://github.com/apache/parquet-cpp
\ No newline at end of file
+[1]: https://github.com/apache/parquet-cpp
diff --git a/cpp/setup_build_env.sh b/cpp/setup_build_env.sh
index fa779fdd5c2..546216753b3 100755
--- a/cpp/setup_build_env.sh
+++ b/cpp/setup_build_env.sh
@@ -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. See accompanying LICENSE file.
+
SOURCE_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
./thirdparty/download_thirdparty.sh || { echo "download_thirdparty.sh failed" ; return; }
diff --git a/cpp/src/arrow/io/symbols.map b/cpp/src/arrow/io/symbols.map
index b4ad98cd7f2..1e87caef9c8 100644
--- a/cpp/src/arrow/io/symbols.map
+++ b/cpp/src/arrow/io/symbols.map
@@ -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. See accompanying LICENSE file.
+
{
# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
diff --git a/cpp/src/arrow/ipc/symbols.map b/cpp/src/arrow/ipc/symbols.map
index b4ad98cd7f2..1e87caef9c8 100644
--- a/cpp/src/arrow/ipc/symbols.map
+++ b/cpp/src/arrow/ipc/symbols.map
@@ -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. See accompanying LICENSE file.
+
{
# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
diff --git a/cpp/src/arrow/symbols.map b/cpp/src/arrow/symbols.map
index 2ca8d730610..cc8c9ba3c94 100644
--- a/cpp/src/arrow/symbols.map
+++ b/cpp/src/arrow/symbols.map
@@ -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. See accompanying LICENSE file.
+
{
# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
diff --git a/cpp/thirdparty/build_thirdparty.sh b/cpp/thirdparty/build_thirdparty.sh
index 6cc776d0904..5011e29c01a 100755
--- a/cpp/thirdparty/build_thirdparty.sh
+++ b/cpp/thirdparty/build_thirdparty.sh
@@ -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. See accompanying LICENSE file.
+
set -x
set -e
TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
diff --git a/cpp/thirdparty/download_thirdparty.sh b/cpp/thirdparty/download_thirdparty.sh
index d299afc1522..b50e7bc06a1 100755
--- a/cpp/thirdparty/download_thirdparty.sh
+++ b/cpp/thirdparty/download_thirdparty.sh
@@ -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. See accompanying LICENSE file.
+
set -x
set -e
diff --git a/cpp/thirdparty/set_thirdparty_env.sh b/cpp/thirdparty/set_thirdparty_env.sh
index 7e9531cd508..135972ee9bd 100755
--- a/cpp/thirdparty/set_thirdparty_env.sh
+++ b/cpp/thirdparty/set_thirdparty_env.sh
@@ -1,5 +1,17 @@
#!/usr/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. See accompanying LICENSE file.
+
SOURCE_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
source $SOURCE_DIR/versions.sh
diff --git a/cpp/thirdparty/versions.sh b/cpp/thirdparty/versions.sh
index cb455b4eadd..a7b21e19fcc 100755
--- a/cpp/thirdparty/versions.sh
+++ b/cpp/thirdparty/versions.sh
@@ -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. See accompanying LICENSE file.
+
GTEST_VERSION=1.7.0
GTEST_URL="https://github.com/google/googletest/archive/release-${GTEST_VERSION}.tar.gz"
GTEST_BASEDIR=googletest-release-$GTEST_VERSION
diff --git a/dev/release/02-source.sh b/dev/release/02-source.sh
index f44692d5e9d..1bbe2e92753 100644
--- a/dev/release/02-source.sh
+++ b/dev/release/02-source.sh
@@ -56,12 +56,43 @@ tarball=$tag.tar.gz
# archive (identical hashes) using the scm tag
git archive $release_hash --prefix $tag/ -o $tarball
+# download apache rat
+curl -s https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.12/apache-rat-0.12.jar > apache-rat-0.12.jar
+
+RAT="java -jar apache-rat-0.12.jar -d "
+
+# generate the rat report
+$RAT $tarball \
+ -e ".*" \
+ -e mman.h \
+ -e "*_generated.h" \
+ -e random.h \
+ -e status.cc \
+ -e status.h \
+ -e asan_symbolize.py \
+ -e cpplint.py \
+ -e FindPythonLibsNew.cmake \
+ -e pax_global_header \
+ -e MANIFEST.in \
+ -e __init__.pxd \
+ -e __init__.py \
+ -e requirements.txt \
+ > rat.txt
+UNAPPROVED=`cat rat.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`
+
+if [ "0" -eq "${UNAPPROVED}" ]; then
+ echo "No unnaproved licenses"
+else
+ echo "${UNAPPROVED} unapproved licences. Check rat report: rat.txt"
+ exit
+fi
+
# sign the archive
gpg --armor --output ${tarball}.asc --detach-sig $tarball
gpg --print-md MD5 $tarball > ${tarball}.md5
shasum $tarball > ${tarball}.sha
-# check out the parquet RC folder
+# check out the arrow RC folder
svn co --depth=empty https://dist.apache.org/repos/dist/dev/arrow tmp
# add the release candidate for the tag
diff --git a/dev/release/README b/dev/release/README
index 4fcc5d9728c..07402030bf6 100644
--- a/dev/release/README
+++ b/dev/release/README
@@ -3,6 +3,9 @@ requirements:
- a gpg key to sign the artifacts
to release, run the following (replace 0.1.0 with version to release):
+
+#create a release branch
+git co -b release-0_1_0
# prepare release v 0.1.0 (run tests, sign artifacts). Next version will be 0.1.1-SNAPSHOT
dev/release/00-prepare.sh 0.1.0 0.1.1
# tag and push to maven repo (repo will have to be finalized separately)
@@ -11,5 +14,12 @@ dev/release/01-perform.sh
dev/release/02-source.sh 0.1.0 0
useful commands:
-to set the mvn version in the poms
+- to set the mvn version in the poms
mvn versions:set -DnewVersion=0.1-SNAPSHOT
+- reset your workspace
+git reset --hard
+- setup gpg agent
+eval $(gpg-agent --daemon --allow-preset-passphrase)
+gpg --use-agent -s LICENSE.txt
+- delete tag localy
+git tag -d apache-arrow-0.1.0
diff --git a/format/File.fbs b/format/File.fbs
index a29bbc694bc..f28dc204d58 100644
--- a/format/File.fbs
+++ b/format/File.fbs
@@ -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.
+
include "Message.fbs";
namespace org.apache.arrow.flatbuf;
diff --git a/format/Guidelines.md b/format/Guidelines.md
index 14f10578504..c75da9f98be 100644
--- a/format/Guidelines.md
+++ b/format/Guidelines.md
@@ -1,3 +1,16 @@
+
# Implementation guidelines
An execution engine (or framework, or UDF executor, or storage engine, etc) can implements only a subset of the Arrow spec and/or extend it given the following constraints:
diff --git a/format/IPC.md b/format/IPC.md
index 1f39e762ab7..3f78126ef55 100644
--- a/format/IPC.md
+++ b/format/IPC.md
@@ -1,3 +1,17 @@
+
+
# Interprocess messaging / communication (IPC)
## File format
diff --git a/format/Layout.md b/format/Layout.md
index a953930e172..251af9dd8a1 100644
--- a/format/Layout.md
+++ b/format/Layout.md
@@ -1,3 +1,17 @@
+
+
# Arrow: Physical memory layout
## Definitions / Terminology
diff --git a/format/Message.fbs b/format/Message.fbs
index d8fa65006c2..2ec9fd1817b 100644
--- a/format/Message.fbs
+++ b/format/Message.fbs
@@ -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.
+
namespace org.apache.arrow.flatbuf;
enum MetadataVersion:short {
diff --git a/format/Metadata.md b/format/Metadata.md
index e227b8d4afd..fa5f623ac97 100644
--- a/format/Metadata.md
+++ b/format/Metadata.md
@@ -1,3 +1,17 @@
+
+
# Metadata: Logical types, schemas, data headers
This is documentation for the Arrow metadata specification, which enables
diff --git a/format/README.md b/format/README.md
index 78e15207ee9..048badb1221 100644
--- a/format/README.md
+++ b/format/README.md
@@ -1,3 +1,17 @@
+
+
## Arrow specification documents
> **Work-in-progress specification documents**. These are discussion documents
@@ -21,4 +35,4 @@ couple related pieces of information:
schema, and enable a system to send and receive Arrow row batches in a form
that can be precisely disassembled or reconstructed.
-[1]: http://github.com/google/flatbuffers
\ No newline at end of file
+[1]: http://github.com/google/flatbuffers
diff --git a/java/README.md b/java/README.md
index 5e1d30d9fd2..a57e35afbbd 100644
--- a/java/README.md
+++ b/java/README.md
@@ -1,3 +1,17 @@
+
+
# Arrow Java
## Setup Build Environment
diff --git a/java/vector/src/main/codegen/config.fmpp b/java/vector/src/main/codegen/config.fmpp
index 6d92ba830ee..92881dc914f 100644
--- a/java/vector/src/main/codegen/config.fmpp
+++ b/java/vector/src/main/codegen/config.fmpp
@@ -1,18 +1,14 @@
-# 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
+# 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
+# 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. See accompanying LICENSE file.
data: {
# TODO: Rename to ~valueVectorModesAndTypes for clarity.
diff --git a/java/vector/src/main/codegen/data/ArrowTypes.tdd b/java/vector/src/main/codegen/data/ArrowTypes.tdd
index 11ac99af424..c0b942bc359 100644
--- a/java/vector/src/main/codegen/data/ArrowTypes.tdd
+++ b/java/vector/src/main/codegen/data/ArrowTypes.tdd
@@ -1,18 +1,14 @@
-# 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
+# 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
+# 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. See accompanying LICENSE file.
{
types: [
diff --git a/java/vector/src/main/codegen/data/ValueVectorTypes.tdd b/java/vector/src/main/codegen/data/ValueVectorTypes.tdd
index 421dd7ef92e..f7790bb3d6d 100644
--- a/java/vector/src/main/codegen/data/ValueVectorTypes.tdd
+++ b/java/vector/src/main/codegen/data/ValueVectorTypes.tdd
@@ -1,18 +1,14 @@
-# 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
+# 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
+# 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. See accompanying LICENSE file.
{
modes: [
diff --git a/python/README.md b/python/README.md
index bafe71b05ec..f77afba5837 100644
--- a/python/README.md
+++ b/python/README.md
@@ -1,3 +1,17 @@
+
+
## Python library for Apache Arrow
This library provides a Pythonic API wrapper for the reference Arrow C++
diff --git a/python/asv.conf.json b/python/asv.conf.json
index 96beba64c2e..0c059fd79c1 100644
--- a/python/asv.conf.json
+++ b/python/asv.conf.json
@@ -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. See accompanying LICENSE file.
+
{
// The version of the config file format. Do not change, unless
// you know what you are doing.
diff --git a/python/conda.recipe/build.sh b/python/conda.recipe/build.sh
index f32710073c7..fafe71e7adb 100644
--- a/python/conda.recipe/build.sh
+++ b/python/conda.recipe/build.sh
@@ -1,4 +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. See accompanying LICENSE file.
+
set -ex
# Build dependency
diff --git a/python/conda.recipe/meta.yaml b/python/conda.recipe/meta.yaml
index 98ae4141e3b..b37dfde0a0d 100644
--- a/python/conda.recipe/meta.yaml
+++ b/python/conda.recipe/meta.yaml
@@ -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. See accompanying LICENSE file.
+
package:
name: pyarrow
version: "0.1"
diff --git a/python/doc/Benchmarks.md b/python/doc/Benchmarks.md
index 8edfb6209e4..1c368018582 100644
--- a/python/doc/Benchmarks.md
+++ b/python/doc/Benchmarks.md
@@ -1,3 +1,16 @@
+
## Benchmark Requirements
The benchmarks are run using [asv][1] which is also their only requirement.
diff --git a/python/doc/INSTALL.md b/python/doc/INSTALL.md
index d30a03046ed..81eed565d91 100644
--- a/python/doc/INSTALL.md
+++ b/python/doc/INSTALL.md
@@ -1,3 +1,17 @@
+
+
## Building pyarrow (Apache Arrow Python library)
First, clone the master git repository:
@@ -84,4 +98,4 @@ Out[2]:
]
```
-[1]: https://cmake.org/
\ No newline at end of file
+[1]: https://cmake.org/
diff --git a/python/pyarrow/config.pyx b/python/pyarrow/config.pyx
index 1047a472fe3..778c15a5e65 100644
--- a/python/pyarrow/config.pyx
+++ b/python/pyarrow/config.pyx
@@ -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. See accompanying LICENSE file.
+
# cython: profile=False
# distutils: language = c++
# cython: embedsignature = True