Vality version of Apache Thrift
Go to file
Aditya Agarwal e528c76490 -- Thrift Log File
Summary:
-- This is the thrifty version of Pillar's batch_writer
-- Cleaned up a lot of the code in batch writer and made it conform to Thrift's strict coding standards
-- Added TBufferedRouterTransport.h/cc to actually route messsages via readEnd() to the file writer. It's
   not quite as easy to route the messages in Thrift as it was in Pillar

Reviewed By: Slee

Test Plan: Tested by making sure that the file was recording data

Notes:
-- The real correctness test will be when I finish writing TLogFileTransport (pillar_logfile.cpp).


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664826 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 02:48:43 +00:00
compiler Thrift compiler code cleanup, comments, php inline generation, etc 2006-10-10 01:42:59 +00:00
doc Baseline commit for thrift, which is pillar v2 2006-05-24 21:45:31 +00:00
lib -- Thrift Log File 2006-10-11 02:48:43 +00:00
test Test code updates 2006-10-10 01:57:32 +00:00
bootstrap.sh Point Thrift bootrapping code to compiler/py instead of compiler 2006-09-01 22:20:32 +00:00
configure.ac Point Thrift bootrapping code to compiler/py instead of compiler 2006-09-01 22:20:32 +00:00
README Better socket timeout and options support for Thrift C++ 2006-09-29 00:12:30 +00:00

Thrift (Thrift IDL and RPC tool)                   Version 1.0  (22 August 2006)

Mark Slee (mcslee@facebook.com)
Marc Kwiatkowski (marc@facebook.com)

$Header$

Copyright (c) 2006, acebook, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Facebook, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright (C) 2001-2006  Facebook

Introduction
============

Thrift is a lightweight, language-independent RPC mechanism.  

Requirements
============
Thrift requires Python 2.4 or greater and PLY, the python LALR generator tool, 1.7 or greater.
See python.org for source and binary distributions for python
See http://www.dabeaz.com/ply/ply.html for the PLY distribution and documentation 

Thrift requires boost shared pointers from boost-1.33.1 or greater, see http://www.boost.org/libs/smart_ptr/smart_ptr.htm

Resources
=========

More information about Thrift can be obtained on the Thrift webpage at:

     http://developers.facebook.com/thrift

Acknowledgments
===============

Thrift was inspired by pillar, a lightweight RPC tool written by Adam D'Angelo

INSTALLATION
============

If you are building from the first time out of the source repository, you will need to generate the configure scripts.  From the top directory, do:

	./bootstrap.sh

Once the configure scripts are generated, thrift can be configured.  From the top directory, do:

	./configure

You may need to specify the locacation of the boost files explicitly:   If you installed boost in  /usr/local, you would run configure as follows:

	./configure --with-boost=/usr/local

Note that by default the thrift C++ library is built with no debugging symbols included. If you would like debugging symbols during development work, run:

        ./configure --CFLAGS='-g -O2'

Run ./configure --help to see other configuration options

Make thrift 

	make

From the top directory, become superuser and do:

	make install