- ccm stop && ccm remove
- ccm create -n 2 -v binary:2.1.3 demo ## or ccm create -n 2 --install-dir=path/to/cassandra-2.1/branch demo
- ccm start
- ccm node1 stress -- write n=1000000 -schema replication(factor=2) -rate threads=50
- ccm node1 nodetool status
- ccm add -i 127.0.0.3 -j 7400 node3 # no auto-boostrap
- ccm node3 start
- ccm node1 nodetool status
- ccm node3 repair
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aboudreault@kovaro:~/git/cstar/automaton$ ctool metrics test_cluster --fetch-osm --collect-interval=10 | |
Traceback (most recent call last): | |
File "/home/aboudreault/git/cstar/automaton/bin/ctool", line 16, in <module> | |
run() | |
File "/home/aboudreault/git/cstar/automaton/automaton/ctool.py", line 3524, in run | |
sys.exit(cmd_obj.run()) | |
File "/home/aboudreault/git/cstar/automaton/automaton/ctool.py", line 2357, in run | |
collect_interval, start, "now") | |
File "/home/aboudreault/git/cstar/automaton/automaton/api/perf_monitoring.py", line 406, in export_legacy_ctool_os_metrics | |
result_map = __convert_to_legacy_format(json_original_content, cluster) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ | |
Error executing action `add` on resource 'apt_repository[ubuntugis-unstable]' | |
================================================================================ | |
RuntimeError | |
------------ | |
The repository file to create is nil, cannot continue. | |
Cookbook Trace: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ | |
Error executing action `add` on resource 'apt_repository[ubuntugis-unstable]' | |
================================================================================ | |
RuntimeError | |
------------ | |
The repository file to create is nil, cannot continue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cqlsh> COPY cstar_perf.test_artifacts_backup FROM '/tmp/test_artifacts'; | |
Error starting import process: | |
field larger than field limit (131072) | |
%d format: a number is required, not NoneType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[172.17.0.17] out: INFO:cstar_perf.model:Initializing Model... | |
[172.17.0.17] out: ERROR:cassandra.connection:Closing connection <AsyncoreConnection(140434400511248) 127.0.0.1:9042> due to protocol error: code=000a [Protocol err | |
or] message="Invalid or unsupported protocol version: 4" | |
[172.17.0.17] out: WARNING:cassandra.cluster:Downgrading core protocol version from 4 to 3 for 127.0.0.1 | |
[172.17.0.17] out: INFO:cstar_perf.model:Model initialized | |
[172.17.0.17] out: Traceback (most recent call last): | |
[172.17.0.17] out: File "pyscript.py", line 4, in <module> | |
[172.17.0.17] out: db.add_cluster('test_cluster', 22, 'test_cluster') | |
[172.17.0.17] out: File "/home/cstar/git/cstar_perf/frontend/cstar_perf/frontend/server/model.py", line 368, in add_cluster | |
[172.17.0.17] out: session.execute(self.__prepared_statements['insert_clusters'], (name, nodes, description)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aboudreault@kovaro:~/dev/cstar/mv$ ccm node3 nodetool status | |
Datacenter: datacenter1 | |
======================= | |
Status=Up/Down | |
|/ State=Normal/Leaving/Joining/Moving | |
-- Address Load Tokens Owns Host ID Rack | |
DN 127.0.0.1 123.24 KB 1 ? 318b663e-b84c-4b38-a504-12d9b4ed6180 rack1 | |
UN 127.0.0.3 126.49 KB 1 ? fc211713-e9f2-47c4-96a4-2e0b96b45fdf rack1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cluster: 'local' | |
---------------- | |
node1: UP | |
node3: DOWN | |
node2: UP | |
Cluster: 'local' | |
---------------- | |
node1: DOWN | |
node3: DOWN | |
node2: DOWN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user = db.create_user('\\''user@example.com'\\'', '\\''User Full Name'\\'', ['\\''user'\\'']) | |
db.set_user_passphrase('\\''user@example.com'\\'', '\\''user'\\'') | |
' >> "$(echo pyscript.py)" | |
[172.17.1.72] run: python pyscript.py | |
[172.17.1.72] out: INFO:cstar_perf.model:Initializing Model... | |
[172.17.1.72] out: ERROR:cassandra.connection:Closing connection <AsyncoreConnection(139748393543312) 127.0.0.1:9042> due to protocol error: code=000a [Protocol error] message="Invalid or unsupported protocol version: 4" | |
[172.17.1.72] out: WARNING:cassandra.cluster:Downgrading core protocol version from 4 to 3 for 127.0.0.1 | |
[172.17.1.72] out: INFO:cstar_perf.model:Model initialized | |
[172.17.1.72] out: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com.datastax.driver.core.exceptions.SyntaxError: line 1:20 no viable alternative at input 'WHERE' (UPDATE "users" SET [WHERE]...) | |
at com.datastax.driver.core.exceptions.SyntaxError.copy(SyntaxError.java:35) | |
at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:269) | |
at com.datastax.driver.core.AbstractSession.prepare(AbstractSession.java:98) | |
at org.apache.cassandra.stress.util.JavaDriverClient.prepare(JavaDriverClient.java:84) | |
at org.apache.cassandra.stress.StressProfile.getInsert(StressProfile.java:419) | |
at org.apache.cassandra.stress.settings.SettingsCommandUser$1.get(SettingsCommandUser.java:82) | |
at org.apache.cassandra.stress.settings.SettingsCommandUser$1.get(SettingsCommandUser.java:78) | |
at org.apache.cassandra.stress.operations.SampledOpDistributionFactory$1.get(SampledOpDistributionFactory.java:80) | |
at org.apache.cassandra.stress.StressAction$Consumer.<init>(StressAction.java |
NewerOlder