You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by ml...@apache.org on 2016/09/08 02:08:42 UTC

[69/70] incubator-hawq git commit: HAWQ-958, HAWQ-976, HAWQ-957. LICENSE & NOTICE updates

HAWQ-958, HAWQ-976, HAWQ-957. LICENSE & NOTICE updates

* Update Stream license
* Update PyGreSQL license
* Update CMake license
* Remove ASF license header from CMake files
* Update pom.xml to exclude all libyarn and libhdfs3 CMake files
* Using new license format seen in spark.
* HAWQ-976. dynloader license (and corresponding source change)
* HAWQ-976. glob license (and corresponding source change)
* Add unittest2, pychecker, pg_controldata, pg8000, lockfile LICENSE files
* Add figleaf LICENSE file
* Remove incorrect ASF headers for figleaf
* update bzip2 license
* update googletest license
* update pexpect license
* update pitlockfile license
* update pljava license
* update oraface license
* Add licenses for:
    LICENSE-json.txt
    LICENSE-plperl.txt
    LICENSE-postgresql.txt
    LICENSE-test-ctype.txt
* Fix incorrect GPL reference - tools/bin/gppylib/operations/test/test_package.py
* HAWQ-957. Update NOTICE
* Remove ASF license header for plperl
* Add PSI,regents-of-the-university-of-california, university-of-california-at-berkeley LICENSE file
* Add port, wstrcmp BSD license
* Add isc, libpq-sha2, port-rand, port-gettimeofday, regex license
* Add pg_dump license


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/0fe6d82d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/0fe6d82d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/0fe6d82d

Branch: refs/heads/master
Commit: 0fe6d82d050fab2327429d38b0865777913d3a81
Parents: cfbf19e
Author: Ed Espino <ee...@pivotal.io>
Authored: Mon Sep 5 17:00:48 2016 +0800
Committer: rlei <rl...@pivotal.io>
Committed: Wed Sep 7 15:49:29 2016 +0800

----------------------------------------------------------------------
 COPYRIGHT                                       |  25 -
 LICENSE                                         | 602 ++++++++-----------
 NOTICE                                          |  60 +-
 .../CMake/CMakeTestCompileNestedException.cpp   |  20 -
 .../CMake/CMakeTestCompileSteadyClock.cpp       |  19 -
 .../libhdfs3/CMake/CMakeTestCompileStrerror.cpp |  19 -
 depends/libhdfs3/CMake/FindGoogleTest.cmake     |  17 -
 depends/libyarn/CMake/CodeCoverage.cmake        |  18 -
 depends/libyarn/CMake/FindGoogleTest.cmake      |  17 -
 depends/libyarn/CMake/Functions.cmake           |  18 -
 depends/libyarn/CMake/Options.cmake             |  18 -
 depends/libyarn/CMake/Platform.cmake            |  18 -
 licenses/LICENSE-PSI.txt                        |  26 +
 licenses/LICENSE-bzip2.txt                      |  41 ++
 licenses/LICENSE-cmake.txt                      |  32 +
 licenses/LICENSE-dynloader.txt                  |  25 +
 licenses/LICENSE-figleaf.txt                    |  24 +
 licenses/LICENSE-glob.txt                       |  31 +
 licenses/LICENSE-googletest.txt                 |  28 +
 licenses/LICENSE-isc.txt                        |  14 +
 licenses/LICENSE-json.txt                       | 131 ++++
 licenses/LICENSE-libpq-sha2.txt                 |  26 +
 licenses/LICENSE-lockfile.txt                   |  21 +
 licenses/LICENSE-oraface.txt                    |  18 +
 licenses/LICENSE-pexpect.txt                    |  20 +
 licenses/LICENSE-pg8000.txt                     |  26 +
 licenses/LICENSE-pg_controldata.txt             |  24 +
 licenses/LICENSE-pitlockfile.txt                | 192 ++++++
 licenses/LICENSE-pljava.txt                     |  33 +
 licenses/LICENSE-plperl.txt                     | 135 +++++
 licenses/LICENSE-port-gettimeofday.txt          |  20 +
 licenses/LICENSE-port-rand.txt                  |  10 +
 licenses/LICENSE-port.txt                       |  26 +
 licenses/LICENSE-postgresql.txt                 |  23 +
 licenses/LICENSE-pychecker.txt                  |  31 +
 licenses/LICENSE-pygresql.txt                   |  28 +
 licenses/LICENSE-regex.txt                      |  84 +++
 licenses/LICENSE-stream.txt                     |  32 +
 licenses/LICENSE-test-ctype.txt                 |  11 +
 licenses/LICENSE-unittest2.txt                  |  32 +
 licenses/LICENSE-wstrcmp.txt                    |  26 +
 pom.xml                                         |  20 +-
 src/backend/port/dynloader/freebsd.c            |   6 +-
 src/backend/port/dynloader/netbsd.c             |   6 +-
 src/backend/port/dynloader/openbsd.c            |   6 +-
 src/bin/gpfdist/src/gpfdist/glob.c              |   6 +-
 src/bin/gpfdist/src/gpfdist/include/glob.h      |   6 +-
 src/include/port/win32_msvc/glob.h              |   6 +-
 src/pl/plperl/plperl.c                          |  19 -
 src/pl/plperl/plperl.h                          |  19 -
 src/pl/plperl/plperl_helpers.h                  |  20 -
 src/port/glob.c                                 |   6 +-
 tools/bin/ext/figleaf/__init__.py               |  16 -
 tools/bin/ext/figleaf/_lib.py                   |  16 -
 tools/bin/ext/figleaf/annotate.py               |  16 -
 tools/bin/ext/figleaf/annotate_cover.py         |  16 -
 tools/bin/ext/figleaf/annotate_html.py          |  16 -
 tools/bin/ext/figleaf/annotate_sections.py      |  16 -
 tools/bin/ext/figleaf/internals.py              |  16 -
 tools/bin/ext/figleaf/nose_sections.py          |  16 -
 .../bin/gppylib/operations/test/test_package.py |   2 +-
 61 files changed, 1482 insertions(+), 789 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/COPYRIGHT
