Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9493A200B84 for ; Tue, 6 Sep 2016 07:18:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 93063160AD1; Tue, 6 Sep 2016 05:18:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3778A160AD0 for ; Tue, 6 Sep 2016 07:18:17 +0200 (CEST) Received: (qmail 12951 invoked by uid 500); 6 Sep 2016 05:18:16 -0000 Mailing-List: contact commits-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list commits@hawq.incubator.apache.org Received: (qmail 12942 invoked by uid 99); 6 Sep 2016 05:18:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 05:18:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 62B55C07C7 for ; Tue, 6 Sep 2016 05:18:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.361 X-Spam-Level: X-Spam-Status: No, score=0.361 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.519, URIBL_SBL=4, URIBL_SBL_A=0.1] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FJ5EkhtSIt2i for ; Tue, 6 Sep 2016 05:18:09 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 46E4760DA3 for ; Tue, 6 Sep 2016 05:17:51 +0000 (UTC) Received: (qmail 11188 invoked by uid 99); 6 Sep 2016 05:17:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 05:17:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 40DDEE0902; Tue, 6 Sep 2016 05:17:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: rlei@apache.org To: commits@hawq.incubator.apache.org Date: Tue, 06 Sep 2016 05:18:04 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [17/51] [partial] incubator-hawq git commit: HAWQ-959. revert thrift build commands. archived-at: Tue, 06 Sep 2016 05:18:19 -0000 http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj b/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj deleted file mode 100644 index 779c339..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj +++ /dev/null @@ -1,105 +0,0 @@ -? - - - - Debug - Win32 - - - Release - Win32 - - - - {85FBFB54-530B-498F-9F38-44BA204FAE6A} - Win32Proj - client - - - - Application - true - Unicode - - - Application - false - true - Unicode - - - - - - - - - - - - - true - - - false - - - - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - ../;../../../lib/cpp/src;../../../../boost;../../../../boost/boost/tr1;%(AdditionalIncludeDirectories) - - - Console - true - ../../../lib/cpp/$(Configuration);../../../../Boost/lib;%(AdditionalLibraryDirectories) - libthrift.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - ../;../../../lib/cpp/src;../../../../boost;../../../../boost/boost/tr1;%(AdditionalIncludeDirectories) - - - Console - true - true - true - ../../../lib/cpp/$(Configuration);../../../../Boost/lib;%(AdditionalLibraryDirectories) - libthrift.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj.filters ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj.filters b/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj.filters deleted file mode 100644 index 3ec7bde..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/client/client.vcxproj.filters +++ /dev/null @@ -1,66 +0,0 @@ -? - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - {1265b3dc-91de-416f-aba6-7b750de4221e} - - - - - - - - Header Files - - - Header Files - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - - - Source Files - - - Source Files - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files - - - http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.cpp ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.cpp b/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.cpp deleted file mode 100644 index 4bd151e..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// client.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.h ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.h b/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.h deleted file mode 100644 index b005a83..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/client/stdafx.h +++ /dev/null @@ -1,15 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#pragma once - -#include "targetver.h" - -#include -#include - - - -// TODO: reference additional headers your program requires here http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/client/targetver.h ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/client/targetver.h b/depends/thirdparty/thrift/contrib/transport-sample/client/targetver.h deleted file mode 100644 index 87c0086..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/client/targetver.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - -// Including SDKDDKVer.h defines the highest available Windows platform. - -// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and -// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. - -#include http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/config.h ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/config.h b/depends/thirdparty/thrift/contrib/transport-sample/config.h deleted file mode 100644 index a20d785..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/config.h +++ /dev/null @@ -1,24 +0,0 @@ -//Missing definitions for *NIX systems. This sample project -//was initially created on Windows. - -#include -#include -#include - -#define TEXT(str) str - -inline int Sleep(int ms) -{ - return sleep(ms/1000); //sleep() param is in seconds -} - -inline int _tcscmp(const char* str1, const char* str2) -{ - return strcmp(str1, str2); -} - -inline int _tstoi(const char* str) -{ - return atoi(str); -} - http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/ReadMe.txt ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/ReadMe.txt b/depends/thirdparty/thrift/contrib/transport-sample/server/ReadMe.txt deleted file mode 100644 index 53c0ee5..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/ReadMe.txt +++ /dev/null @@ -1,40 +0,0 @@ -======================================================================== - CONSOLE APPLICATION : server Project Overview -======================================================================== - -AppWizard has created this server application for you. - -This file contains a summary of what you will find in each of the files that -make up your server application. - - -server.vcxproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -server.vcxproj.filters - This is the filters file for VC++ projects generated using an Application Wizard. - It contains information about the association between the files in your project - and the filters. This association is used in the IDE to show grouping of files with - similar extensions under a specific node (for e.g. ".cpp" files are associated with the - "Source Files" filter). - -server.cpp - This is the main application source file. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named server.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" comments to indicate parts of the source code you -should add to or customize. - -///////////////////////////////////////////////////////////////////////////// http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/server.cpp ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/server.cpp b/depends/thirdparty/thrift/contrib/transport-sample/server/server.cpp deleted file mode 100644 index dba8368..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/server.cpp +++ /dev/null @@ -1,168 +0,0 @@ -// server.cpp : Defines the entry point for the console application. -// -// sample server command line app using Thrift IPC. -// -// This is a simple demonstration of full duplex RPC. That is, each -// side runs both a client and server to enable bidirectional event -// signaling. -// - -#ifdef _WIN32 -# include "stdafx.h" -#else -# include "config.h" -#endif - -//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -//Include this before the generated includes -#include "ThriftCommon.h" -//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -//Tailor these to your generated files -#include "../gen-cpp/SampleService.h" -#include "../gen-cpp/SampleCallback.h" - -using namespace Sample; //declared in .thrift file -//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -int16_t ClientPort_; -std::string ClientPipeName_; -void S2CThreadProc(); - -//----------------------------------------------------------------------------- -// RPC implementations -// -class SampleServiceHandler : virtual public SampleServiceIf { - public: - SampleServiceHandler() { - // Your initialization goes here - } - - void HelloThere(std::string& _return, const std::string& HelloString) { - // Your implementation goes here - printf("<<>>Connecting to client on port %d\n", ClientPort_); - boost::thread Connect2ClientThread(S2CThreadProc); -#endif - } - - void ClientSidePipeName(const std::string& ClientPipeName) - { - ClientPipeName_ = ClientPipeName; - ClientPort_ = 0; -#ifdef _WIN32 - printf(">>>Connecting to client pipe %s\n", ClientPipeName_.c_str()); - boost::thread Connect2ClientThread(S2CThreadProc); -#endif - } -}; -//----------------------------------------------------------------------------- - -#ifdef _WIN32 -int _tmain(int argc, _TCHAR* argv[]) -#else -int main(int argc, char **argv) -#endif -{ - int port; - std::string pipename; //e.g. "affpipe" - - bool usage = false; - - //Process command line params - if(argc > 1) - { - if(_tcscmp(argv[1], TEXT("-sp")) == 0) - { //Socket Port specified - port = _tstoi(argv[2]); -#ifdef _WIN32 - TWinsockSingleton::create(); -#endif - // Start the thrift server which is a blocking call. - thriftcommon::RunThriftServer(10, port); - } - else if(_tcscmp(argv[1], TEXT("-np")) == 0) - { //Named Pipe specified -#ifdef _WIN32 - std::wstring wpipe(argv[2]); - pipename.resize(wpipe.length()); - std::copy(wpipe.begin(), wpipe.end(), pipename.begin()); -#else - pipename = argv[2]; -#endif - printf("Using Named Pipe %s\n", pipename.c_str()); - - //Thrift over Named Pipe. - thriftcommon::RunThriftServer(10, pipename); - } - else if(_tcscmp(argv[1], TEXT("-ap")) == 0) - { //Anonymous Pipe specified - //This is more involved because the child needs to be launched - //after the transport is created but before the blocking server - //call. -#ifdef _WIN32 - boost::shared_ptr transport(new TPipeServer()); //Anonymous pipe - thriftcommon::LaunchAnonPipeChild(".\\client.exe", transport); - boost::shared_ptr handler(new SampleServiceHandler()); - thriftcommon::RunThriftServer(handler, 10, transport); -#else - printf("Anonymous pipes not (yet) supported under *NIX\n"); -#endif - } - else - usage = true; - } - else - usage = true; - - if(usage) - { - printf("Thrift sample server usage:\n\n"); - printf("Socket Port : -sp \n"); - printf("Named Pipe : -np (e.g. affpipe)\n"); - printf("Anonymous Pipe: -ap\n"); - } - return 0; -} - - -//Thread Routine that connects to the 'client'. -void S2CThreadProc() -{ - //Master server's connection to client-side's server. - boost::shared_ptr clientsrv; //Client class from Thrift-generated code. - boost::shared_ptr transport; - if(ClientPort_ != 0) - thriftcommon::ConnectToServer(clientsrv, transport, ClientPort_); - if(!ClientPipeName_.empty()) - thriftcommon::ConnectToServer(clientsrv, transport, ClientPipeName_); - - try { - transport->open(); - - clientsrv->pingclient(); - Sleep(1500); - clientsrv->pingclient(); - Sleep(1500); - clientsrv->pingclient(); - - transport->close(); - } catch (TException &tx) { - printf("ERROR: %s\n", tx.what()); - } -} - http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj b/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj deleted file mode 100644 index 8e39b26..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj +++ /dev/null @@ -1,106 +0,0 @@ -? - - - - Debug - Win32 - - - Release - Win32 - - - - {72FCAF29-506D-4164-9FA6-F54C5C28E79D} - Win32Proj - server - - - - Application - true - Unicode - - - Application - false - true - Unicode - - - - - - - - - - - - - true - - - false - - - - NotUsing - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - ../;../../../lib/cpp/src;../../../../Boost/;../../../../Boost/boost/tr1;%(AdditionalIncludeDirectories) - - - Console - true - ../../../lib/cpp/$(Configuration);../../../../Boost/lib;%(AdditionalLibraryDirectories) - libthrift.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - Level3 - NotUsing - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - ../;../../../lib/cpp/src;../../../../Boost/;../../../../Boost/boost/tr1;%(AdditionalIncludeDirectories) - - - Console - true - true - true - ../../../lib/cpp/$(Configuration);../../../../Boost/lib;%(AdditionalLibraryDirectories) - libthrift.lib;ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - - - - - - - - - - - - - - - - - - Create - Create - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj.filters ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj.filters b/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj.filters deleted file mode 100644 index 8bb6dfb..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/server.vcxproj.filters +++ /dev/null @@ -1,66 +0,0 @@ -? - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - {dab66db8-bc45-4518-aad2-7a75696226e3} - - - - - - - - Header Files - - - Header Files - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - - - Source Files - - - Source Files - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files\gen-cpp - - - Source Files - - - http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.cpp ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.cpp b/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.cpp deleted file mode 100644 index c25ff61..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// server.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.h ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.h b/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.h deleted file mode 100644 index b005a83..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/stdafx.h +++ /dev/null @@ -1,15 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#pragma once - -#include "targetver.h" - -#include -#include - - - -// TODO: reference additional headers your program requires here http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/server/targetver.h ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/server/targetver.h b/depends/thirdparty/thrift/contrib/transport-sample/server/targetver.h deleted file mode 100644 index 87c0086..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/server/targetver.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - -// Including SDKDDKVer.h defines the highest available Windows platform. - -// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and -// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. - -#include http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/thriftme.bat ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/thriftme.bat b/depends/thirdparty/thrift/contrib/transport-sample/thriftme.bat deleted file mode 100644 index 4b1ef78..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/thriftme.bat +++ /dev/null @@ -1 +0,0 @@ -thrift.exe --gen cpp Sample.thrift http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/thriftme.sh ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/thriftme.sh b/depends/thirdparty/thrift/contrib/transport-sample/thriftme.sh deleted file mode 100644 index 3b18f90..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/thriftme.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -THRIFT_COMPILER=./thrift -OUTPUT_FOLDER=$PWD - -if [ ! -e "${THRIFT_COMPILER}" ] -then - THRIFT_COMPILER=thrift - command -v ${THRIFT_COMPILER} >/dev/null 2>&1 - if [ $? -eq 1 ]; then - echo - echo "thrift compiler not found." - echo - exit - fi -fi - -${THRIFT_COMPILER} --gen cpp Sample.thrift - -echo -echo "Files have been generated in gen-cpp." - -exit - http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/transport-sample/transport-sample.sln ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/transport-sample/transport-sample.sln b/depends/thirdparty/thrift/contrib/transport-sample/transport-sample.sln deleted file mode 100644 index a9fa1ef..0000000 --- a/depends/thirdparty/thrift/contrib/transport-sample/transport-sample.sln +++ /dev/null @@ -1,26 +0,0 @@ -? -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "server", "server\server.vcxproj", "{72FCAF29-506D-4164-9FA6-F54C5C28E79D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "client", "client\client.vcxproj", "{85FBFB54-530B-498F-9F38-44BA204FAE6A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {72FCAF29-506D-4164-9FA6-F54C5C28E79D}.Debug|Win32.ActiveCfg = Debug|Win32 - {72FCAF29-506D-4164-9FA6-F54C5C28E79D}.Debug|Win32.Build.0 = Debug|Win32 - {72FCAF29-506D-4164-9FA6-F54C5C28E79D}.Release|Win32.ActiveCfg = Release|Win32 - {72FCAF29-506D-4164-9FA6-F54C5C28E79D}.Release|Win32.Build.0 = Release|Win32 - {85FBFB54-530B-498F-9F38-44BA204FAE6A}.Debug|Win32.ActiveCfg = Debug|Win32 - {85FBFB54-530B-498F-9F38-44BA204FAE6A}.Debug|Win32.Build.0 = Debug|Win32 - {85FBFB54-530B-498F-9F38-44BA204FAE6A}.Release|Win32.ActiveCfg = Release|Win32 - {85FBFB54-530B-498F-9F38-44BA204FAE6A}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/README.md ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/README.md b/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/README.md deleted file mode 100644 index 76dca44..0000000 --- a/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/README.md +++ /dev/null @@ -1,61 +0,0 @@ -Apache Thrift Centos 6.5 Vagrant Support -======================================== -This directory is the Vagrant project directory for Apache Thrift running on Centos 6.5. The Vagrantfile in this directory configures a Vagrant provisioned VM launched under VirtualBox. To use this project you must have a recent version of VirtualBox and Vagrant installed (in that order). To run the VM, open a shell, clone Apache Thrift, change to this directory and enter the Vagrant up command. - - $ git clone https://github.com/apache/thrift - $ cd thrift/contrib/vagrant/centos-6.5 - $ vagrant up - -This will download and launch the base box VM under VirtualBox and run the Apache Thrift provisioning script. This will take up to an hour depending on your hardware and network. Once complete you can login to the box with Vagrant ssh. The thrift source tree from your host os is mounted at /thrift. - - $ vagrant ssh - [vagrant@thrift ~]$ cd /thrift - [vagrant@thrift thrift]$ compiler/cpp/thrift --version - Thrift version 1.0.0-dev - -The provisioning script (inside the Vagrantfile) runs ./bootstrap.sh, ./configure, make and make check, but does not install thrift. To install thrift run "make install". - -The Vagrant base box used here is a minimal Centos 6.5 VirtualBox with 2GB RAM and 2 CPUs. For more Vagrant information: https://www.vagrantup.com. A summary of the base box preparation follows: - -root password: vagrant - -#Create the vagrant user and give it sudo permission -adduser vagrant -passwd vagrant -visudo : vagrant ALL=(ALL) NOPASSWD: ALL - #Defaults requiretty - -#Shut down the firewall and disable it -service iptables stop -chkconfig iptables off - -#Setup the vagrant ssh public key to allow vagrant to ssh -mkdir /home/vagrant/.ssh -chmod 700 /home/vagrant/.ssh -cd /home/vagrant/.ssh -wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys -chmod 600 /home/vagrant/.ssh/authorized_keys -chown -R vagrant /home/vagrant/.ssh - -#Install EPEL (Extra Packages for Enterprise Linux) but protect the base -#repositories so that EPEL does not mask base packages -yum -y install yum-plugin-protectbase -rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm - -#Install perl, dynamic kernel modules, dev tools and kernel headers to support -#Virtual box additions -yum -y install perl -yum -y --enablerepo epel install dkms -yum -y groupinstall "Development Tools" -yum -y install kernel-devel - -#Update everything and reboot -yum update -reboot - -#Install the VirtualBox Guest additions (using VirtualBox iso) -mount /dev/cdrom /mnt -/mnt/VBoxLinuxAdditions.run -umount /mnt - -See the Vagrantfile for further details http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/Vagrantfile ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/Vagrantfile b/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/Vagrantfile deleted file mode 100644 index 6207958..0000000 --- a/depends/thirdparty/thrift/contrib/vagrant/centos-6.5/Vagrantfile +++ /dev/null @@ -1,274 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# 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. - -# APACHE THRIFT PROVISIONING SCRIPT -############################################################## -# This script is used to configure the base Centos 6.5 -# Vagrant box for Apache Thrift compiler and lib builds. -# The base box is Centos 6.5 with no additional packages -# except those required to support VirtualBox Guest tools: -# perl, dkms, kernel-devel and the "Development Tools" group. -# The epel repo was also added along with the -# yum-plugin-protectbase package to prefer base repo packages. -# The script below provisions ALL languages. This will take -# time. You can greatly reduce the build time by commenting -# out the LIB provisioning for uneeded language libraries. -# Expect full provisioning to take 30 minutes on a fast -# machine with an excellent Internet connection (and another -# 15 minutes for the build). -# -# Machine accounts: -# - User: vagrant/vagrant -# - Admin: root/vagrant -# Vagrant public ssh key also installed -############################################################## - -$build_and_test = <