Official source and binary releases, with signatures, are under "Download" on http://incubator.apache.org/cassandra/. The current stable release is 0.3.0.
0.4.0 rc2 is available here (not a direct download link; open in browser). This is a release candidate and may still undergo some changes before the final 0.4.0 release.
If you are new to Cassandra we recommend starting with the 0.4 release candidate – it fixes some important bugs, and while it may have its own regressions, 0.4's disk format is incompatible with 0.3 so you will save yourself some pain by starting with an 0.4.0 release candidate now and upgrading to the final release soon.
svn checkout https://svn.apache.org/repos/asf/incubator/cassandra/trunk cassandra-trunk
ant
(optional: ant test
)
Note: JDK 1.6 is required. If you get an error like "class file has wrong version 50.0, should be 49.0" then ant is using 1.5 instead. This seems to be a particular pain point for people on OS X. If you've kept up with Apple's updates, Java 6 should already be installed (it comes in Mac OS X 10.5 Update 1). Unfortunately, Apple does not default to using it. What you have to do is change your JAVA_HOME
environment setting to /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
and add /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin
to the beginning of your PATH
.
Please do not run trunk unless you intend to pay attention to the development process.* The reason it's not part of a stable release yet is it's not stable.
*By following the -dev and -commits mailing lists, or svn log
at the least.
conf/storage-conf.xml
to your satisfaction. By default it will run on localhost and use /var/lib/cassandra
for data and logs (so create that directory and chown it appropriately if you want to keep things there). If you use a different log and data directory you'll probably also want to edit the log4j log location in conf/log4j.properties.bin/cassandra
to start (-f
to start in foreground.)conf/storage-conf.xml
:
bin/nodeprobe -host X ring
where X is each machine in your cluster to make sure all the nodes see each other
To install on Debian or Debian derivatives, use the following sources:
deb http://www.apache.org/dist/incubator/cassandra/debian cassandra/ deb-src http://www.apache.org/dist/incubator/cassandra/debian cassandra/ |
Some things to be aware of:
/var/log/cassandra
/etc/cassandra
/etc/default/cassandra
conf/log4j.properties
. by default, even in background mode it will log some things to stdout as it starts up. you can take out the stdout appender if this bugs you, and/or turn the default level from DEBUG down to INFO.https://c.statcounter.com/9397521/0/fe557aad/1/|stats