How to Install Apache Cassandra on Ubuntu in Hadoop Eco – System
Apache Cassandra is a open source, distributed, NoSQL database management system designed to handle huge amount of data across in cheapest servers. It provides high availability written in JAVA for data processing.
Why should we use Apache Cassandra
Now a days Cassandra is complete NoSQL database and robust deployed by some of social networks like Facebook, Twitter, and e-commerce.
1.Cassandra supports for a wide set of data structures.
2. Scalable architecture.
3. Cassandra is High reliability
4. And Cassandra supports ACID properties.
Prerequisites for Apache Cassandra Installation :
Cassandra requires a number of installations. First we need JAVA and Python 2.7 is also mandatory
Below step by step process for Cassandra installation on Ubuntu
Step 1: Download Cassandra-2.x.x-bin.tar.gz from below website: http://cassandra.apache.org/download
First download tar ball from Cassandra official website
Step2: Extract the downloaded Tarball using below command
tar-xzvf cassandra-2.x.x-bin.tar.gz
Step 3: After that Update the CASSANDRA_HOME and PATH Variables in bashrc file
CASSANDRA_HOME=/home/slthupili/INSTALL/dsc-cassandra-2.2.8
export PATH=$PATH:$CASSANDRA_HOME/bin
Step 4: To check whether bashrc change or not, after that a open new terminal and type‘echo $CASSANDRA_HOME’ command
Step 5: After completed above settings start Cassandra Server, use below command:
cassandra
Step 6: If start with Cassandra Query Language Shell using below command:
cqlsh
Characteristics of Cassandra:
1.Cassandra is a cloumn – oriented database and fault tolerant
2. It is highly consistent and Scalable.
3. Cassandra was created at FaceBook and data model is based on Google Big Data.
Summary:
In this Apache Cassandra Installation tutorial simple steps to installations with pictures and basic knowledge on Cassandra