Building Cassandra Storage Engine for Packaging
Legacy Cassandra storage engine description. Cassandra was removed from MariaDB in MariaDB 10.6.
These are instructions on how exactly we build Cassandra SE packages.
Getting into build environment
See How_to_access_buildbot_VMs page on the internal wiki. The build VM to use is
ezvm precise-amd64-buildGet into the VM and continue to next section.
Set up Thrift
mkdir build
cd build
wget https://dist.apache.org/repos/dist/release/thrift/0.8.0/thrift-0.8.0.tar.gz
sudo apt-get install bzr
sudo apt-get install flex
tar zxvf thrift-0.8.0.tar.gz
cd thrift-0.8.0/
./configure --prefix=/home/buildbot/build/thrift-inst --without-qt4 --without-c_glib --without-csharp --without-java --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go --without-d
make
make install
# free some space
make clean
cd ..Get the bzr checkout
Create another SSH connection to terrier, run the script suggested by motd.
Press (C-a C-c) to create another window
Copy the base bazaar repository into the VM:
Then, get back to the window with VM, and run in VM:
Compile
This should end with:
Free up some disk space:
Patch the tarball to include Thrift
Verify that mysqld was built with Cassandra SE:
This should point to libthrift-0.8.0.so.
Copy the data out of VM
In the second window (the one that's on terrier, but not in VM), run:
References
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

