Database Reference
In-Depth Information
Installing Cassandra
Installing Cassandra is fairly easy. In this section we will cover how to set up a Cas-
sandra tarball (.tar file) installation over Windows and Linux box.
1.
Create a folder to download Cassandra tarball, for example:
Run mkdir /home/apress/Cassandra {Here apress is
user.name environment variable}
Run cd/home/apress/cassandra
2.
Download the Cassandra tarball:
Linux: wget http://archive.apache.org/dist/cas-
sandra/2.0.6/apache-cas-
sandra-2.0.6-bin.tar.gz
Windows: http://archive.apache.org/dist/cas-
sandra/2.0.6/apache-cas-
sandra-2.0.6-bin.tar.gz
3.
Extract the downloaded tar file using the appropriate method for your
platform:
For Linux, use the following command: tar- xvf apache-
cassandra-2.0.6-bin.tar.gz
For Windows, you may use tools like WinZip or 7zip to extract the
tarball.
Note If you get an “Out of memory” or segmentation fault, check for the
JAVA_HOME and JVM_OPTS parameters in cassandra-env.sh file.
Logging in Cassandra
While running an application in development or production mode, we might need to
look into server logs in certain circumstances, such as:
Search WWH ::




Custom Search