Details

    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

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            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}
            serg Sergei Golubchik made changes -
            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}
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            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}
            monty Michael Widenius made changes -
            Assignee Sergei Golubchik [ serg ] Michael Widenius [ monty ]
            monty Michael Widenius made changes -
            Assignee Michael Widenius [ monty ] Jani Tolonen [ jani ]
            serg Sergei Golubchik made changes -
            Due Date 2013-01-11
            colin Colin Charles made changes -
            Labels packaging
            serg Sergei Golubchik made changes -
            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).
            serg Sergei Golubchik made changes -
            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.
            serg Sergei Golubchik made changes -
            jani Jani Tolonen made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jani Jani Tolonen added a comment -

            Fixed.

            jani Jani Tolonen added a comment - Fixed.
            jani Jani Tolonen made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow defaullt [ 25615 ] MariaDB v2 [ 46002 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 46002 ] MariaDB v3 [ 66679 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 66679 ] MariaDB v4 [ 132041 ]

            People

              jani Jani Tolonen
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.