THIS PAGE IS OBSOLETE, it describes how to build a branch of MariaDB-5.5 with Cassandra SE. Cassandra SE is a part of MariaDB 10.0, which uses different approach to building.
This page describes how to build the Cassandra Storage Engine.
The code is in bazaar branch at lp:~maria-captains/maria/5.5-cassandra.
Alternatively, you can download a tarball from http://ftp.osuosl.org/pub/mariadb/mariadb-5.5.27/cassandra-preview/
The build process is not fully streamlined yet. It is
The build process is as follows
storage/cassandra/CMakeLists.txt
and modify the INCLUDE_DIRECTORIES
directive to point to Thrift's include directory. export LIBS="-lthrift"
, on another machine it was "-lthrift -ldl" export LDFLAGS=-L/path/to/thrift/libs
Cassandra storage engine is linked into the server (ie, it is not a plugin). All you need to do is to make sure Thrift's libthrift.so can be found by the loader. This may require adjusting the LD_LIBRARY_PATH variable.
There is a basic testsuite. In order to run it, one needs
cqlsh
and cassandra-cli
binaries can be found cd mysql-test ./mysql-test-run t/cassandra.test
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/building-cassandra-storage-engine/