Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
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.
Attachments
Issue Links
Activity
Assignee | Sergei Golubchik [ serg ] |
Description |
how do we package Cassandra SE ? How to the solve the dependencies? The engine requires thrift libraries to be present. |
how do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} |
Description |
how do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} |
how do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} |
Link | This issue is blocked by TODO-356 [ TODO-356 ] |
Link | This issue relates to TODO-357 [ TODO-357 ] |
Description |
how do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} |
How do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} |
Assignee | Sergei Golubchik [ serg ] | Michael Widenius [ monty ] |
Assignee | Michael Widenius [ monty ] | Jani Tolonen [ jani ] |
Due Date | 2013-01-11 |
Labels | packaging |
Description |
How do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} |
How do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} 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). |
Description |
How do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} 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). |
How do we package Cassandra SE ? How to the solve the dependencies? The engine requires [Thrift|http://thrift.apache.org/] 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 {noformat} ./configure --enable-shared=no --enable-static=yes CXXFLAGS=-fPIC CFLAGS=-fPIC {noformat} 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 {noformat} [mariadb] plugin-load-add=ha_cassandra.so {noformat} 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|https://kb.askmonty.org/en/building-cassandra-storage-engine-for-packaging/] needs to be updated to match the reality. |
Remote Link | This issue links to "Building Cassandra Storage Engine for packaging (Web Link)" [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 25615 ] | MariaDB v2 [ 46002 ] |
Workflow | MariaDB v2 [ 46002 ] | MariaDB v3 [ 66679 ] |
Workflow | MariaDB v3 [ 66679 ] | MariaDB v4 [ 132041 ] |
Fixed.