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/09/06 05:18:03 UTC

[16/51] [partial] incubator-hawq git commit: HAWQ-959. revert thrift build commands.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/zeromq/test-server.cpp
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/contrib/zeromq/test-server.cpp b/depends/thirdparty/thrift/contrib/zeromq/test-server.cpp
deleted file mode 100644
index c624b0d..0000000
--- a/depends/thirdparty/thrift/contrib/zeromq/test-server.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#include "zmq.hpp"
-#include "TZmqServer.h"
-#include "Storage.h"
-
-using boost::shared_ptr;
-using apache::thrift::TProcessor;
-using apache::thrift::server::TZmqServer;
-using apache::thrift::server::TZmqMultiServer;
-
-class StorageHandler : virtual public StorageIf {
- public:
-  StorageHandler()
-    : value_(0)
-  {}
-
-  void incr(const int32_t amount) {
-    value_ += amount;
-  }
-
-  int32_t get() {
-    return value_;
-  }
-
- private:
-  int32_t value_;
-
-};
-
-
-int main(int argc, char *argv[]) {
-  shared_ptr<StorageHandler> handler(new StorageHandler());
-  shared_ptr<TProcessor> processor(new StorageProcessor(handler));
-
-  zmq::context_t ctx(1);
-  TZmqServer reqrep_server(processor, ctx, "tcp://0.0.0.0:9090", ZMQ_REP);
-  TZmqServer oneway_server(processor, ctx, "tcp://0.0.0.0:9091", ZMQ_UPSTREAM);
-  TZmqMultiServer multiserver;
-  multiserver.servers().push_back(&reqrep_server);
-  multiserver.servers().push_back(&oneway_server);
-  multiserver.serveForever();
-
-  return 0;
-}

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/zeromq/test-server.py
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/contrib/zeromq/test-server.py b/depends/thirdparty/thrift/contrib/zeromq/test-server.py
deleted file mode 100755
index 5767b71..0000000
--- a/depends/thirdparty/thrift/contrib/zeromq/test-server.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-import zmq
-import TZmqServer
-import storage.ttypes
-import storage.Storage
-
-
-class StorageHandler(storage.Storage.Iface):
-  def __init__(self):
-    self.value = 0
-
-  def incr(self, amount):
-    self.value += amount
-
-  def get(self):
-    return self.value
-
-
-def main():
-  handler = StorageHandler()
-  processor = storage.Storage.Processor(handler)
-
-  ctx = zmq.Context()
-  reqrep_server = TZmqServer.TZmqServer(processor, ctx, "tcp://0.0.0.0:9090", zmq.REP)
-  oneway_server = TZmqServer.TZmqServer(processor, ctx, "tcp://0.0.0.0:9091", zmq.UPSTREAM)
-  multiserver = TZmqServer.TZmqMultiServer()
-  multiserver.servers.append(reqrep_server)
-  multiserver.servers.append(oneway_server)
-  multiserver.serveForever()
-
-
-if __name__ == "__main__":
-  main()

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/README.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/README.md b/depends/thirdparty/thrift/debian/README.md
deleted file mode 100755
index 98d4da0..0000000
--- a/depends/thirdparty/thrift/debian/README.md
+++ /dev/null
@@ -1,19 +0,0 @@
-some tips on Debian Packaging
-- Debian New Maintainers' Guide [http://www.debian.org/doc/debian-policy/]
-- Debian Policy Manual [http://www.debian.org/doc/manuals/maint-guide/]
-- Machine-readable debian/copyright file [http://dep.debian.net/deps/dep5/]
-
-build
-$ dpkg-buildpackage -d -tc
-  -d             do not check build dependencies and conflicts.
-  -tc            clean source tree when finished.
-
-update changelog
-$ date -R
-
-check packages
-$ dpkg -c *.deb
-$ lintian *.deb
-
-todo
-make it perfect!

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/changelog
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/changelog b/depends/thirdparty/thrift/debian/changelog
deleted file mode 100755
index 4638a1f..0000000
--- a/depends/thirdparty/thrift/debian/changelog
+++ /dev/null
@@ -1,73 +0,0 @@
-thrift (0.9.3) stable; urgency=low
-  * update to 0.9.3
-
- -- Jake Farrell <jf...@apache.org>  Fri, 25 Sep 2015 12:00:00 -0500
-
-thrift (0.9.2) stable; urgency=low
-
-  * update to 0.9.2
-
- -- Jake Farrell <jf...@apache.org>  Thu, 30 Oct 2014 12:00:00 -0500
-
-thrift (0.9.1) stable; urgency=low
-  * update to 0.9.1
-
-thrift (0.9.0) stable; urgency=low
-
-  * update to 0.9.0
-
- -- Jake Farrell <jf...@apache.org>  Wed, 10 Oct 2012 12:00:00 -0500
-
-thrift (0.7.0) stable; urgency=low
-
-  * update to 0.7.0
-
- -- Jake Farrell <jf...@apache.org>  Tue, 10 Aug 2011 17:01:53 -0500
-
-thrift (0.7.0-dev1) stable; urgency=low
-  * added glib
-  * fix location of libthrift.jar
-
- -- Roger Meier <ro...@apache.org>  Tue, 12 Apr 2011 21:41:18 +0200
-
-thrift (0.6.0-dev1) stable; urgency=low
-
-  * update version field
-  * added debian folder to thrift/contrib
-  * changed a few details in control file
-  * update copyright file
-
- -- Roger Meier <ro...@apache.org>  Tue, 14 Dec 2010 12:12:33 -0800
-
-thrift (0.5.0+nmu2) stable; urgency=low
-
-  * Non-maintainer upload.
-  * Merged THRIFT-71_v9.patch to skip ./bootstrap.sh if not exists.
-    https://issues.apache.org/jira/secure/attachment/12465360/THRIFT-71_v9.patch
-
- -- Yamashita Yuu <ya...@geishatokyo.com>  Tue, 07 Dec 2010 15:00:55 +0900
-
-thrift (0.5.0+nmu1) stable; urgency=low
-
-  * Non-maintainer upload.
-  * Imported package information for php5-thrift from https://github.com/simplegeo/thrift.
-
- -- Yamashita Yuu <ya...@geishatokyo.com>  Tue, 07 Dec 2010 01:00:17 +0900
-
-thrift (0.5.0) stable; urgency=low
-
-  * update to 0.5.0
-
- -- Roger Meier <ro...@apache.org>  Fri, 08 Oct 2010 11:23:53 +0200
-
-thrift (0.4.0) stable; urgency=low
-
-  * update to 0.4.0
-
- -- Roger Meier <ro...@bufferoverflow.ch>  Sun, 22 Aug 2010 21:26:00 +0100
-
-thrift (0.2008.12.30~8.04) hardy; urgency=low
-
-  * Initial release.
-
- -- Esteve Fernandez <es...@fluidinfo.com>  Thu, 15 Jan 2009 11:34:24 +0100

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/compat
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/compat b/depends/thirdparty/thrift/debian/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/depends/thirdparty/thrift/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-5

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/control
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/control b/depends/thirdparty/thrift/debian/control
deleted file mode 100644
index 39d57f9..0000000
--- a/depends/thirdparty/thrift/debian/control
+++ /dev/null
@@ -1,153 +0,0 @@
-Source: thrift
-Section: devel
-Priority: extra
-Build-Depends: debhelper (>= 5), build-essential, mono-gmcs, python-dev, ant,
-    mono-devel,  libmono-system-web2.0-cil, erlang-base, ruby1.8-dev, autoconf, automake,
-    pkg-config, libtool, bison, flex, libboost-dev | libboost1.40-dev, python-all,
-    python-all-dev, python-all-dbg, openjdk-6-jdk | java-sdk,
-    libboost-test-dev | libboost-test1.40-dev, libevent-dev, perl (>= 5.8.0-7),
-    php5, php5-dev, libglib2.0-dev, libqt4-dev
-Maintainer: Thrift Developer's <de...@thrift.apache.org>
-Homepage: http://thrift.apache.org/
-Vcs-Git: https://git-wip-us.apache.org/repos/asf/thrift.git
-Vcs-Browser: https://git-wip-us.apache.org/repos/asf?p=thrift.git
-Standards-Version: 3.7.2
-X-Python-Version: >= 2.6
-
-Package: thrift-compiler
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Compiler for Thrift definition files
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the Thrift compiler that is used for translating
- from .thrift files (containing the definitions) to the language binding
- for the supported languages.
-
-Package: python-thrift
-Architecture: any
-Section: python
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Recommends: python-twisted-core
-Provides: ${python:Provides}
-Description: Python bindings for Thrift
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the Python bindings for Thrift. You will need the thrift
- tool (in the thrift-compiler package) to compile your definition to Python
- classes, and then the modules in this package will allow you to use those
- classes in your programs.
-
-Package: python-thrift-dbg
-Architecture: any
-Section: python
-Depends: ${shlibs:Depends}, ${misc:Depends}, python-thrift (= ${binary:Version}), python-all-dbg
-Provides: ${python:Provides}
-Description: Python bindings for Thrift (debug version)
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the Python bindings for Thrift with debugging symbols.
- You will need the thrift tool (in the thrift-compiler package) to compile your
- definition to Python classes, and then the modules in this package will allow
- you to use those classes in your programs.
-
-Package: ruby-thrift
-Architecture: all
-Section: libs
-Depends: ruby | ruby-interpreter, ${shlibs:Depends}, ${misc:Depends}
-Provides: libthrift-ruby
-Replaces: libthrift-ruby
-Breaks: libthrift-ruby
-Description: Ruby bindings for Thrift
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the Ruby bindings for Thrift. You will need the thrift
- tool (in the thrift-compiler package) to compile your definition to Ruby
- classes, and then the modules in this package will allow you to use those
- classes in your programs.
-
-Package: libthrift-java
-Architecture: all
-Section: libs
-Depends: java-gcj-compat | java1-runtime | java2-runtime, ${misc:Depends}
-Description: Java bindings for Thrift
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the Java bindings for Thrift. You will need the thrift
- tool (in the thrift-compiler package) to compile your definition to Java
- classes, and then the modules in this package will allow you to use those
- classes in your programs.
-
-Package: libthrift-cil
-Architecture: all
-Section: libs
-Depends: cli-common, libmono-corlib1.0-cil (>= 1.0), libmono-system1.0-cil (>= 1.0), 
-    libmono-system-web2.0-cil, ${misc:Depends}
-Description: CLI bindings for Thrift
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the CLI bindings for Thrift. You will need the thrift
- tool (in the thrift-compiler package) to compile your definition to C#
- classes, and then the modules in this package will allow you to use those
- classes in your programs.
-
-Package: libthrift-perl
-Architecture: all
-Section: perl
-Depends: perl (>= 5.8.0-7), ${misc:Depends}
-Description: Perl bindings for Thrift
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the Perl bindings for Thrift. You will need the thrift
- tool (in the thrift-compiler package) to compile your definition to Perl
- classes, and then the modules in this package will allow you to use those
- classes in your programs.
-
-Package: libthrift0
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Thrift C++ library
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the runtime libraries needed for C++ applications
- using Thrift.
-
-Package: libthrift-dev
-Architecture: any
-Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libthrift0, libglib2.0-dev
-Description: Thrift C++ library (development headers)
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the development libraries required for writing C++
- applications using Thrift.
-
-Package: php5-thrift
-Architecture: any
-Section: php
-Depends: ${php:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Provides: ${php:Provides}
-Description: PHP bindings for Thrift
- Thrift is a software framework for scalable cross-language services
- development. It combines a software stack with a code generation engine to
- build services that work efficiently and seamlessly.
- .
- This package contains the PHP bindings for Thrift.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/copyright
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/copyright b/depends/thirdparty/thrift/debian/copyright
deleted file mode 100644
index 25546b4..0000000
--- a/depends/thirdparty/thrift/debian/copyright
+++ /dev/null
@@ -1,129 +0,0 @@
-This package was debianized by Thrift Developer's <de...@thrift.apache.org>.
-
-
-This package and the Debian packaging is licensed under the Apache License,
-see `/usr/share/common-licenses/Apache-2.0'.
-
-The following informations was copied from Apache Thrift LICENSE file.
-
---------------------------------------------------
-SOFTWARE DISTRIBUTED WITH THRIFT:
-
-The Apache Thrift software includes a number of subcomponents with
-separate copyright notices and license terms. Your use of the source
-code for the these subcomponents is subject to the terms and
-conditions of the following licenses.
-
---------------------------------------------------
-Portions of the following files are licensed under the MIT License:
-
-  lib/erl/src/Makefile.am
-
-Please see doc/otp-base-license.txt for the full terms of this license.
-
-
---------------------------------------------------
-The following files contain some portions of code contributed under
-the Thrift Software License (see doc/old-thrift-license.txt), and relicensed
-under the Apache 2.0 License:
-
-  compiler/cpp/Makefile.am
-  compiler/cpp/src/generate/t_cocoa_generator.cc
-  compiler/cpp/src/generate/t_cpp_generator.cc
-  compiler/cpp/src/generate/t_csharp_generator.cc
-  compiler/cpp/src/generate/t_erl_generator.cc
-  compiler/cpp/src/generate/t_hs_generator.cc
-  compiler/cpp/src/generate/t_java_generator.cc
-  compiler/cpp/src/generate/t_ocaml_generator.cc
-  compiler/cpp/src/generate/t_perl_generator.cc
-  compiler/cpp/src/generate/t_php_generator.cc
-  compiler/cpp/src/generate/t_py_generator.cc
-  compiler/cpp/src/generate/t_rb_generator.cc
-  compiler/cpp/src/generate/t_st_generator.cc
-  compiler/cpp/src/generate/t_xsd_generator.cc
-  compiler/cpp/src/main.cc
-  compiler/cpp/src/parse/t_field.h
-  compiler/cpp/src/parse/t_program.h
-  compiler/cpp/src/platform.h
-  compiler/cpp/src/thriftl.ll
-  compiler/cpp/src/thrifty.yy
-  lib/csharp/src/Protocol/TBinaryProtocol.cs
-  lib/csharp/src/Protocol/TField.cs
-  lib/csharp/src/Protocol/TList.cs
-  lib/csharp/src/Protocol/TMap.cs
-  lib/csharp/src/Protocol/TMessage.cs
-  lib/csharp/src/Protocol/TMessageType.cs
-  lib/csharp/src/Protocol/TProtocol.cs
-  lib/csharp/src/Protocol/TProtocolException.cs
-  lib/csharp/src/Protocol/TProtocolFactory.cs
-  lib/csharp/src/Protocol/TProtocolUtil.cs
-  lib/csharp/src/Protocol/TSet.cs
-  lib/csharp/src/Protocol/TStruct.cs
-  lib/csharp/src/Protocol/TType.cs
-  lib/csharp/src/Server/TServer.cs
-  lib/csharp/src/Server/TSimpleServer.cs
-  lib/csharp/src/Server/TThreadPoolServer.cs
-  lib/csharp/src/TApplicationException.cs
-  lib/csharp/src/Thrift.csproj
-  lib/csharp/src/Thrift.sln
-  lib/csharp/src/TProcessor.cs
-  lib/csharp/src/Transport/TServerSocket.cs
-  lib/csharp/src/Transport/TServerTransport.cs
-  lib/csharp/src/Transport/TSocket.cs
-  lib/csharp/src/Transport/TStreamTransport.cs
-  lib/csharp/src/Transport/TTransport.cs
-  lib/csharp/src/Transport/TTransportException.cs
-  lib/csharp/src/Transport/TTransportFactory.cs
-  lib/csharp/ThriftMSBuildTask/Properties/AssemblyInfo.cs
-  lib/csharp/ThriftMSBuildTask/ThriftBuild.cs
-  lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj
-  lib/rb/lib/thrift.rb
-  lib/st/README
-  lib/st/thrift.st
-  test/OptionalRequiredTest.cpp
-  test/OptionalRequiredTest.thrift
-  test/ThriftTest.thrift
-
---------------------------------------------------
-For the aclocal/ax_boost_base.m4 and contrib/fb303/aclocal/ax_boost_base.m4 components:
-
-#   Copyright (c) 2007 Thomas Porschberg <th...@randspringer.de>
-#
-#   Copying and distribution of this file, with or without
-#   modification, are permitted in any medium without royalty provided
-#   the copyright notice and this notice are preserved.
-
---------------------------------------------------
-For the compiler/cpp/src/md5.[ch] components:
-
-/*
-  Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved.
-
-  This software is provided 'as-is', without any express or implied
-  warranty.  In no event will the authors be held liable for any damages
-  arising from the use of this software.
-
-  Permission is granted to anyone to use this software for any purpose,
-  including commercial applications, and to alter it and redistribute it
-  freely, subject to the following restrictions:
-
-  1. 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.
-  2. Altered source versions must be plainly marked as such, and must not be
-     misrepresented as being the original software.
-  3. This notice may not be removed or altered from any source distribution.
-
-  L. Peter Deutsch
-  ghost@aladdin.com
-
- */
-
----------------------------------------------------
-For the lib/rb/setup.rb: Copyright (c) 2000-2005 Minero Aoki,
-lib/ocaml/OCamlMakefile and lib/ocaml/README-OCamlMakefile components:
-     Copyright (C) 1999 - 2007  Markus Mottl
-
-Licensed under the terms of the GNU Lesser General Public License 2.1
-(see doc/lgpl-2.1.txt for the full terms of this license)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/dirs
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/dirs b/depends/thirdparty/thrift/debian/dirs
deleted file mode 100644
index ca882bb..0000000
--- a/depends/thirdparty/thrift/debian/dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/docs
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/docs b/depends/thirdparty/thrift/debian/docs
deleted file mode 100644
index b43bf86..0000000
--- a/depends/thirdparty/thrift/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-README.md

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/libthrift-dev.install
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/libthrift-dev.install b/depends/thirdparty/thrift/debian/libthrift-dev.install
deleted file mode 100644
index 58b5223..0000000
--- a/depends/thirdparty/thrift/debian/libthrift-dev.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/lib/*.a
-usr/lib/*.la
-usr/lib/pkgconfig
-usr/include

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/libthrift0.install
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/libthrift0.install b/depends/thirdparty/thrift/debian/libthrift0.install
deleted file mode 100755
index ec74efc..0000000
--- a/depends/thirdparty/thrift/debian/libthrift0.install
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/lib/libthrift.so*
-usr/lib/libthrift-*.so*
-usr/lib/libthriftnb*.so*
-usr/lib/libthriftqt*.so*
-usr/lib/libthriftz*.so*

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/php5-thrift.dirs
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/php5-thrift.dirs b/depends/thirdparty/thrift/debian/php5-thrift.dirs
deleted file mode 100644
index 8ca3a0f..0000000
--- a/depends/thirdparty/thrift/debian/php5-thrift.dirs
+++ /dev/null
@@ -1 +0,0 @@
-etc/php5/conf.d

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/rules
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/rules b/depends/thirdparty/thrift/debian/rules
deleted file mode 100755
index d8462d1..0000000
--- a/depends/thirdparty/thrift/debian/rules
+++ /dev/null
@@ -1,206 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-PYVERS := $(shell pyversions -r)
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	if [ -f bootstrap.sh ]; then $(CURDIR)/bootstrap.sh; fi
-	$(CURDIR)/configure --prefix=/usr --with-c_glib --without-erlang
-
-	touch configure-stamp
-
-
-#Architecture
-build: build-arch build-indep
-	# Tests disabled
-	# $(MAKE) -C test check
-
-build-arch: build-arch-stamp
-build-arch-stamp: configure-stamp
-
-	# Compile compiler
-	$(MAKE) -C $(CURDIR)/compiler/cpp
-
-	# Compile C++ library
-	$(MAKE) -C $(CURDIR)/lib/cpp
-
-	# Compile C (glib) library
-	$(MAKE) -C $(CURDIR)/lib/c_glib
-
-	# Python library
-	cd $(CURDIR)/lib/py && \
-    for py in $(PYVERS); do  \
-        $$py setup.py build; \
-        $$py-dbg setup.py build; \
-    done
-
-	# PHP
-	cd $(CURDIR)/lib/php/src/ext/thrift_protocol && \
-		phpize && \
-		./configure && make
-
-	touch $@
-
-build-indep: build-indep-stamp
-build-indep-stamp: configure-stamp
-
-	# Add here commands to compile the indep part of the package.
-	#$(MAKE) doc
-
-	# Java
-	cd $(CURDIR)/lib/java && \
-		ant
-
-	# C#
-	$(MAKE) -C $(CURDIR)/lib/csharp
-
-	# Ruby
-	$(MAKE) -C $(CURDIR)/lib/rb
-
-	# Perl
-	$(MAKE) -C $(CURDIR)/lib/perl INSTALLDIRS=vendor
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-arch-stamp build-indep-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-
-	dh_clean
-
-install: install-indep install-arch
-install-indep:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -i
-	dh_installdirs -i
-
-	# Add here commands to install the indep part of the package into
-	# debian/<package>-doc.
-	#INSTALLDOC#
-
-        # Java
-	mkdir -p $(CURDIR)/debian/libthrift-java/usr/share/java/ && \
-	cp $(CURDIR)/lib/java/build/libthrift*.jar \
-		$(CURDIR)/debian/libthrift-java/usr/share/java/
-
-        # Ruby
-	mkdir -p $(CURDIR)/debian/ruby-thrift/usr/lib/ruby/1.8 && \
-	cp $(CURDIR)/lib/rb/lib/thrift.rb \
-		$(CURDIR)/debian/ruby-thrift/usr/lib/ruby/1.8
-	cp -r $(CURDIR)/lib/rb/lib/thrift \
-		$(CURDIR)/debian/ruby-thrift/usr/lib/ruby/1.8
-	mkdir -p $(CURDIR)/debian/ruby-thrift/usr/lib/ruby/1.9.1 && \
-	cp $(CURDIR)/lib/rb/lib/thrift.rb \
-		$(CURDIR)/debian/ruby-thrift/usr/lib/ruby/1.9.1
-	cp -r $(CURDIR)/lib/rb/lib/thrift \
-		$(CURDIR)/debian/ruby-thrift/usr/lib/ruby/1.9.1
-
-	# C#
-	mkdir -p $(CURDIR)/debian/libthrift-cil/usr/lib/cli/thrift/ && \
-	cp $(CURDIR)/lib/csharp/Thrift.dll \
-		$(CURDIR)/debian/libthrift-cil/usr/lib/cli/thrift/Thrift.dll
-
-	# Perl
-	$(MAKE) -C $(CURDIR)/lib/perl install DESTDIR=$(CURDIR)/debian/libthrift-perl/usr
-
-	dh_install -i
-
-install-arch:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -s
-	dh_installdirs -s
-
-	# Add here commands to install the arch part of the package into
-	# debian/tmp.
-	#$(MAKE) DESTDIR=$(CURDIR)/debian/thrift install
-
-	# Compiler
-	mkdir -p $(CURDIR)/debian/thrift-compiler/usr/bin && \
-	cp $(CURDIR)/compiler/cpp/thrift \
-		$(CURDIR)/debian/thrift-compiler/usr/bin/thrift && \
-	rmdir $(CURDIR)/debian/thrift-compiler/usr/sbin
-
-	# Python
-	cd $(CURDIR)/lib/py && \
-	for py in $(PYVERS); do \
-		$$py setup.py install --no-compile --root=$(CURDIR)/debian/python-thrift; \
-		$$py-dbg setup.py install --no-compile --root=$(CURDIR)/debian/python-thrift-dbg; \
-	done
-
-	find $(CURDIR)/debian/python-thrift-dbg -name "*.pyc" -print0 | xargs -0 rm -f
-	find $(CURDIR)/debian/python-thrift-dbg -name "*.py" -print0 | xargs -0 rm -f
-	find $(CURDIR)/debian/python-thrift-dbg -name "*.egg-info" -print0 | xargs -0 rm -rf
-	find $(CURDIR)/debian/python-thrift-dbg -depth -type d -empty -exec rmdir {} \;
-
-	# PHP
-	mkdir -p $(CURDIR)/debian/php5-thrift
-	cd $(CURDIR)/lib/php && \
-		$(MAKE) DESTDIR=$(CURDIR)/debian/php5-thrift install
-
-	# C++ and C (glib)
-	mkdir -p $(CURDIR)/debian/tmp; \
-	cd $(CURDIR)/lib/cpp && \
-		make DESTDIR=$(CURDIR)/debian/tmp install
-	cd $(CURDIR)/lib/c_glib && \
-		make DESTDIR=$(CURDIR)/debian/tmp install
-
-	dh_install --sourcedir=debian/tmp -s
-
-
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_installman
-	dh_link
-	dh_strip -Npython-thrift-dbg -Nthrift-compiler -Nlibthrift0 --dbg=python-thrift-dbg
-	dh_strip -Npython-thrift-dbg
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-# Build architecture independent packages using the common target.
-binary-indep: build-indep install-indep
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture dependent packages using the common target.
-binary-arch: build-arch install-arch
-	echo "php:Depends=phpapi-$(php-config5 --phpapi)" > debian/substvars
-	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/substvars
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/substvars b/depends/thirdparty/thrift/debian/substvars
deleted file mode 100644
index badf572..0000000
--- a/depends/thirdparty/thrift/debian/substvars
+++ /dev/null
@@ -1 +0,0 @@
-php:Depends=phpapi-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/thrift-doc.docs
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/thrift-doc.docs b/depends/thirdparty/thrift/debian/thrift-doc.docs
deleted file mode 100644
index 299950c..0000000
--- a/depends/thirdparty/thrift/debian/thrift-doc.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-#DOCS#
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/debian/thrift-doc.install
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/debian/thrift-doc.install b/depends/thirdparty/thrift/debian/thrift-doc.install
deleted file mode 100644
index 299950c..0000000
--- a/depends/thirdparty/thrift/debian/thrift-doc.install
+++ /dev/null
@@ -1,2 +0,0 @@
-#DOCS#
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doap.rdf
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doap.rdf b/depends/thirdparty/thrift/doap.rdf
deleted file mode 100755
index 5ff9945..0000000
--- a/depends/thirdparty/thrift/doap.rdf
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet type="text/xsl"?>
-<rdf:RDF xml:lang="en"
-         xmlns="http://usefulinc.com/ns/doap#" 
-         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
-         xmlns:asfext="http://projects.apache.org/ns/asfext#"
-         xmlns:foaf="http://xmlns.com/foaf/0.1/">
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-   
-         http://www.apache.org/licenses/LICENSE-2.0
-   
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
-  <Project rdf:about="http://thrift.apache.org">
-    <created>2012-04-14</created>
-    <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" />
-    <name>Apache Thrift</name>
-    <homepage rdf:resource="http://thrift.apache.org" />
-    <asfext:pmc rdf:resource="http://thrift.apache.org" />
-    <shortdesc>Apache Thrift software provides a framework for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages. </shortdesc>
-    <description>Apache Thrift allows you to define data types and service interfaces in a simple definition file. Taking that file as input, the compiler generates code to be used to easily build RPC clients and servers that communicate seamlessly across programming languages. Instead of writing a load of boilerplate code to serialize and transport your objects and invoke remote methods, you can get right down to business. </description>
-    <bug-database rdf:resource="https://issues.apache.org/jira/browse/THRIFT" />
-    <mailing-list rdf:resource="http://thrift.apache.org/mailing/" />
-    <download-page rdf:resource="http://thrift.apache.org/download/" />
-    <programming-language>ActionScript</programming-language>
-    <programming-language>C</programming-language>
-    <programming-language>C#</programming-language>
-    <programming-language>C++</programming-language>
-    <programming-language>Cocoa</programming-language>
-    <programming-language>D</programming-language>
-    <programming-language>Delphi</programming-language>
-    <programming-language>Erlang</programming-language>
-    <programming-language>Go</programming-language>
-    <programming-language>Haskell</programming-language>
-    <programming-language>Java</programming-language>
-    <programming-language>JavaScript</programming-language>
-    <programming-language>node.js</programming-language>
-    <programming-language>OCaml</programming-language>
-    <programming-language>Perl</programming-language>
-    <programming-language>PHP</programming-language>
-    <programming-language>Python</programming-language>
-    <programming-language>SmallTalk</programming-language>
-    <category rdf:resource="http://projects.apache.org/category/http" />
-    <category rdf:resource="http://projects.apache.org/category/library" />
-    <category rdf:resource="http://projects.apache.org/category/network-client" />
-    <category rdf:resource="http://projects.apache.org/category/network-server" />
-    <release rdf:parseType="Collection">
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2015-09-25</created>
-        <revision>0.9.3</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2013-08-22</created>
-        <revision>0.9.1</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2012-10-15</created>
-        <revision>0.9.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2011-11-29</created>
-        <revision>0.8.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2011-08-13</created>
-        <revision>0.7.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2011-04-25</created>
-        <revision>0.6.1</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift</name>
-        <created>2011-02-08</created>
-        <revision>0.6.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift (incubating)</name>
-        <created>2010-10-07</created>
-        <revision>0.5.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift (incubating)</name>
-        <created>2010-08-23</created>
-        <revision>0.4.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift (incubating)</name>
-        <created>2010-08-04</created>
-        <revision>0.3.0</revision>
-      </Version>
-      <Version>
-        <name>Apache Thrift (incubating)</name>
-        <created>2009-12-11</created>
-        <revision>0.2.0</revision>
-      </Version>
-    </release>
-    <repository>
-      <GitRepository>
-        <location rdf:resource="https://git-wip-us.apache.org/repos/asf/thrift.git"/>
-        <browse rdf:resource="https://git-wip-us.apache.org/repos/asf?p=thrift.git"/>
-      </GitRepository>
-    </repository>
-    <maintainer>
-      <foaf:Person>
-        <foaf:name>Apache Thrift PMC</foaf:name>
-          <foaf:mbox rdf:resource="mailto:dev@thrift.apache.org"/>
-      </foaf:Person>
-    </maintainer>
-  </Project>
-</rdf:RDF>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/coding_standards.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/coding_standards.md b/depends/thirdparty/thrift/doc/coding_standards.md
deleted file mode 100644
index 308100a..0000000
--- a/depends/thirdparty/thrift/doc/coding_standards.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Thrift Coding Standards
-
-   Any fool can write code that a computer can understand.
-   Good programmers write code that humans can understand.
-                                  -- Martin Fowler, 1999
-
-The purpose of this document is to make everyone's life easier.
-
-It's easier when you read good, well formatted, with clearly defined purpose, code.
-But the only way to read clean code is to write such.
-
-This document can help achieve that, but keep in mind that
-those are not silver-bullet, fix-all-at-once rules. Just think about readability while writing code.
-Write code like you would have to read it in ten years from now.
-
-## General Coding Standards
-
-Thrift has some history. Not all existing code follows those rules.
-But we want to improve over time.
-When making small change / bugfix - like single line fix - do *not* refactor whole function.
-That disturbs code repository history.
-Whenever adding something new and / or making bigger refactoring
- - follow those rules as strictly as you can.
-
-When in doubt - contact other developers (using dev@ mailing list or IRC).
-Code review is the best way to improve readability.
-
-### Basics
- * Use spaces not tabs
- * Use only ASCII characters in file and directory names
- * Commit to repository using Unix-style line endings (LF)
-     On Windows:
-       git config core.autocrlf true
- * Maximum line width - 100 characters
- * If not specified otherwise in language specific standard - use 2 spaces as indent/tab
-
-### Comments
- * Each file has to start with comment containing [Apache License](http://www.apache.org/licenses/LICENSE-2.0)
- * Public API of library should be documented, preferably using format native for language specific documentation generation tools (Javadoc, Doxygen etc.)
- * Other comments are discouraged - comments are lies. When one has to make comment it means one failed to write readable code. Instead of "I should write a comment here" think "I should clean it up"
- * Do not leave "TODO/FIXME" comments - file [Jira](http://issues.apache.org/jira/browse/THRIFT) issue instead
-
-### Naming
- Finding proper names is the most important and most difficult task in software development.
-
-## Language Specific Coding Standards
-
-For detailed information see `lib/LANG/coding_standards.md`

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/committers.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/committers.md b/depends/thirdparty/thrift/doc/committers.md
deleted file mode 100644
index b02edbe..0000000
--- a/depends/thirdparty/thrift/doc/committers.md
+++ /dev/null
@@ -1,54 +0,0 @@
-## Process used by committers to review and submit patches
-
-1. Make sure that there is an issue for the patch(s) you are about to commit in our [Jira issue tracker](http://issues.apache.org/jira/browse/THRIFT)
-
-1. Check out the latest version of the source code
-
-  * git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift
-
-1. Apply the patch
-
-  * curl https://issues.apache.org/jira/... |git apply --ignore-space-change
-
-  or
-
-  * curl https://github.com/<GitHub User>/thrift/commit/<Commit ID>.patch |git apply --ignore-space-change
-
-
-1. Inspect the applied patch to ensure that all [Legal aspects on Submission of Contributions (Patches)](http://www.apache.org/licenses/LICENSE-2.0.html#contributions) are met
-
-1. Run the necessary unit tests and cross language test cases to verify the patch
-
-1. Commit the patch
-
-        git --config user.name "Your Name"
-        git --config user.email "YourApacheID@apache.org"
-        git add -A
-        git commit
-
-1. The commit message should be in the format:
-
-       THRIFT-###:<Jira description>
-       Client: <component>
-       Patch: <Name of person contributing the patch>
-
-       Description of what was fixed or addressed.
-
-       <%
-           if this is a github pull request then add below comment
-            to automaticaly close GitHub request.
-       %>
-       This closes #XX
-
-
-1. Double check the patch committed and that nothing was missed then push the patch
-
-       git status
-       git show HEAD
-       git push origin master
-
-
-1. Resolve the jira issue and set the following for the changelog
-
-  * Component the patch is for
-  * fixVersion to the current version on master

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/install/README.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/install/README.md b/depends/thirdparty/thrift/doc/install/README.md
deleted file mode 100644
index e37f4ff..0000000
--- a/depends/thirdparty/thrift/doc/install/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-
-## Basic requirements
-* A relatively POSIX-compliant *NIX system
-    * Cygwin or MinGW can be used on Windows (but there are better options, see below)
-* g++ 4.2
-* boost 1.53.0
-* Runtime libraries for lex and yacc might be needed for the compiler.
-
-## Requirements for building from source
-* GNU build tools: 
-    * autoconf 2.65
-    * automake 1.13
-    * libtool 1.5.24
-* pkg-config autoconf macros (pkg.m4)
-* lex and yacc (developed primarily with flex and bison)
-* libssl-dev
-
-## Requirements for building the compiler from source on Windows
-* Visual Studio C++
-* Flex and Bison (e.g. the WinFlexBison package)
-
-## Language requirements
-These are only required if you choose to build the libraries for the given language
-
-* C++
-    * Boost 1.53.0
-    * libevent (optional, to build the nonblocking server)
-    * zlib (optional)
-* Java
-    * Java 1.7
-    * Apache Ant
-* C#: Mono 1.2.4 (and pkg-config to detect it) or Visual Studio 2005+
-* Python 2.6 (including header files for extension modules)
-* PHP 5.0 (optionally including header files for extension modules)
-* Ruby 1.8
-    * bundler gem
-* Erlang R12 (R11 works but not recommended)
-* Perl 5
-    * Bit::Vector
-    * Class::Accessor
-* Haxe 3.1.3
-* Go 1.4
-* Delphi 2010

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/install/centos.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/install/centos.md b/depends/thirdparty/thrift/doc/install/centos.md
deleted file mode 100644
index 609e118..0000000
--- a/depends/thirdparty/thrift/doc/install/centos.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# Building Apache Thrift on CentOS 6.5
-
-Starting with a minimal installation, the following steps are required to build Apache Thrift on Centos 6.5. This example builds from source, using the current development master branch. These instructions should also work with Apache Thrift releases beginning with 0.9.2.
-
-## Update the System
-
-	sudo yum -y update
-
-## Install the Platform Development Tools
-
-	sudo yum -y groupinstall "Development Tools"
-
-## Upgrade autoconf/automake/bison
-
-	sudo yum install -y wget
-
-### Upgrade autoconf
-
-	wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
-	tar xvf autoconf-2.69.tar.gz
-	cd autoconf-2.69
-	./configure --prefix=/usr
-	make
-	sudo make install
-	cd ..
-
-### Upgrade automake
-
-	wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
-	tar xvf automake-1.14.tar.gz
-	cd automake-1.14
-	./configure --prefix=/usr
-	make
-	sudo make install
-	cd ..
-
-### Upgrade bison
-
-	wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
-	tar xvf bison-2.5.1.tar.gz
-	cd bison-2.5.1
-	./configure --prefix=/usr
-	make
-	sudo make install
-	cd ..
-
-## Add Optional C++ Language Library Dependencies
-
-All languages require the Apache Thrift IDL Compiler and at this point everything needed to make the IDL Compiler is installed (if you only need the compiler you can skip to the Build step). 
-
-If you will be developing Apache Thrift clients/servers in C++ you will also need additional packages to support the C++ shared library build.
-
-### Install C++ Lib Dependencies
-
-	sudo yum -y install libevent-devel zlib-devel openssl-devel
-
-### Upgrade Boost >= 1.53
-
-	wget http://sourceforge.net/projects/boost/files/boost/1.53.0/boost_1_53_0.tar.gz
-	tar xvf boost_1_53_0.tar.gz
-	cd boost_1_53_0
-	./bootstrap.sh
-	sudo ./b2 install
-
-## Build and Install the Apache Thrift IDL Compiler
-
-	git clone https://git-wip-us.apache.org/repos/asf/thrift.git
-	cd thrift
-	./bootstrap.sh
-	./configure --with-lua=no
-	make
-	sudo make install
-
-This will build the compiler (thrift/compiler/cpp/thrift --version) and any language libraries supported. The make install step installs the compiler on the path: /usr/local/bin/thrift
-You can use the ./configure --enable-libs=no switch to build the Apache Thrift IDL Compiler only without lib builds. To run tests use "make check".

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/install/debian.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/install/debian.md b/depends/thirdparty/thrift/doc/install/debian.md
deleted file mode 100644
index a4344c7..0000000
--- a/depends/thirdparty/thrift/doc/install/debian.md
+++ /dev/null
@@ -1,41 +0,0 @@
-## Debian or Ubuntu setup
-The following command install all the required tools and libraries to build and install the Apache Thrift compiler on a Debian/Ubuntu Linux based system.
-
-	sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev ant
-
-Then install the Java JDK of your choice. Type **javac** to see a list of available packages, pick the one you prefer and **apt-get install** it.
-
-Debian stable users need to manually install a more recent automake version:
-
-    wget http://ftp.debian.org/debian/pool/main/a/automake-1.14/automake_1.14.1-3_all.deb
-    sudo dpkg -i automake_1.14.1-3_all.deb
-
-## Optional packages
-
-Some other packages depend on what languages you want Thrift to support.
-
- * Ruby 
-	* ruby-full ruby-dev ruby-rspec rake rubygems libdaemons-ruby libgemplugin-ruby mongrel
- * Python
-	* python-all python-all-dev python-all-dbg
- * Perl
-	* libbit-vector-perl libclass-accessor-class-perl
- * Php, install
-	* php5-dev php5-cli phpunit
- * C_glib
-	* libglib2.0-dev
- * Erlang
-	* erlang-base erlang-eunit erlang-dev
- * Csharp
-	* mono-gmcs mono-devel libmono-system-web2.0-cil nunit nunit-console
- * Haskell
-	* ghc6 cabal-install libghc6-binary-dev libghc6-network-dev libghc6-http-dev
- * Thrift Compiler for Windows
-	* mingw32 mingw32-binutils mingw32-runtime nsis
-
-
-## Additional reading
-
-For more information on the requirements see: [Apache Thrift Requirements](/docs/install)
-
-For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/install/os_x.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/install/os_x.md b/depends/thirdparty/thrift/doc/install/os_x.md
deleted file mode 100644
index 2d99ef4..0000000
--- a/depends/thirdparty/thrift/doc/install/os_x.md
+++ /dev/null
@@ -1,27 +0,0 @@
-## OS X Setup
-The following command install all the required tools and libraries to build and install the Apache Thrift compiler on a OS X based system. 
-
-### Install Boost
-Download the boost library from [boost.org](http://www.boost.org) untar compile with
-
-	./bootstrap.sh
-	sudo ./b2 threading=multi address-model=64 variant=release stage install
-
-### Install libevent
-Download [libevent](http://monkey.org/~provos/libevent), untar and compile with
-
-	./configure --prefix=/usr/local 
-	make
-	sudo make install
-
-### Building Apache Thrift
-Download the latest version of [Apache Thrift](/download), untar and compile with
-
-	./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local
-
-## Additional reading
-
-For more information on the requirements see: [Apache Thrift Requirements](/docs/install)
-
-For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource)
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/install/windows.md
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/install/windows.md b/depends/thirdparty/thrift/doc/install/windows.md
deleted file mode 100644
index 7b09840..0000000
--- a/depends/thirdparty/thrift/doc/install/windows.md
+++ /dev/null
@@ -1,186 +0,0 @@
-## Windows Setup
-
-The Thrift environment consists of two main parts: The Thrift compiler EXE and the language-dependent libraries. Most of these libraries will require some kind of build and/or installation. But regarding the Thrift compiler utility there are a number of different alternatives. 
-
-The first one of these alternatives is to download the **pre-built Thrift Compiler EXE** and only build the libraries needed from source, following one of the "Setup from source" methods outlined below.
-
-The other two options are to build the Thrift compiler from source. The most recommended way to achieve this is by means of the **Visual Studio C++ build project**. Alternatively, the Thrift compiler can also be built via **Cygwin** or **MinGW** build environments, however this method is not only less comfortable, but more time-consuming and requires much more manual effort. 
-
-
-## Prebuilt Thrift compiler
-
-The windows Thrift compiler is available as a prebuilt exe available [here](/download). Note that there is no installation tool, rather this EXE file *is* already the Thrift compiler utility. Download the file and put it into some suitable location of your choice.
-
-Now pick one of the "Build and install target libraries" below to continue.
-
- 
-## Setup from source via Visual Studio C++ (recommended)
-
-### Requirements
-
-Thrift's compiler is written in C++ and designed to be portable, but there are some system requirements. Thrift's runtime libraries are written in various languages, which are also required for the particular language interface.
-
- * Visual Studio C++, any recent version should do
- * Flex and Bison, e.g. the WinFlexBison package
- * [Apache Thrift Requirements](/docs/install)
-
-### Build and install the compiler
- 
-After all requirements are in place, use the `compiler/cpp/compiler.vcxproj` build project to build the Thrift compiler. Copy the resulting EXE file to a location of your choice. 
-
-### Build and install target libraries
-
-A few of the target language libraries also do provide Visual Studio project files, such as C++ and C#. These are located in the `lib/<language>/` folders. 
-
-Most of the language packages must be built and installed manually using build tools better suited to those languages. Typical examples are Java, Ruby, Delphi, or PHP. Look for the `README.md` file in the `lib/<language>/` folder for more details on how to build and install each language's library package.
- 
-
-## Setup from source via Cygwin
-
-### Requirements
-
-Thrift's compiler is written in C++ and designed to be portable, but there are some system requirements. Thrift's runtime libraries are written in various languages, which are also required for the particular language interface.
-
- * Cygwin or MinGW 
- * [Apache Thrift Requirements](/docs/install)
-
-### Installing from source
-
-If you are building from the first time out of the source repository, you will need to generate the configure scripts.  (This is not necessary if you downloaded a tarball.)  From the top directory, do:
-
-	./bootstrap.sh
-
-Once the configure scripts are generated, thrift can be configured. From the top directory, do:
-
-	export CXXFLAGS="-D PTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE"
-	./configure
-
-Setting the CXXFLAGS environmental variable works around compile errors with PTHREAD_MUTEX_RECURSIVE_NP being undeclared, by replacing it with the newer, portable PTHREAD_MUTEX_RECURSIVE. (Tested on cygwin 20100320, Thrift r760184, latest pthread.)
-
-**Optional:** You **may not** be able to make from the root  Thrift directory due to errors (see below to resolve). To make the compiler only, change to the compiler directory before running make:
-
-	cd compiler/cpp
-
-Now make the thrift compiler (& runtime libraries if make is run from the thrift root directory):
-
-	make
-	make install
-
-### Build and install target libraries
-
-Some language packages must be installed manually using build tools better suited to those languages. Typical examples are Java, Ruby, or PHP. Look for the README file in the `lib/<language>/` folder for more details on the installation of each language library package.
-
-### Possible issues with Cygwin install
-
-See also Possible issues with MinGW install.
-
-#### Syntax error in ./configure
-
-The following error occurs for some users when running ./configure:
-
-	./configure: line 21183: syntax error near unexpected token `MONO,'
-	./configure: line 21183: `  PKG_CHECK_MODULES(MONO, mono >= 1.2.6, have_mono=yes, have_mono=no)'
-
-To resolve this, you'll need to find your pkg.m4 (installed by the pkg-config package) file and copy it to the thrift/aclocal directory.  From the top-level thrift directory, you can copy the file by running
-
-	cp /usr/share/aclocal/pkg.m4 aclocal
-
-Finally, re-run ./bootstrap.sh and ./configure.  (Note that pkg.m4 is created by the pkg-config tool.  If your /usr/share/aclocal directory doesn't contain the pkg.m4 file, you may not have pkg-config installed.)
-
-#### Installing perl runtime libraries
-
-Sometimes, there will be an error during the install of the perl libraries with chmod.
-
-A workaround is to avoid installing the perl libraries if they are not needed.
-
-If you don't need perl, run configure with --without-perl.
-
-If you need perl, and are happy to manually install it, replace the contents of thrift/lib/perl/Makefile with the following, after building thrift:
-	
-	TODO
-
-#### Linking to installed C++ runtime libraries
-
-Sometimes, the installed libthrift.a will not link using g++, with linker errors about missing vtables and exceptions for Thrift classes.
-
-A workaround is to link the compiled object files directly from your Thrift build, corresponding to the missing classes.
-
-This can be implemented in a Makefile using the following lines:
-
-	THRIFT_O=<path to>/thrift/lib/cpp
-	LTHRIFT=$(THRIFT_O)/Thrift.o $(THRIFT_O)/TSocket.o $(THRIFT_O)/TBinaryProtocol.o $(THRIFT_O)/TBufferTransports.o
-
-Then linking using $(LTHRIFT) instead of -lthrift.
-
-	TODO - diagnose issue further
-
-#### C++ runtime segfault with cygwin 1.7.5-1, g++-4.3.4, fork() and throw
-
-If your thrift C++ programs segfault on throw after fork()ing, compile them with g++-3.
-
-The issue and patch are described on the Cygwin mailing list at http://cygwin.com/ml/cygwin/2010-05/msg00203.html
-
-This issue should be fixed in Cygwin versions after 1.7.5-1, or g++ 4.5.0.
-
-## Setup from source via MinGW
-
-### Requirements
-
-To compile the Thrift generator & runtime libraries (untested) without the cygwin.dll dependency you need to install MinGW (www.mingw.org). 
-
- * MinGW 
- * [Apache Thrift Requirements](/docs/install)
-
-In addition you need to add the following entry to your windows PATH variable.
-
-	C:\MINGW\BIN
-	
-Next, open compiler/cpp/Makefile.am and add the following line to thrift_CXXFLAGS
-
-	-DMINGW -mno-cygwin -lfl
-	
-Run bootstrap.sh:
-
-	./bootstrap.sh
-
-Make sure you have java in your $PATH variable, if not do(adjust path if necessary):
-
-	export PATH=$PATH:"/cygdrive/c/program files/java/jre1.6.0_05/bin"
-
-Run configure - using CXXFLAGS to work around an issue with an old pthreads define (untested on MinGW - works on Cygwin):
-
-	export CXXFLAGS="-D PTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE"
-	./configure
-
-''Optional:'' To make the compiler only, change to the compiler  directory before running make:
-
-	cd compiler/cpp
-	
-Run make:
-
-	mingw32-make.exe
-
-### Possible issues with MinGW install
-
-See also Possible issues with Cygwin install, including the discussion about PTHREAD_MUTEX_RECURSIVE_NP.
-
-#### yywrap is not found
-
-Make sure you add -lfl in your cxxflags in Makefile, also try adding -Lc:/cygwin/libs
-
-#### boost is not found
-
-Try and change the include dir to use the windows path from c like this: Edit compiler/cpp/Makefile, look for the declaration of BOOST_CPPFLAGS, change that line for
-
-	BOOST_CPPFLAGS = -Ic:/cygwin/usr/include/boost-1_53_0
-	
-#### realpath is not found
-
-add -DMINGW -mno-cygwin to the CXXDEFS variable in Makefile
-
-## Additional reading
-
-For more information on the requirements see: [Apache Thrift Requirements](/docs/install)
-
-For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource)
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/licenses/lgpl-2.1.txt
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/licenses/lgpl-2.1.txt b/depends/thirdparty/thrift/doc/licenses/lgpl-2.1.txt
deleted file mode 100644
index 5ab7695..0000000
--- a/depends/thirdparty/thrift/doc/licenses/lgpl-2.1.txt
+++ /dev/null
@@ -1,504 +0,0 @@
-		  GNU LESSER GENERAL PUBLIC LICENSE
-		       Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL.  It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
-			    Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
-  This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it.  You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
-  When we speak of free software, we are referring to freedom of use,
-not price.  Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
-  To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights.  These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
-  For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you.  You must make sure that they, too, receive or can get the source
-code.  If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it.  And you must show them these terms so they know their rights.
-
-  We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
-  To protect each distributor, we want to make it very clear that
-there is no warranty for the free library.  Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
-  Finally, software patents pose a constant threat to the existence of
-any free program.  We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder.  Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
-  Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License.  This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License.  We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
-  When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library.  The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom.  The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
-  We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License.  It also provides other free software developers Less
-of an advantage over competing non-free programs.  These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries.  However, the Lesser license provides advantages in certain
-special circumstances.
-
-  For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard.  To achieve this, non-free programs must be
-allowed to use the library.  A more frequent case is that a free
-library does the same job as widely used non-free libraries.  In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
-  In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software.  For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
-  Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.  Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library".  The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
-		  GNU LESSER GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
-  A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
-  The "Library", below, refers to any such software library or work
-which has been distributed under these terms.  A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language.  (Hereinafter, translation is
-included without limitation in the term "modification".)
-
-  "Source code" for a work means the preferred form of the work for
-making modifications to it.  For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
-  Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it).  Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-  
-  1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
-  You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
-  2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) The modified work must itself be a software library.
-
-    b) You must cause the files modified to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    c) You must cause the whole of the work to be licensed at no
-    charge to all third parties under the terms of this License.
-
-    d) If a facility in the modified Library refers to a function or a
-    table of data to be supplied by an application program that uses
-    the facility, other than as an argument passed when the facility
-    is invoked, then you must make a good faith effort to ensure that,
-    in the event an application does not supply such function or
-    table, the facility still operates, and performs whatever part of
-    its purpose remains meaningful.
-
-    (For example, a function in a library to compute square roots has
-    a purpose that is entirely well-defined independent of the
-    application.  Therefore, Subsection 2d requires that any
-    application-supplied function or table used by this function must
-    be optional: if the application does not supply it, the square
-    root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library.  To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License.  (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.)  Do not make any other change in
-these notices.
-
-  Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
-  This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
-  4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
-  If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library".  Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
-  However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library".  The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
-  When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library.  The
-threshold for this to be true is not precisely defined by law.
-
-  If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work.  (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
-  Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
-  6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
-  You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License.  You must supply a copy of this License.  If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License.  Also, you must do one
-of these things:
-
-    a) Accompany the work with the complete corresponding
-    machine-readable source code for the Library including whatever
-    changes were used in the work (which must be distributed under
-    Sections 1 and 2 above); and, if the work is an executable linked
-    with the Library, with the complete machine-readable "work that
-    uses the Library", as object code and/or source code, so that the
-    user can modify the Library and then relink to produce a modified
-    executable containing the modified Library.  (It is understood
-    that the user who changes the contents of definitions files in the
-    Library will not necessarily be able to recompile the application
-    to use the modified definitions.)
-
-    b) Use a suitable shared library mechanism for linking with the
-    Library.  A suitable mechanism is one that (1) uses at run time a
-    copy of the library already present on the user's computer system,
-    rather than copying library functions into the executable, and (2)
-    will operate properly with a modified version of the library, if
-    the user installs one, as long as the modified version is
-    interface-compatible with the version that the work was made with.
-
-    c) Accompany the work with a written offer, valid for at
-    least three years, to give the same user the materials
-    specified in Subsection 6a, above, for a charge no more
-    than the cost of performing this distribution.
-
-    d) If distribution of the work is made by offering access to copy
-    from a designated place, offer equivalent access to copy the above
-    specified materials from the same place.
-
-    e) Verify that the user has already received a copy of these
-    materials or that you have already sent this user a copy.
-
-  For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it.  However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
-  It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system.  Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
-  7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
-    a) Accompany the combined library with a copy of the same work
-    based on the Library, uncombined with any other library
-    facilities.  This must be distributed under the terms of the
-    Sections above.
-
-    b) Give prominent notice with the combined library of the fact
-    that part of it is a work based on the Library, and explaining
-    where to find the accompanying uncombined form of the same work.
-
-  8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License.  Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License.  However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
-  9. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Library or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
-  10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
-  11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded.  In such case, this License incorporates the limitation as if
-written in the body of this License.
-
-  13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation.  If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
-  14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission.  For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this.  Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
-			    NO WARRANTY
-
-  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
-		     END OF TERMS AND CONDITIONS
-
-           How to Apply These Terms to Your New Libraries
-
-  If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change.  You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
-  To apply these terms, attach the following notices to the library.  It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the library's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Lesser General Public
-    License as published by the Free Software Foundation; either
-    version 2.1 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this library; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the
-  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
-  <signature of Ty Coon>, 1 April 1990
-  Ty Coon, President of Vice
-
-That's all there is to it!
-
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/doc/licenses/otp-base-license.txt
----------------------------------------------------------------------
diff --git a/depends/thirdparty/thrift/doc/licenses/otp-base-license.txt b/depends/thirdparty/thrift/doc/licenses/otp-base-license.txt
deleted file mode 100644
index 8ee2992..0000000
--- a/depends/thirdparty/thrift/doc/licenses/otp-base-license.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Tue Oct 24 12:28:44 CDT 2006
-
-Copyright (c) <2006> <Martin J. Logan, Erlware> 
-
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software (OTP Base, fslib, G.A.S)  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.