----------------------------------------------------------------------
diff --git a/COPYRIGHT b/COPYRIGHT
deleted file mode 100644
index aad9ed4..0000000
--- a/COPYRIGHT
+++ /dev/null
@@ -1,25 +0,0 @@
-Greenplum Database version of PostgreSQL Database Management System
-(formerly known as Postgres, then as Postgres95)
-
-Portions Copyright (c) 2011 EMC
-
-Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
-
-Portions Copyright (c) 1994, The Regents of the University of California
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose, without fee, and without a written agreement
-is hereby granted, provided that the above copyright notice and this
-paragraph and the following two paragraphs appear in all copies.
-
-IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
-DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
-LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
-DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
-ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
-PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 2f5b242..62a4872 100644
--- a/LICENSE
+++ b/LICENSE
@@ -201,353 +201,269 @@
    limitations under the License.
 
 =======================================================================
-Apache HAWQ (incubating) Subcomponents:
 
-The Apache HAWQ (incubating) project contains subcomponents with separate 
-copyright notices and license terms. Your use of the source code for these
-subcomponents is subject to the terms and conditions of the following
-licenses.
-
-***********************************************************************
-Source code under tools/bin/src/stream/ is taken from stream benchmark
-and is available under the following license:
-
-*=======================================================================
-*-----------------------------------------------------------------------
-* Copyright 1991-2003: John D. McCalpin
-*-----------------------------------------------------------------------
-* License:
-*  1. You are free to use this program and/or to redistribute
-*     this program.
-*  2. You are free to modify this program for your own use,
-*     including commercial use, subject to the publication
-*     restrictions in item 3.
-*  3. You are free to publish results obtained from running this
-*     program, or from works that you derive from this program,
-*     with the following limitations:
-*     3a. In order to be referred to as "STREAM benchmark results",
-*         published results must be in conformance to the STREAM
-*         Run Rules, (briefly reviewed below) published at
-*         http://www.cs.virginia.edu/stream/ref.html
-*         and incorporated herein by reference.
-*         As the copyright holder, John McCalpin retains the
-*         right to determine conformity with the Run Rules.
-*     3b. Results based on modified source code or on runs not in
-*         accordance with the STREAM Run Rules must be clearly
-*         labelled whenever they are published.  Examples of
-*         proper labelling include:
-*         "tuned STREAM benchmark results" 
-*         "based on a variant of the STREAM benchmark code"
-*         Other comparable, clear and reasonable labelling is
-*         acceptable.
-*     3c. Submission of results to the STREAM benchmark web site
-*         is encouraged, but not required.
-*  4. Use of this program or creation of derived works based on this
-*     program constitutes acceptance of these licensing restrictions.
-*  5. Absolutely no warranty is expressed or implied.
-*-----------------------------------------------------------------------
-
-***********************************************************************
-Source code under tools/bin/pythonSrc/PyGreSQL-4.0 is taken from PyGreSQL
-and is available under the following license:
-
-Written by D\u2019Arcy J.M. Cain (darcy@druid.net)
-
-Based heavily on code written by Pascal Andre (andre@chimay.via.ecp.fr)
-
-Copyright (c) 1995, Pascal Andre
-
-Further modifications copyright (c) 1997-2008 by D\u2019Arcy J.M. Cain (darcy@PyGreSQL.org)
-
-Further modifications copyright (c) 2009-2016 by the PyGreSQL team.
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose, without fee, and without a written agreement is
-hereby granted, provided that the above copyright notice and this paragraph and
-the following two paragraphs appear in all copies. In this license the term
-\u201cAUTHORS\u201d refers to anyone who has contributed code to PyGreSQL.
-
-IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
-SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
-OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF AUTHORS HAVE BEEN
-ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-THE SOFTWARE PROVIDED HEREUNDER IS ON AN \u201cAS IS\u201d BASIS, AND THE AUTHORS HAVE NO
-OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
-MODIFICATIONS.
-
-***********************************************************************
-Source code under
-  depends/libyarn/CMake/FindBoost.cmake
-  depends/libyarn/CMake/FindGSasl.cmake
-  depends/libyarn/CMake/FindKERBEROS.cmake
-  depends/libhdfs3/CMake/FindBoost.cmake
-  depends/libhdfs3/CMake/CodeCoverage.cmake
-  depends/libhdfs3/CMake/FindGSasl.cmake
-  depends/libhdfs3/CMake/FindKERBEROS.cmake
-  depends/libhdfs3/CMake/FindLibUUID.cmake
-  depends/libhdfs3/CMake/Functions.cmake
-  depends/libhdfs3/CMake/Options.cmake
-  depends/libhdfs3/CMake/Platform.cmake
-is taken from CMake and is available under the following license:
-
-CMake - Cross Platform Makefile Generator
-Copyright 2000-2014 Kitware, Inc.
-Copyright 2000-2011 Insight Software Consortium
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-
-* Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-* Neither the names of Kitware, Inc., the Insight Software Consortium,
-nor the names of their contributors may be used to endorse or promote
-products derived from this software without specific prior written
-permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-***********************************************************************
-Source code under
-  src/bin/gpfdist/src/gpfdist/glob.c
-  src/bin/gpfdist/src/gpfdist/include/glob.h
-  src/include/port/win32_msvc/glob.h
-is taken from OpenBSD/NetBSD and is available under the following license:
-
- * Copyright (c) 1989, 1993
- *      The Regents of the University of California.  All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Guido van Rossum.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *      This product includes software developed by the University of
- *      California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
-
-***********************************************************************
-Source code under src/include/port/win32_msvc/bzlib.h is taken from bzip2
-and is available under the following license:
-
-This program, "bzip2", the associated library "libbzip2", and all
-documentation, are copyright (C) 1996-2010 Julian R Seward.  All
-rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-
-1. Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
-
-2. The origin of this software must not be misrepresented; you must
-   not claim that you wrote the original software.  If you use this
-   software in a product, an acknowledgment in the product
-   documentation would be appreciated but is not required.
-
-3. Altered source versions must be plainly marked as such, and must
-   not be misrepresented as being the original software.
-
-4. The name of the author may not be used to endorse or promote
-   products derived from this software without specific prior written
-   permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Julian Seward, jseward@bzip.org
-bzip2/libbzip2 version 1.0.6 of 6 September 2010
-
-***********************************************************************
-Source code under depends/thirdparty/googletest is taken from googletest
-and is available under the following license:
-
-Copyright 2008, Google Inc.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-    * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-    * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-***********************************************************************
-Source code under contrib/orafce is taken from Oraface Project
-and is available under the following license:
-
-Orafce, Oracle API support
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose, without fee, and without a written agreement
-is hereby granted, provided that the above copyright notice and this
-paragraph and the following two paragraphs appear in all copies.
-
-IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
-DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
-LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
-DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
-ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
-PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
-
-***********************************************************************
-Source code under tools/bin/lib/pexpect.py is taken from Pexpect Python module
-and is available under the following license:
-
-http://opensource.org/licenses/isc-license.txt
-
-Copyright (c) 2013-2014, Pexpect development team
-Copyright (c) 2012, Noah Spurrier <no...@noah.org>
-
-PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE FOR ANY
-PURPOSE WITH OR WITHOUT FEE IS HEREBY GRANTED, PROVIDED THAT THE ABOVE
-COPYRIGHT NOTICE AND THIS PERMISSION NOTICE APPEAR IN ALL COPIES.
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-***********************************************************************
-Source code under src/pl/pljava/ is taken from PL/Java
-and is available under the following license:
-
-PL/Java, a backend Java integration for PostgreSQL
-
-Java\ufffd is a registered trademark of Sun Microsystems, Inc. in the United
-States and other countries.
-
-PL/Java Copyright (c) 2003 - 2013 Tada AB - Taby Sweden
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-
-    * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in
-      the documentation and/or other materials provided with the
-      distribution.
-    * Neither the name Tada AB nor the names of its contributors may be
-      used to endorse or promote products derived from this software
-      without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-***********************************************************************
-The rest of the source code without explicit ASF license headers was
-taken from PostgreSQL and is available under the following license:
+Apache HAWQ (incubating) Subcomponents:
 
