RHEL or CentOS

Steps to upgrading.

Follow these steps to remove the old installation, merge your customizations of the old cassandra.yaml file to the new one, and then complete the upgrade.

Procedure

  1. On each Cassandra node, remove the old installation.
    sudo yum remove apache-cassandra11
  2. Install the new version.
    sudo yum install dsc12
    The installer creates the file cassandra.yaml.rpmnew in /etc/cassandra/default.conf/.
  3. Open the old and new cassandra.yaml files and diff them.
  4. Merge the diffs by hand, including the partitioner setting, from the old file into the new one.
    Do not use the default partitioner setting in the new cassandra.yaml because it has changed in this release to the Murmur3Partitioner. The Murmur3Partitioner can be used only for new clusters. After data has been added to the cluster, you cannot change the partitioner without reworking tables, which is not practical. Use your old partitioner setting in the new cassandra.yaml file.
  5. Save the file as cassandra.yaml.
  6. Follow steps for completing the upgrade.