What’s Thrift you ask? Well to quote their website.
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 between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.
And why do I needed it? Well I have been testing Cassandra for at work and one of the developers want to generate some csharp code using the Thrift API, so of course he wanted me to do it, since he was having problems getting it to work on his Window box.
So here is the short notes for what I did.
Downloaded Thrift code:
thrift-incubating-0.2.0.tar.gz
Installed/Updated required packages:
sudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel
Unpacked the code, compiled, and installed it:
tar -zxf thrift-incubating-0.2.0.tar.gz
cd thrift-incubating-0.2.0
./configure
make
sudo make install
That’s it, have fun. Next project going to look at Lucandra: A Cassandra-based Lucene backend.