Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uggla/cassandracl
Cassandra cluster example
https://github.com/uggla/cassandracl
Last synced: 25 days ago
JSON representation
Cassandra cluster example
- Host: GitHub
- URL: https://github.com/uggla/cassandracl
- Owner: uggla
- License: apache-2.0
- Created: 2019-06-10T12:28:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T14:19:00.000Z (over 5 years ago)
- Last Synced: 2024-10-14T09:11:07.262Z (2 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Commands
```
root@a7ed23c9cda6:/# export JVM_OPTS="-Xmx64M -Xms64M"; nodetool status system_traces
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 188.166.28.4 317.88 KiB 256 66.8% 468bad1a-45a1-4e55-b085-4b0930d86eb8 rack1
UN 188.166.17.31 308.33 KiB 256 67.3% 8ab2281d-5e2b-4596-bbd2-ba4169ba0b10 rack1
UN 178.128.241.124 293.15 KiB 256 65.8% a1427441-a7ce-417c-bf0e-503ec9714998 rack1root@a7ed23c9cda6:/# cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.11.4 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh> SELECT * from system
system. system_auth. system_distributed. system_schema. system_traces.
cqlsh> SELECT * from system_schema.keyspaces
... ;keyspace_name | durable_writes | replication
--------------------+----------------+-------------------------------------------------------------------------------------
cycling | True | {'class': 'org.apache.cassandra.locator.SimpleStrategy', 'replication_factor': '3'}
system_auth | True | {'class': 'org.apache.cassandra.locator.SimpleStrategy', 'replication_factor': '3'}
system_schema | True | {'class': 'org.apache.cassandra.locator.LocalStrategy'}
system_distributed | True | {'class': 'org.apache.cassandra.locator.SimpleStrategy', 'replication_factor': '3'}
system | True | {'class': 'org.apache.cassandra.locator.LocalStrategy'}
system_traces | True | {'class': 'org.apache.cassandra.locator.SimpleStrategy', 'replication_factor': '2'}
```