cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "InstallThrift" by PeterSchuller
Date Mon, 06 Dec 2010 22:38:22 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "InstallThrift" page has been changed by PeterSchuller.
The comment on this change is: Update partially to reflect cas 0.7 and thrift 0.5, but retaining
the old information.
http://wiki.apache.org/cassandra/InstallThrift?action=diff&rev1=9&rev2=10

--------------------------------------------------

  '''NOTE:''' If you arrived here for the purpose of writing your first application, please
consider using a [[ClientOptions|higher-level client]] instead of thrift directly.
  
- [[http://incubator.apache.org/thrift|Thrift]] expects to make an official release so that
distributors can package it up nicely Real Soon Now.  In the meantime, installing thrift is
a bit of a bitch.  We are sorry about that, but we don't know of a better way to support a
vast number of clients mostly automagically.
+ [[http://incubator.apache.org/thrift|Thrift]] historically did not have tagged releases
and Cassandra used trunk revisions of it. As of Cassandra 0.7, Thrift 0.5 is used. For Cassandra
0.6, you have to use the matching version of Thrift. Under such circumstances, installing
thrift is a bit of a bitch.  We are sorry about that, but we don't know of a better way to
support a vast number of clients mostly automagically.
  
- Important note: you need to install the svn revision of thrift that matches the revision
that your version of Cassandra uses. This can be found in the <Cassandra Home>/lib directory
- e.g. `libthrift-917130.jar` means that version of Cassandra uses svn revision 917130 of
thrift.
+ Important note: you need to install the svn revision of thrift that matches the revision
that your version of Cassandra uses (if not using 0.7 with Thrift 0.5). This can be found
in the <Cassandra Home>/lib directory - e.g. `libthrift-917130.jar` means that version
of Cassandra uses svn revision 917130 of thrift.
  
   1. `aptitude install libboost-dev python-dev autoconf automake pkg-config make libtool
flex bison build-essential` (or the equivalent on your system) (assumes you are interested
in building for python; omit python-dev otherwise)
   1. Grab the thrift source with the revision that your version of Cassandra uses: e.g. `svn
co -r 917130 http://svn.apache.org/repos/asf/thrift/trunk thrift`

Mime
View raw message