Announcing RPMs for Cassandra
Apache Cassandra has long had support for debian packaging in its tree, but users of RPM-based distributions such as Red Hat Enterprise Linux or Fedora have had to roll their own packages or use a binary tarball. Riptano wants Cassandra to be easy for everyone to use and manage, so we’re pleased to announce contributing RPM builds of Apache Cassandra to the community.
To get started with these packges, follow these simple steps:
- Choose your operating system and architecture at http://rpm.riptano.com/ and download the correct riptano-release RPM, which will install the Riptano repository. If you are unsure of which OS you have, you can look in /etc/redhat-release, and uname -m will tell you the machine’s architecture. Both RHEL and Fedora are supported.
- Install the package by running (as root) rpm -ivh riptano-release*.rpm
- Once the repository is installed, installing Cassandra is as simple as running ‘yum install cassandra’. After the Cassandra installation has completed, you can edit /usr/share/cassandra/cassandra.in.sh to adjust JVM options (for instance, to give Cassandra more memory) and the main configuration will be in /etc/cassandra/storage-conf.xml. For a more detailed explanation of storage-conf.xml tuning, refer to StorageConfiguration on the wiki.
- Now that Cassandra is installed and configured, you can start it by running /etc/init.d/cassandra start. If you’d like Cassandra to automatically start on boot, run chkconfig cassandra on.
We hope that these packages will make life easier for those on RPM-based disributions and that you will enjoy using them.

If you’re running on Amazon EC2, the Amazon sponsored AMI uses Fedora Core 8 – the RPM’s still have missing dependencies. FYI!
Frank you can yum upgrade to a supported release. Definitely will be issues along the way.
Frank you can yum upgrade to a supported release. Which I have done on EC2
Any plans to have RPMs for 0.7 version?
We will provide 0.7 RPMs starting with the release candidate.
RC1 RPMs are now available. This is *not* an “upgrade” from the 0.6 RPMs. See below for details.
Notes:
- if you have 0.6.x RPMs installed, do not even attempt this on a production cluster until you fully understand the ramifications
- the name for the 0.7.x series will be “cassandra07″ to avoid conflicts with upgrade/update from 0.6.x
- the RPM itself conflicts with the 0.6 package so you must uninstall the 0.6 RPM first (it will leave your data and existing configurations intact)
- you must load/convert your schema to yaml. See NEWS.txt in the release (http://goo.gl/cCabD) for details
riptano-release-5-1.fc14.noarch.rpm defaults to fc 12…. Try this:
File: /etc/yum.repos.d/riptano.repo
[riptano]
name=Riptano Repo for Fedora $releasever – $basearch
baseurl=http://rpm.riptano.com/Fedora/$releasever
failovermethod=priority
enabled=1
gpgcheck=0
Thanks for pointing this out – I’ll push out the update shortly.