Upgrading the DataStax AMI
On each node ensure that the DataStax repository is listed in the
deb http://username:firstname.lastname@example.org/enterprise stable mainwhere username and password are the DataStax account credentials from your registration confirmation email.
If necessary, add the DataStax repository key to your aptitude trusted
$ curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
On each node, run the following command:
$ sudo apt-get update $ sudo apt-get install dse-full
Compare the new and old version of the cassandra.yaml file
and other property files that may have changed in /etc/dse
After installing the upgrade, a backup of the
cassandra.yaml is created in the
/etc/dse/cassandra directory. Use this copy to compare
the two configurations and make appropriate changes.
Diff the following configuration files:
- The cassandra.yaml from the old installation
- The new DSE 3.0 cassandra.yaml
Merge the versions by hand from the old
cassandra.yaml into the new DSE 3.0
Don't add snitch settings from the old file to the new file. The new default snitch in the cassandra.yaml is com.datastax.bdp.snitch.DseDelegateSnitch. In previous versions, the default snitch was com.datastax.bdp.snitch.DseSimpleSnitch.
Don't copy property files from the prior release and overwrite files in the new release. Users who have attempted this have reported problems.
- Diff the following configuration files:
- Configure the snitch setting as described in Converting snitches.
- If necessary, upgrade any CQL drivers and client libraries, such as python-cql, Hector, or Pycassa that are incompatible with the new DSE version. You can download CQL drivers and client libraries from the DataStax download page.
- Run nodetool drain to flush the commit log.
Restart the node:
sudo service dse restart
- Restart client applications.