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
-
On each Cassandra node, remove the old installation.
sudo yum remove apache-cassandra11
-
Install the new version.
The installer creates the file cassandra.yaml.rpmnew in
/etc/cassandra/default.conf/.
-
Open the old and new cassandra.yaml files and diff them.
-
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.
-
Save the file as cassandra.yaml.
-
Follow steps for completing the
upgrade.