[MDEV-3931] Cassandra SE packaging Created: 2012-12-11  Updated: 2013-01-23  Due: 2013-01-11  Resolved: 2013-01-23

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: 10.0.1

Type: Task Priority: Major
Reporter: Sergei Golubchik Assignee: Jani Tolonen
Resolution: Fixed Votes: 0
Labels: packaging

Issue Links:
Blocks
is blocked by MDEV-3860 backport --plugin-load-add Closed
PartOf
is part of MDEV-431 Cassandra storage engine Closed
Relates

 Description   

How do we package Cassandra SE ? How to the solve the dependencies?
The engine requires Thrift libraries to be present.

There are no packages for Thrift. Because of that we cannot expect package managers to pull in thrift as a dependency automatically.

That's why, we will build with thrift statically. For this to work, thrift should be build as

./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC

We will distribute the Cassandra SE as a separate package (RPM/DEB). This package will, probably, contain only two files: ha_cassandra.so and /etc/my.cnf.d/cassandra.cnf with

[mariadb]
plugin-load-add=ha_cassandra.so

And the storage/cassandra/CMakeLists.txt has to determine whether thrift libraries are installed, and enable or disable the engine accordingly (at the moment, it disables the engine unless it was enabled explicitly - this check should be removed).


When everything is done, the KB page Building Cassandra Storage Engine for packaging needs to be updated to match the reality.



 Comments   
Comment by Jani Tolonen [ 2013-01-23 ]

Fixed.

Generated at Thu Feb 08 06:52:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.