Cassandra Cluster Manager (CCM) is a tool to create and destroy Apache Cassandra clusters for testing purposes. Use this tag for specific question about the tool or questions about cluster created by the tool (that can differ from a production layout).
Questions tagged [ccm]
32 questions
0
votes
1 answer
Unable to launch "Python cqlsh" - ValueError: RE flag setting not allowed in SaferScanner lexicon (0b110010)
Cassandra Version 2.1.1
Python Version 3.8
Using CCM to run 3 virtual Cassandra nodes on a single machine.
While running cqlsh : Getting the below stack trace.
C:\Users\manjr\.ccm\repository\2.1.1\bin>python cqlsh
cqlsh:491: SyntaxWarning: "is not"…

Sarang Manjrekar
- 1,839
- 5
- 31
- 61
0
votes
0 answers
Experiencing token configuration exceptions when restart cassandra node
Recently I restart one of the cassandra node (which is a seed node) and got following errors, the weird thing is that previously I start the cluster with token set to be 256, now I'm getting a "cannot change token from 512 to 256" error.
DEBUG…

disccip
- 573
- 3
- 5
- 15
0
votes
0 answers
reading large chunks of data from CCM nodes from python script leads to nodes getting shut down
I have a CCM cluster of 3 nodes. I am writing and reading data to it through a python script. I can write all the data (small or large) easily. When I am reading large chunks of data from a python script, the nodes get shut down. When trying it from…

Divyansh Pal
- 1
- 1
0
votes
1 answer
SCCM 1606 & ADK 1607
So l’m kind new to SCCM’s OSD and I’ve been assigned to do an upgrade for Windows 7 workstation to Windows 10 v1703.
I read online that the maximum ADK supported by SCCM 1606 is v1607, lucky I also read some posts online saying that it worked fine…

Amani
- 39
- 6
0
votes
1 answer
YAMLLOADWARNING when use ccm in ubuntu
when I use the 'ccm start' command, I encounter the following warning !
Why this error occurs ؟
/home/pc/.local/lib/python2.7/site-packages/ccmlib/cluster_factory.py:22: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as…

Mohammad eng
- 21
- 4
0
votes
0 answers
how to use ccmlib in scala/play application
My scala/play application uses cassandra database. I want to unit-test the database services. I believe I can use ccm tool to create a cluster locally. I am able to do so following the instruction at…

Manu Chadha
- 15,555
- 19
- 91
- 184
0
votes
2 answers
Why is nodetool not running on my ccm cluster?
im using ccm to learn some cassandra, im trying to use ccm node1 nodetool status and run into this error:
Traceback (most recent call last): File
"/usr/local/Cellar/ccm/3.1.4_1/libexec/bin/ccm", line 105, in
cmd.run() File…

ConscriptMR
- 656
- 1
- 7
- 16
0
votes
1 answer
How to execute ccm cqlsh commands like INSERT ,CREATE and SEELCT inside shell script?
Wanted to execute few commands independently like CREATE, INSERT and SELECT inside shell script i.e., makefile.sh.
Example:-
cqlsh "CREATE ;"
cqlsh "INSERT ;"
cqlsh "SELECT ;"
Is there any way to do so??

Gajendra Tiwari
- 5
- 2
- 5
0
votes
0 answers
Issue of CCM with Different version of Cassandra
Cassandra clustrer 2.2.9 is working fine with CCM but when I created a cluster with 3.7 its throwing following error:
C:\Users\Admin>ccm start
Started: node1 with pid: 4844
Started: node3 with pid: 4060
Started: node2 with pid: 2172
Started: node4…

theone
- 113
- 1
- 5
0
votes
1 answer
Seeing escape characters in cqlsh
When typing commands in cqlsh, almost all keys are not escaped. For example, arrow keys produce:
cqlsh> ^[[C^[[C^[[D^[[D^[[C^[[C^[[D^[[D
Escape produces:
cqlsh> ^[^[^[^[^[
etc.
I did some digging and some people are saying that it's because the…

elimist3
- 125
- 1
- 6
0
votes
1 answer
CCM Cassandra create error
I am getting HTTP 404 error regardless of C* version I choose. I tried,
$ ccm create test -v 3.0
$ ccm create test -v 2.1
In both cases I get the error,
16:42:23,601 ccm WARNING Downloading 2.1 failed, trying to build from git instead.
The error…

SBC
- 125
- 2
- 11
0
votes
1 answer
Cassandra Replication setup
I'am working with Cassandra 3.9 . I have some doubts like I'am currently having 2 physical machines and want to have data stored the best possible way :-
1) Either in a distributed order on both machines.
2) The other way to store complete data on 1…

jAi
- 115
- 1
- 14
0
votes
1 answer
Can CCM create command use a locally installed version?
I'm trying to create a Cassandra Cluster locally on a single Windows 64 bit machine and followed these instructions.
I already have Cassandra 3.7 locally installed and was assuming there'd be a way to make use of the same installation through ccm.…

Divs
- 1,578
- 2
- 24
- 51
0
votes
0 answers
UnicodeDecodeError when trying to install cassandra ccm
I tried to install Cassandra ccm on Linux (Arch Linux 2015.02), using pip install ccm, but got the following errors:
Collecting ccm
Using cached ccm-2.1.11.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call…

daiyue
- 7,196
- 25
- 82
- 149
0
votes
3 answers
Error creating cluster with version 3.4
I'm trying to create a cluster with version 3.4, but it keeps giving me an error. The strange thing is that if I try to do it with version 2.1.5 for example, everything runs smoothly.
So for instance if I try to create a cluster with ccm create -v…

Pedro Gordo
- 1,825
- 3
- 21
- 45