Steps to upgrading.
Follow these steps to get the new version, merge your customizations of the old
cassandra.yaml file to the new one, and then complete the upgrade.
Procedure
-
Save the cassandra.yaml file from the old installation to a safe place.
-
On each of your Cassandra nodes, install the new version.
sudo apt-get install dsc12
-
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.