Category Archives: Database

install cassandra (Database)

What is Cassandra?
The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure make it the perfect platform for mission-critical data. Cassandra’s support for replicating across multiple datacenters is best-in-class, providing lower latency for your users and the peace of mind of knowing that you can survive regional outages.

install cassandra (Database)

Reference : http://cassandra.apache.org/

Remark : 安裝 JDK 8, Python 2.7.x
(** JDK 9 above version, no java virtual machine, Python 3.x.x above version syntax error )

install cassandra (Database)

install cassandra (Database)

Create Directory :
C:\apache-cassandra-3.11.4\data
C:\apache-cassandra-3.11.4\commitlog
C:\apache-cassandra-3.11.4\saved_caches

Edit File :
C:\apache-cassandra-3.11.4\conf\cassandra.yaml

# data_file_directories:
#     - /var/lib/cassandra/data
data_file_directories:
- C:\apache-cassandra-3.11.4\data

# commitlog_directory: /var/lib/cassandra/commitlog
commitlog_directory: C:\apache-cassandra-3.11.4\commitlog

# saved_caches_directory: /var/lib/cassandra/saved_caches
saved_caches_directory: C:\apache-cassandra-3.11.4\saved_caches

Run Databases Service :
C:\apache-cassandra-3.11.4\bin\cassandra

Check Database connect command :
nodetool status

Open New Command Prompt :
C:\apache-cassandra-3.11.4\bin\cqlsh