Steps to install cassandra on Ubuntu: 1) First check which version of Java is installed by running the following command in a terminal (Oracle JRE is recommended), java -version 2) Install curl using the following command sudo apt-get install curl 3) Add the DataStax Community repository to the aptitude repository source list file (/etc/apt/sources.list). sudo …
Category: Cassandra
Permanent link to this article: https://blog.openshell.in/2015/04/how-to-install-cassandra-on-ubuntu/
May 04
How to remove dead node out of the Cassandra cluster?
This tutorial will helps you to remove unused / dead node from the cassandra cluster ring. Run the following command in console to list the cluster node ring formation. [code] nodetool -h <cluster-ip1> ring [/code] Results of the command it list details as like below: [code] Note: Ownership information does not include topology, please specify …
Permanent link to this article: https://blog.openshell.in/2013/05/how-to-remove-dead-node-out-of-the-cassandra-cluster/
Jan 15
Cassandra basic commands:
Create keyspace: create keyspace Keyspace1; Create column family: // This command is used to create column family and mention comparator, default_validation_class and key_validation_class to insert rows for undefined column. create column family column_family1 with comparator=UTF8Type and default_validation_class=UTF8Type and key_validation_class=UTF8Type; Update column family: update column family column_family1 with column_metadata = [ {column_name: first, validation_class: UTF8Type}, {column_name: …
Permanent link to this article: https://blog.openshell.in/2013/01/cassandra-basic-commands/