-PostgreSQL Database Management System
-(formerly known as Postgres, then as Postgres95)
+  The Apache HAWQ (incubating) project contains subcomponents with
+  separate copyright notices and license terms. Your use of the source
+  code for these subcomponents is subject to the terms and conditions
+  of the following licenses.
 
-Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
+=======================================================================
+Stream License
+======================================================================
+
+  The following files are used:
+  
+      tools/bin/src/stream
+  
+  This file is made available under the following Stream License:
+  
+      licenses/LICENSE-stream.txt
+
+======================================================================
+PyGreSQL 4.0 License
+======================================================================
+
+  The following files are used:
+  
+      tools/bin/pythonSrc/PyGreSQL-4.0
+  
+  This file is made available under the following PyGreSQL License:
+  
+      licenses/LICENSE-pygresql.txt
+
+======================================================================
+BSD-style licenses
+======================================================================
+
+  The following components are provided under a BSD-style license. See
+  project link for details.  The text of each license is also included
+  at licenses/LICENSE-[project].txt.
+
+     (BSD 3 Clause) CMake (https://cmake.org)
+       depends/libyarn/CMake
+       depends/libhdfs3/CMake
+
+     (BSD 4 Clause revised) dynloader
+       src/backend/port/dynloader/freebsd.c
+       src/backend/port/dynloader/netbsd.c
+       src/backend/port/dynloader/openbsd.c
+       src/backend/port/dynloader/ultrix4.h
+
+       Revised based on: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+       
+     (BSD 4 Clause revised) glob
+       src/bin/gpfdist/src/gpfdist/glob.c
+       src/bin/gpfdist/src/gpfdist/include/glob.h
+       src/include/port/win32_msvc/glob.h
+       src/port/glob.c
+
+       Revised based on: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+      
+     (BSD License) pg_controldata 
+       src/bin/pg_controldata/pg_controldata.c 
+     
+     (BSD License) unittest2 (v2-0.5.1 - https://pypi.python.org/pypi/unittest2)
+       tools/bin/pythonSrc/unittest2-0.5.1
+     
+     (BSD License) pychecker (v0.8.18 - http://pychecker.sourceforge.net/)
+       tools/bin/pythonSrc/pychecker-0.8.18 
+     
+     (BSD License) pg8000
+       tools/bin/ext/pg8000
+      
+     (BSD License) figleaf (http://darcs.idyll.org/~t/projects/figleaf/)
+       tools/bin/ext/figleaf
+    
+     (BSD License) port
+       src/port/inet_aton.c
+       src/port/snprintf.c
+       src/port/crypt.c
+       src/port/memcmp.c
+       src/port/strlcpy.c
+
+     (BSD License) wstrcmp
+       src/backend/utils/mb/wstrcmp.c
+
+     (BSD License) libpq-sha2
+       src/backend/libpq/sha2
+
+======================================================================
+MIT License
+======================================================================
+
+  The following components are provided under a MIT license. See
+  project link for details.  The text of each license is also included
+  at licenses/LICENSE-[project].txt.
+
+     lockfile (0.9.1)
+       tools/bin/pythonSrc/lockfile-0.9.1
+
+     PSI (0.3b2_gp)
+       tools/bin/pythonSrc/PSI-0.3b2_gp
+
+======================================================================
+Python Software Foundation (PSF) License
+======================================================================
+
+  The following components are provided under a PSF license. See
+  project link for details.  The text of each license is also included
+  at licenses/LICENSE-[project].txt.
+
+     pidlockfile
+       tools/bin/pythonSrc/lockfile-0.9.1/lockfile/pidlockfile.py
+
+======================================================================
+BZIP2 License
+======================================================================
+
+  The following files are used:
+  
+      src/include/port/win32_msvc/bzlib.h
+  
+  This file is made available under the following bzip2 and libbzip2
+  License v1.0.5 license:
+  
+      licenses/LICENSE-bzip2.txt
+
+======================================================================
+Google Test License
+======================================================================
+
+  The following files are used:
+  
+      depends/thirdparty/googletest
+  
+  This file is made available under the following Google test license:
+  
+      licenses/LICENSE-googletest.txt
+
+======================================================================
+Oraface License
+======================================================================
+
+  The following files are used:
+  
+      contrib/orafce
+  
+  This file is made available under the following Oraface license:
+  
+      licenses/LICENSE-oraface.txt
+
+======================================================================
+Pexpect License
+======================================================================
+
+  The following files are used:
+  
+      tools/bin/lib/pexpect.py
+  
+  This file is made available under the following Pexpect license:
+  
+      licenses/LICENSE-pexect.txt
+
+======================================================================
+PL/Java License
+======================================================================
+
+  The following files are used:
+  
+      src/pl/pljava
+  
+  This file is made available under the following PL/Java license:
+  
+      licenses/LICENSE-pljava.txt
+
+======================================================================
+Perl LICENSE
+======================================================================
+
+  The following components are provided under a Perl Artistic
+  license. See project link for details.  The text of each license is
+  also included at licenses/LICENSE-[project].txt.
+
+     JSON 
+       src/include/catalog/JSON
+  
+     plperl
+       src/pl/plperl
+      
+======================================================================
+test-ctype LICENSE
+======================================================================
+
+  The following files are used:
+  
+      src/test/locale/test-ctype.c
+  
+  This file is made available under the following test ctype license:
+  
+      licenses/LICENSE-test-ctype.txt
+ 
+======================================================================
+port-rand LICENSE
+======================================================================
+
+  The following files are used:
+  
+      src/port/rand.c 
+  
+  This file is made available under the following port-rand license:
+  
+      licenses/LICENSE-port-rand.txt
+
+======================================================================
+Internet Systems Consortium/Internet Software Consortium (ISC) LICENSE
+======================================================================
+
+  The following files are used:
+  
+      src/backend/utils/adt/inet_net_ntop.c
+      src/backend/utils/adt/inet_net_pton.c 
+  
+  This file is made available under the following ISC license:
+  
+      licenses/LICENSE-isc.txt
+
+======================================================================
+regex LICENSE
+======================================================================
+
+  The following files are used:
+  
+      src/backend/regex 
+  
+  This file is made available under the following regex license:
+  
+      licenses/LICENSE-regex.txt
+
+======================================================================
+port-gettimeofday LICENSE
+======================================================================
+
+  The following files are used:
+  
+      src/port/gettimeofday.c 
+  
+  This file is made available under the following port-gettimeofday license:
+  
+      licenses/LICENSE-port-gettimeofday.txt
+
+======================================================================
+PostgreSQL LICENSE
+======================================================================
 
-Portions Copyright (c) 1994, The Regents of the University of California
+The rest of the source code without explicit ASF license headers was
+derived from PostgreSQL and is available under the following license:
 
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose, without fee, and without a written agreement
-is hereby granted, provided that the above copyright notice and this
-paragraph and the following two paragraphs appear in all copies.
+      licenses/LICENSE-postgresql.txt
 
-IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
-DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
-LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
-DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
+  This includes the following explicitely listed source directories:
 
-THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
-ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
-PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+     src/backend/utils/mb/Unicode
+     src/interfaces/libpq/po
+     src/bin/pg_dump
+     src/backend/port/qnx4/shm.c
+     src/backend/port/beos/shm.c
+     
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index 253e559..6589c8f 100644
--- a/NOTICE
+++ b/NOTICE
@@ -4,34 +4,32 @@ Copyright 2016 The Apache Software Foundation.
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
 
-Portions Copyright (c) 2014-2015, Pivotal Inc.
-
-Portions Copyright (c) 2010-2013, EMC Inc.
-
-Portions Copyright (c) 2005-2010, Greenplum Inc.
-
-Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
-
-Portions Copyright (c) 1989, 1993, 1994, The Regents of the University of California
-
-Portions Copyright (c) 1991-2003, John D. McCalpin
-
-Portions Copyright (c) 1995, Pascal Andre
-
-Portions Copyright (c) 1997-2008, D\u2019Arcy J.M. Cain (darcy@PyGreSQL.org)
-
-Portions Copyright (c) 2009-2016, the PyGreSQL team.
-
-Portions Copyright (c) 2000-2014, Kitware, Inc.
-
-Portions Copyright (c) 2000-2011, Insight Software Consortium
-
-Portions Copyright (c) 1996-2010, Julian R Seward
-
-Portions Copyright (c) 2008, Google Inc.
-
-Portions Copyright (c) 2013-2014, Pexpect development team
-
-Portions Copyright (c) 2012, Noah Spurrier <no...@noah.org>
-
-Portions Copyright (c) 2003 - 2013 Tada AB - Taby Sweden
+This project includes software copyrighted by PostgreSQL Global
+Development Group (PostgreSQL 8.2.15) with the following copyright
+notice.  The contents were originally available in the COPYRIGHT file.
+This file has been removed and included here to conform to recommended
+Apache source packaging contents.
+
+  PostgreSQL Database Management System
+  (formerly known as Postgres, then as Postgres95)
+  
+  Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
+  
+  Portions Copyright (c) 1994, The Regents of the University of California
+  
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose, without fee, and without a written agreement
+  is hereby granted, provided that the above copyright notice and this
+  paragraph and the following two paragraphs appear in all copies.
+  
+  IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
+  DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
+  LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
+  DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
+  POSSIBILITY OF SUCH DAMAGE.
+  
+  THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+  AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
+  ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
+  PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp b/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
index 72e3bbd..66918ca 100644
--- a/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
+++ b/depends/libhdfs3/CMake/CMakeTestCompileNestedException.cpp
@@ -1,23 +1,3 @@
-/*
- * 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/0fe6d82d/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp b/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
index 91c1172..afcbe1b 100644
--- a/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
+++ b/depends/libhdfs3/CMake/CMakeTestCompileSteadyClock.cpp
@@ -1,22 +1,3 @@
-/*
- * 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/0fe6d82d/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp b/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
index 57c67d5..0ef4eda 100644
--- a/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
+++ b/depends/libhdfs3/CMake/CMakeTestCompileStrerror.cpp
@@ -1,22 +1,3 @@
-/*
- * 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/0fe6d82d/depends/libhdfs3/CMake/FindGoogleTest.cmake
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/CMake/FindGoogleTest.cmake b/depends/libhdfs3/CMake/FindGoogleTest.cmake
index 03209cd..fd57c1e 100644
--- a/depends/libhdfs3/CMake/FindGoogleTest.cmake
+++ b/depends/libhdfs3/CMake/FindGoogleTest.cmake
@@ -1,20 +1,3 @@
-# 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/0fe6d82d/depends/libyarn/CMake/CodeCoverage.cmake
----------------------------------------------------------------------
diff --git a/depends/libyarn/CMake/CodeCoverage.cmake b/depends/libyarn/CMake/CodeCoverage.cmake
index 226ae83..ecf2d28 100644
--- a/depends/libyarn/CMake/CodeCoverage.cmake
+++ b/depends/libyarn/CMake/CodeCoverage.cmake
@@ -1,21 +1,3 @@
-# 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.
-#
-
 # Check prereqs
 FIND_PROGRAM(GCOV_PATH gcov)
 FIND_PROGRAM(LCOV_PATH lcov)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/depends/libyarn/CMake/FindGoogleTest.cmake
----------------------------------------------------------------------
diff --git a/depends/libyarn/CMake/FindGoogleTest.cmake b/depends/libyarn/CMake/FindGoogleTest.cmake
index 03209cd..fd57c1e 100644
--- a/depends/libyarn/CMake/FindGoogleTest.cmake
+++ b/depends/libyarn/CMake/FindGoogleTest.cmake
@@ -1,20 +1,3 @@
-# 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/0fe6d82d/depends/libyarn/CMake/Functions.cmake
----------------------------------------------------------------------
diff --git a/depends/libyarn/CMake/Functions.cmake b/depends/libyarn/CMake/Functions.cmake
index 652c96a..a771b60 100644
--- a/depends/libyarn/CMake/Functions.cmake
+++ b/depends/libyarn/CMake/Functions.cmake
@@ -1,21 +1,3 @@
-# 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.
-#
-
 FUNCTION(AUTO_SOURCES RETURN_VALUE PATTERN SOURCE_SUBDIRS)
 
 	IF ("${SOURCE_SUBDIRS}" STREQUAL "RECURSE")

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/depends/libyarn/CMake/Options.cmake
----------------------------------------------------------------------
diff --git a/depends/libyarn/CMake/Options.cmake b/depends/libyarn/CMake/Options.cmake
index bcd3d94..6fe1ca8 100644
--- a/depends/libyarn/CMake/Options.cmake
+++ b/depends/libyarn/CMake/Options.cmake
@@ -1,21 +1,3 @@
-# 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.
-#
-
 OPTION(ENABLE_COVERAGE "enable code coverage" OFF)
 OPTION(ENABLE_DEBUG "enable debug build" OFF)
 OPTION(ENABLE_SSE "enable SSE4.2 buildin function" ON)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/depends/libyarn/CMake/Platform.cmake
----------------------------------------------------------------------
diff --git a/depends/libyarn/CMake/Platform.cmake b/depends/libyarn/CMake/Platform.cmake
index 2655948..d18733d 100644
--- a/depends/libyarn/CMake/Platform.cmake
+++ b/depends/libyarn/CMake/Platform.cmake
@@ -1,21 +1,3 @@
-# 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.
-#
-
 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
     SET(OS_LINUX true CACHE INTERNAL "Linux operating system")
 ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-PSI.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-PSI.txt b/licenses/LICENSE-PSI.txt
new file mode 100644
index 0000000..6ffa900
--- /dev/null
+++ b/licenses/LICENSE-PSI.txt
@@ -0,0 +1,26 @@
+The MIT License
+
+Copyright (C) 2007 Chris Miles
+
+Copyright (C) 2008-2009 Floris Bruynooghe
+
+Copyright (C) 2008-2009 Abilisoft Ltd.
+
+
+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-hawq/blob/0fe6d82d/licenses/LICENSE-bzip2.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-bzip2.txt b/licenses/LICENSE-bzip2.txt
new file mode 100644
index 0000000..70ee59b
--- /dev/null
+++ b/licenses/LICENSE-bzip2.txt
@@ -0,0 +1,41 @@
+Version 1.0.5 of 10 December 2007
+Copyright � 1996-2007 Julian Seward
+
+This program, bzip2, the associated library libbzip2, and all
+documentation, are copyright � 1996-2007 Julian Seward. All rights
+reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+\u2022 Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+
+\u2022 The origin of this software must not be misrepresented; you must not
+  claim that you wrote the original software. If you use this software
+  in a product, an acknowledgment in the product documentation would
+  be appreciated but is not required.
+
+\u2022 Altered source versions must be plainly marked as such, and must not
+  be misrepresented as being the original software.
+
+\u2022 The name of the author may not be used to endorse or promote
+  products derived from this software without specific prior written
+  permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.  PATENTS: To the best of my knowledge,
+bzip2 and libbzip2 do not use any patented algorithms. However, I do
+not have the resources to carry out a patent search. Therefore I
+cannot give any guarantee of the above statement.
+

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-cmake.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-cmake.txt b/licenses/LICENSE-cmake.txt
new file mode 100644
index 0000000..c942bde
--- /dev/null
+++ b/licenses/LICENSE-cmake.txt
@@ -0,0 +1,32 @@
+CMake - Cross Platform Makefile Generator
+Copyright 2000-2014 Kitware, Inc.
+Copyright 2000-2011 Insight Software Consortium
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+* Neither the names of Kitware, Inc., the Insight Software Consortium,
+nor the names of their contributors may be used to endorse or promote
+products derived from this software without specific prior written
+permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-dynloader.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-dynloader.txt b/licenses/LICENSE-dynloader.txt
new file mode 100644
index 0000000..6503643
--- /dev/null
+++ b/licenses/LICENSE-dynloader.txt
@@ -0,0 +1,25 @@
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *	  notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *	  notice, this list of conditions and the following disclaimer in the
+ *	  documentation and/or other materials provided with the distribution.
+ * 3. BSD Advertising Clause omitted per the July 22, 1999 licensing change
+ *    ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+ * 4. Neither the name of the University nor the names of its contributors
+ *	  may be used to endorse or promote products derived from this software
+ *	  without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.	IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-figleaf.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-figleaf.txt b/licenses/LICENSE-figleaf.txt
new file mode 100644
index 0000000..2e5b0f3
--- /dev/null
+++ b/licenses/LICENSE-figleaf.txt
@@ -0,0 +1,24 @@
+Copyright (c) 2006, C. Titus Brown, titus@idyll.org 
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-glob.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-glob.txt b/licenses/LICENSE-glob.txt
new file mode 100644
index 0000000..f0fa561
--- /dev/null
+++ b/licenses/LICENSE-glob.txt
@@ -0,0 +1,31 @@
+ * Copyright (c) 1989, 1993
+ *	The Regents of the University of California.  All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Guido van Rossum.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. BSD Advertising Clause omitted per the July 22, 1999 licensing change
+ *    ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-googletest.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-googletest.txt b/licenses/LICENSE-googletest.txt
new file mode 100644
index 0000000..1941a11
--- /dev/null
+++ b/licenses/LICENSE-googletest.txt
@@ -0,0 +1,28 @@
+Copyright 2008, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+    * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-isc.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-isc.txt b/licenses/LICENSE-isc.txt
new file mode 100644
index 0000000..6a9665a
--- /dev/null
+++ b/licenses/LICENSE-isc.txt
@@ -0,0 +1,14 @@
+ Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
+ Copyright (c) 1996,1999 by Internet Software Consortium.
+ 
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ 
+ THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-json.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-json.txt b/licenses/LICENSE-json.txt
new file mode 100644
index 0000000..71dd596
--- /dev/null
+++ b/licenses/LICENSE-json.txt
@@ -0,0 +1,131 @@
+Copyright 2007-2010 by Makamaka Hannyaharamitu
+
+The "Artistic License"
+
+Preamble
+
+The intent of this document is to state the conditions under which a
+Package may be copied, such that the Copyright Holder maintains some
+semblance of artistic control over the development of the package,
+while giving the users of the package the right to use and distribute
+the Package in a more-or-less customary fashion, plus the right to make
+reasonable modifications.
+
+Definitions:
+
+"Package" refers to the collection of files distributed by the
+Copyright Holder, and derivatives of that collection of files
+created through textual modification.
+
+"Standard Version" refers to such a Package if it has not been
+modified, or has been modified in accordance with the wishes
+of the Copyright Holder as specified below.
+
+"Copyright Holder" is whoever is named in the copyright or
+copyrights for the package.
+
+"You" is you, if you're thinking about copying or distributing
+this Package.
+
+"Reasonable copying fee" is whatever you can justify on the
+basis of media cost, duplication charges, time of people involved,
+and so on.  (You will not be required to justify it to the
+                 Copyright Holder, but only to the computing community at large
+                 as a market that must bear the fee.)
+
+"Freely Available" means that no fee is charged for the item
+itself, though there may be fees involved in handling the item.
+It also means that recipients of the item may redistribute it
+under the same conditions they received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications
+derived from the Public Domain or from the Copyright Holder.  A Package
+modified in such a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided
+that you insert a prominent notice in each changed file stating how and
+when you changed that file, and provided that you do at least ONE of the
+following:
+
+a) place your modifications in the Public Domain or otherwise make them
+Freely Available, such as by posting said modifications to Usenet or
+an equivalent medium, or placing the modifications on a major archive
+site such as uunet.uu.net, or by allowing the Copyright Holder to include
+your modifications in the Standard Version of the Package.
+
+b) use the modified Package only within your corporation or organization.
+
+c) rename any non-standard executables so the names do not conflict
+with standard executables, which must also be provided, and provide
+a separate manual page for each non-standard executable that clearly
+documents how it differs from the Standard Version.
+
+d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or
+executable form, provided that you do at least ONE of the following:
+
+a) distribute a Standard Version of the executables and library files,
+together with instructions (in the manual page or equivalent) on where
+to get the Standard Version.
+
+b) accompany the distribution with the machine-readable source of
+the Package with your modifications.
+
+c) give non-standard executables non-standard names, and clearly
+document the differences in manual pages (or equivalent), together
+with instructions on where to get the Standard Version.
+
+d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package.  You may charge any fee you choose for support of this
+Package.  You may not charge a fee for this Package itself.  However,
+you may distribute this Package in aggregate with other (possibly
+commercial) programs as part of a larger (possibly commercial) software
+distribution provided that you do not advertise this Package as a
+product of your own.  You may embed this Package's interpreter within
+an executable of yours (by linking); this shall be construed as a mere
+form of aggregation, provided that the complete Standard Version of the
+interpreter is so embedded.
+
+6. The scripts and library files supplied as input to or produced as
+output from the programs of this Package do not automatically fall
+under the copyright of this Package, but belong to whoever generated
+them, and may be sold commercially, and may be aggregated with this
+Package.  If such scripts or library files are aggregated with this
+Package via the so-called "undump" or "unexec" methods of producing a
+binary executable image, then distribution of such an image shall
+neither be construed as a distribution of this Package nor shall it
+fall under the restrictions of Paragraphs 3 and 4, provided that you do
+not represent such an executable image as a Standard Version of this
+Package.
+
+7. C subroutines (or comparably compiled subroutines in other
+languages) supplied by you and linked into this Package in order to
+emulate subroutines and variables of the language defined by this
+Package shall not be considered part of this Package, but are the
+equivalent of input as in Paragraph 6, provided these subroutines do
+not change the language in any way that would cause it to fail the
+regression tests for the language.
+
+8. Aggregation of this Package with a commercial distribution is always
+permitted provided that the use of this Package is embedded; that is,
+when no overt attempt is made to make this Package's interfaces visible
+to the end user of the commercial distribution.  Such use shall not be
+construed as a distribution of this Package.
+
+9. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+Contact GitHub API Training Shop Blog About
+� 2016 GitHub, Inc. Terms Privacy Security Status Help

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-libpq-sha2.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-libpq-sha2.txt b/licenses/LICENSE-libpq-sha2.txt
new file mode 100644
index 0000000..66b9ad2
--- /dev/null
+++ b/licenses/LICENSE-libpq-sha2.txt
@@ -0,0 +1,26 @@
+ Copyright (c) 2000-2001, Aaron D. Gifford
+ All rights reserved.
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the copyright holder nor the names of contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-lockfile.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-lockfile.txt b/licenses/LICENSE-lockfile.txt
new file mode 100644
index 0000000..610c079
--- /dev/null
+++ b/licenses/LICENSE-lockfile.txt
@@ -0,0 +1,21 @@
+This is the MIT license: http://www.opensource.org/licenses/mit-license.php
+
+Copyright (c) 2007 Skip Montanaro.
+
+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-hawq/blob/0fe6d82d/licenses/LICENSE-oraface.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-oraface.txt b/licenses/LICENSE-oraface.txt
new file mode 100644
index 0000000..460649d
--- /dev/null
+++ b/licenses/LICENSE-oraface.txt
@@ -0,0 +1,18 @@
+Orafce, Oracle API support
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose, without fee, and without a written agreement
+is hereby granted, provided that the above copyright notice and this
+paragraph and the following two paragraphs appear in all copies.
+
+IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
+DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
+LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
+DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
+ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
+PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-pexpect.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-pexpect.txt b/licenses/LICENSE-pexpect.txt
new file mode 100644
index 0000000..b810638
--- /dev/null
+++ b/licenses/LICENSE-pexpect.txt
@@ -0,0 +1,20 @@
+Free, open source, and all that good stuff.
+Pexpect Copyright (c) 2006 Noah Spurrier
+
+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-hawq/blob/0fe6d82d/licenses/LICENSE-pg8000.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-pg8000.txt b/licenses/LICENSE-pg8000.txt
new file mode 100644
index 0000000..6968101
--- /dev/null
+++ b/licenses/LICENSE-pg8000.txt
@@ -0,0 +1,26 @@
+Copyright (c) 2007-2009, Mathieu Fenniak
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+* The name of the author may not be used to endorse or promote products
+derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0fe6d82d/licenses/LICENSE-pg_controldata.txt
----------------------------------------------------------------------
diff --git a/licenses/LICENSE-pg_controldata.txt b/licenses/LICENSE-pg_controldata.txt
new file mode 100644
index 0000000..8f6f68f
--- /dev/null
+++ b/licenses/LICENSE-pg_controldata.txt
@@ -0,0 +1,24 @@
+Copyright (c) 2001, Oliver Elphick <ol...@lfix.co.uk> 
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.