1. Start the cassandra:
a). in conf/storage-conf.xml , make sure that the paths exist for CommitLogDirectory and DataFileDirectories.
b). in conf/log4j.properties and make sure that directories exist for the configured log file(s) as well.
c). change the ListenAddress to you host ip and ThriftAddress to 0.0.0.0, in conf/storage-conf.xml.
d). change the seed to one or more host IPs.
e). "bin/cassandra " to start
2. To solve the problem:
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
Change the JAVA_OPTS in bin/cassandra.in.sh to use the "-Xms128M \ -Xmx256M \".
3. To manage the cassandra:
use the bin/cassandra-cli command line.
转载于:https://www.cnblogs.com/dikanggu/archive/2010/09/26/1835366.html