You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by rl...@apache.org on 2016/07/18 10:12:31 UTC
[07/15] incubator-hawq git commit: HAWQ-915. RAT is failing on the
latest master
HAWQ-915. RAT is failing on the latest master
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/77039593
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/77039593
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/77039593
Branch: refs/heads/2.0.0.0-incubating
Commit: 7703959366b4ea4cbb971010ba13acd9bba45675
Parents: 290e94d
Author: Paul Guo <pa...@gmail.com>
Authored: Tue Jul 12 18:27:26 2016 +0800
Committer: rlei <rl...@pivotal.io>
Committed: Mon Jul 18 18:08:10 2016 +0800
----------------------------------------------------------------------
.../CMake/CMakeTestCompileNestedException.cpp | 20 ++++++++++++
.../CMake/CMakeTestCompileSteadyClock.cpp | 19 +++++++++++
.../libhdfs3/CMake/CMakeTestCompileStrerror.cpp | 19 +++++++++++
depends/libhdfs3/CMake/FindGoogleTest.cmake | 17 ++++++++++
depends/libhdfs3/Makefile | 17 ++++++++++
depends/libhdfs3/Makefile.global.in | 17 ++++++++++
depends/libhdfs3/bootstrap | 18 ++++++++++-
depends/libhdfs3/debian/build.sh | 18 +++++++++++
depends/libhdfs3/rpms/build.sh | 18 ++++++++++-
depends/libhdfs3/rpms/libhdfs3.spec | 17 ++++++++++
depends/libhdfs3/src/doxyfile.in | 16 +++++++++
depends/libhdfs3/src/libhdfs3.pc.in | 17 ++++++++++
depends/libhdfs3/src/platform.h.in | 19 +++++++++++
depends/libyarn/CMake/FindGoogleTest.cmake | 17 ++++++++++
depends/libyarn/Makefile | 17 ++++++++++
depends/libyarn/Makefile.global.in | 17 ++++++++++
depends/thirdparty/ImportLog | 5 ---
depends/thirdparty/README | 3 ++
pom.xml | 34 ++++++++++++++++----
src/backend/utils/adt/test/Makefile | 17 ++++++++++
src/backend/utils/adt/test/varlena_test.c | 19 +++++++++++
tools/bin/ext/Makefile | 17 ++++++++++
tools/sbin/hawqstandbywatch.py | 17 ++++++++++
23 files changed, 381 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp b/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
index 66918ca..72e3bbd 100644
--- a/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
+++ b/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
@@ -1,3 +1,23 @@
+/*
+ * 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 <exception>
#include <stdexcept>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp b/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
index afcbe1b..91c1172 100644
--- a/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
+++ b/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
@@ -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.
+ */
+
#include <chrono>
using std::chrono::steady_clock;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp b/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
index 0ef4eda..57c67d5 100644
--- a/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
+++ b/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
@@ -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.
+ */
+
#include <string.h>
int main()
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/CMake/FindGoogleTest.cmake
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/FindGoogleTest.cmake b/depends/libhdfs3/CMake/FindGoogleTest.cmake
index fd57c1e..03209cd 100644
--- a/depends/libhdfs3/CMake/FindGoogleTest.cmake
+++ b/depends/libhdfs3/CMake/FindGoogleTest.cmake
@@ -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(CheckCXXSourceRuns)
find_path(GTest_INCLUDE_DIR gtest/gtest.h
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/Makefile
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/Makefile b/depends/libhdfs3/Makefile
index 3f26baa..3580229 100644
--- a/depends/libhdfs3/Makefile
+++ b/depends/libhdfs3/Makefile
@@ -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.
+#
# -*-makefile-*-
#------------------------------------------------------------------------------
# A makefile that integrate building this module with hawq
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/Makefile.global.in
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/Makefile.global.in b/depends/libhdfs3/Makefile.global.in
index b1ee80f..a1b1d6c 100644
--- a/depends/libhdfs3/Makefile.global.in
+++ b/depends/libhdfs3/Makefile.global.in
@@ -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.
+#
# -*-makefile-*-
#------------------------------------------------------------------------------
# A makefile that integrate building this module with hawq
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/bootstrap
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/bootstrap b/depends/libhdfs3/bootstrap
index 13e2cc8..e435b8e 100755
--- a/depends/libhdfs3/bootstrap
+++ b/depends/libhdfs3/bootstrap
@@ -1,5 +1,21 @@
#!/bin/bash
-
+# 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.
+#
die() {
echo "$@" 1>&2 ; exit 1
}
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/debian/build.sh
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/debian/build.sh b/depends/libhdfs3/debian/build.sh
index 011edea..dc95425 100755
--- a/depends/libhdfs3/debian/build.sh
+++ b/depends/libhdfs3/debian/build.sh
@@ -1,5 +1,23 @@
#!/bin/bash
+# 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.
+#
+
this_dir=`cd "\`dirname \"$0\"\`";pwd`
top_dir=${this_dir}/../
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/rpms/build.sh
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/rpms/build.sh b/depends/libhdfs3/rpms/build.sh
index 4dd2faa..48c5de6 100755
--- a/depends/libhdfs3/rpms/build.sh
+++ b/depends/libhdfs3/rpms/build.sh
@@ -1,5 +1,21 @@
#!/bin/bash
-
+# 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.
+#
this_dir=`cd "\`dirname \"$0\"\`";pwd`
top_dir=${this_dir}/../
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/rpms/libhdfs3.spec
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/rpms/libhdfs3.spec b/depends/libhdfs3/rpms/libhdfs3.spec
index c4ccd8e..3dbbb18 100644
--- a/depends/libhdfs3/rpms/libhdfs3.spec
+++ b/depends/libhdfs3/rpms/libhdfs3.spec
@@ -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.
+#
%define name libhdfs3
%define release 1%{?dist}
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/src/doxyfile.in
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/src/doxyfile.in b/depends/libhdfs3/src/doxyfile.in
index 0b74cb6..4edcb63 100644
--- a/depends/libhdfs3/src/doxyfile.in
+++ b/depends/libhdfs3/src/doxyfile.in
@@ -1,4 +1,20 @@
# Doxyfile 1.8.2
+# 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.
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/src/libhdfs3.pc.in
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/src/libhdfs3.pc.in b/depends/libhdfs3/src/libhdfs3.pc.in
index 0c9f7f1..8885806 100644
--- a/depends/libhdfs3/src/libhdfs3.pc.in
+++ b/depends/libhdfs3/src/libhdfs3.pc.in
@@ -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.
+
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libhdfs3/src/platform.h.in
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/src/platform.h.in b/depends/libhdfs3/src/platform.h.in
index fe63dc8..976fce8 100644
--- a/depends/libhdfs3/src/platform.h.in
+++ b/depends/libhdfs3/src/platform.h.in
@@ -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.
+ */
+
#define THREAD_LOCAL __thread
#define ATTRIBUTE_NORETURN __attribute__ ((noreturn))
#define ATTRIBUTE_NOINLINE __attribute__ ((noinline))
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libyarn/CMake/FindGoogleTest.cmake
----------------------------------------------------------------------
diff --git a/depends/libyarn/CMake/FindGoogleTest.cmake b/depends/libyarn/CMake/FindGoogleTest.cmake
index fd57c1e..03209cd 100644
--- a/depends/libyarn/CMake/FindGoogleTest.cmake
+++ b/depends/libyarn/CMake/FindGoogleTest.cmake
@@ -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(CheckCXXSourceRuns)
find_path(GTest_INCLUDE_DIR gtest/gtest.h
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libyarn/Makefile
----------------------------------------------------------------------
diff --git a/depends/libyarn/Makefile b/depends/libyarn/Makefile
index 29a7e53..44c97cb 100644
--- a/depends/libyarn/Makefile
+++ b/depends/libyarn/Makefile
@@ -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.
+#
# -*-makefile-*-
#------------------------------------------------------------------------------
# A makefile that integrate building this module with hawq
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/libyarn/Makefile.global.in
----------------------------------------------------------------------
diff --git a/depends/libyarn/Makefile.global.in b/depends/libyarn/Makefile.global.in
index 38bf5a5..0071752 100644
--- a/depends/libyarn/Makefile.global.in
+++ b/depends/libyarn/Makefile.global.in
@@ -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.
+#
# -*-makefile-*-
#------------------------------------------------------------------------------
# A makefile that integrate building this module with hawq
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/thirdparty/ImportLog
----------------------------------------------------------------------
diff --git a/depends/thirdparty/ImportLog b/depends/thirdparty/ImportLog
deleted file mode 100644
index 8c7e03e..0000000
--- a/depends/thirdparty/ImportLog
+++ /dev/null
@@ -1,5 +0,0 @@
-2016-06-08
- * import orc(with version 1.1.0rc3) from https://github.com/apache/orc/archive/release-1.1.0rc3.tar.gz
-
-2016-05-16
- * import thrift(with version 0.9.3) from https://github.com/apache/thrift/archive/0.9.3.tar.gz
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/depends/thirdparty/README
----------------------------------------------------------------------
diff --git a/depends/thirdparty/README b/depends/thirdparty/README
index 141a4ef..bbbfc60 100644
--- a/depends/thirdparty/README
+++ b/depends/thirdparty/README
@@ -1,3 +1,6 @@
+thrift(with version 0.9.3):
+ https://github.com/apache/thrift/archive/0.9.3.tar.gz
+
Please do not create following directories yourselves:
gporca, gp-xerces, gpos, postgres
since they are auto-created and used when building some related features, i.e.
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e062ec3..03fe050 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,9 +37,27 @@
<!-- stream benchmark under BSD-like license with a few exceptions around benchmarking results -->
<exclude>tools/bin/src/stream/*</exclude>
- <!-- PyGreSQL an open-source Python module that interfaces to a PostgreSQL database under the Python license -->
+ <!-- PyGreSQL an open-source Python module that interfaces to a PostgreSQL database under the Python Software Foundation License -->
<exclude>tools/bin/pythonSrc/PyGreSQL-4.0/**</exclude>
+ <!-- Open-source Pyton module with "public domain" license -->
+ <exclude>tools/bin/pythonSrc/pycrypto-2.0.1/**</exclude>
+
+ <!-- Open-source Python modules with MIT license -->
+ <exclude>tools/bin/pythonSrc/PSI-0.3b2_gp/**</exclude>
+ <exclude>tools/bin/pythonSrc/lockfile-0.9.1/**</exclude>
+ <exclude>tools/bin/ext/simplejson/**</exclude>
+ <exclude>tools/bin/ext/yaml/**</exclude>
+
+ <!-- Open-source Python modules with BSD license -->
+ <exclude>tools/bin/pythonSrc/pychecker-0.8.18/**</exclude>
+ <exclude>tools/bin/pythonSrc/unittest2-0.5.1/**</exclude>
+ <exclude>tools/bin/ext/figleaf/**</exclude>
+ <exclude>tools/bin/ext/pg8000/**</exclude>
+
+ <!-- Open-source packages with Apache license -->
+ <exclude>depends/thirdparty/thrift/**</exclude>
+
<!-- BSD license -->
<exclude>depends/libyarn/CMake/FindBoost.cmake</exclude>
<exclude>depends/libyarn/CMake/FindGSasl.cmake</exclude>
@@ -56,13 +74,8 @@
<exclude>src/bin/gpfdist/src/gpfdist/include/glob.h</exclude>
<exclude>src/include/port/win32_msvc/glob.h</exclude>
<exclude>src/include/port/win32_msvc/bzlib.h</exclude>
+ <exclude>depends/thirdparty/googletest/**</exclude>
- <!-- Google BSD license -->
- <exclude>depends/libyarn/gmock/**</exclude>
- <exclude>depends/libyarn/gtest/**</exclude>
- <exclude>depends/libhdfs3/gmock/**</exclude>
- <exclude>depends/libhdfs3/gtest/**</exclude>
-
<!-- Oraface Project BSD license https://github.com/orafce -->
<exclude>contrib/orafce/*</exclude>
@@ -108,6 +121,10 @@
<exclude>doc/src/sgml/fixrtf</exclude>
<exclude>doc/**/*.sgml</exclude>
+ <!-- Files which are not easy to have license headers. -->
+ <exclude>depends/libhdfs3/test/data/*</exclude>
+ <exclude>depends/libhdfs3/debian/**</exclude>
+
<!-- Following files are licensed to ASF via the initial HAWQ SGA,
however it is tricky to maintain headers in them -->
<exclude>depends/libyarn/test/data/*</exclude>
@@ -155,8 +172,11 @@
<exclude>**/*.cnf</exclude>
<exclude>**/*.stx</exclude>
<exclude>**/*.gdb</exclude>
+ <exclude>**/*.patch</exclude>
+ <exclude>**/*.commit</exclude>
<exclude>**/__init__.py</exclude>
<exclude>**/*README*</exclude>
+ <exclude>**/.travis.yml</exclude>
<exclude>pxf/**/*.classpath</exclude>
</excludes>
<licenses>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/src/backend/utils/adt/test/Makefile
----------------------------------------------------------------------
diff --git a/src/backend/utils/adt/test/Makefile b/src/backend/utils/adt/test/Makefile
index a0cd950..71e218d 100644
--- a/src/backend/utils/adt/test/Makefile
+++ b/src/backend/utils/adt/test/Makefile
@@ -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.
+#
top_builddir=../../../../..
subdir=src/backend/utils/adt
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/src/backend/utils/adt/test/varlena_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/adt/test/varlena_test.c b/src/backend/utils/adt/test/varlena_test.c
index 46035fa..2ec1a5d 100644
--- a/src/backend/utils/adt/test/varlena_test.c
+++ b/src/backend/utils/adt/test/varlena_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/tools/bin/ext/Makefile
----------------------------------------------------------------------
diff --git a/tools/bin/ext/Makefile b/tools/bin/ext/Makefile
index ba49f09..a214389 100644
--- a/tools/bin/ext/Makefile
+++ b/tools/bin/ext/Makefile
@@ -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.
+
#-------------------------------------------------------------------------
#
# Makefile for the managerment utilities
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/77039593/tools/sbin/hawqstandbywatch.py
----------------------------------------------------------------------
diff --git a/tools/sbin/hawqstandbywatch.py b/tools/sbin/hawqstandbywatch.py
index ca7ad1d..996fe16 100755
--- a/tools/sbin/hawqstandbywatch.py
+++ b/tools/sbin/hawqstandbywatch.py
@@ -1,4 +1,21 @@
#!/usr/bin/env python
+# 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.
+
# Line too long - pylint: disable=C0301
# Invalid name - pylint: disable=C0103