download from http://cassandra.apache.org/download
please use version 1.0.12, do not use version 1.1 now, the production version of the Hector client Api used in Mainspring currently does not support it
- File name: conf/cassandra.yaml
To do: change the value for following directories to a valid path:
- data_file_directories
- commitlog_directory
- saved_caches_directory
File name: conf/log4j.properties
- To do: edit the path to the system log if needed:
- entry log4j.appender.R.File
further configuration hints at http://wiki.apache.org/cassandra/GettingStarted
MS Windows
- go to cassandra\bin and start cassandra with cassandra.bat
Unix/Linux
- go to cassandra/bin and start cassandra with ./cassandra -f
Start Cassandra:
cassandra.batIn a a separate window start Cassandra CLI:
cassandra-cli -h localhostExecute following commands:
- create keyspace cs
with placement_strategy = 'org.apache.cassandra.locator.OldNetworkTopologyStrategy'
and strategy_options = {replication_factor:1};- quit;
enter hg clone http://hg.code.sf.net/p/m2mlabs/mainspring
build and deploy in Netbeans