- 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
================================================================================ | |
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
XML: /home/aboudreault/dev/usergrid-python/nosetests.xml | |
Name Stmts Miss Branch BrMiss Cover Missing | |
----------------------------------------------------------------- | |
usergrid 8 0 0 0 100% | |
usergrid.clients 26 17 6 6 28% 23-30, 37-50, 59, 63-65 | |
usergrid.exceptions 16 2 0 0 88% 41, 44 | |
usergrid.rest 29 3 2 0 90% 61-62, 85 | |
usergrid.sessions 74 0 16 1 99% | |
----------------------------------------------------------------- | |
TOTAL 153 22 24 7 84% |
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
edxapp@precise64:~/edx-platform$ python manage.py lms test --settings=test common/djangoapps/course_groups/tests/ | |
Traceback (most recent call last): | |
File "manage.py", line 90, in <module> | |
startup = importlib.import_module(edx_args.startup) | |
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module | |
__import__(name) | |
File "/edx/app/edxapp/edx-platform/lms/startup.py", line 8, in <module> | |
settings.INSTALLED_APPS # pylint: disable=W0104 | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/functional.py", line 184, in inner | |
self._setup() |
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
[2014-12-04 09:21:14,640] Starting repair command #1, repairing keyspace r1 with repair options (parallelism: parallel, primary range: false, incremental: true, job threads: 1, ColumnFamilies: [], dataCenters: [], hosts: [], # of ranges: 3) | |
[2014-12-04 09:21:54,392] Repair session cdf7e4b0-7bc0-11e4-a109-b56034537865 for range (6917529027641081856,-9223372036854775808] finished | |
[2014-12-04 09:21:59,145] Repair session cdf94440-7bc0-11e4-a109-b56034537865 for range (2305843009213693952,4611686018427387904] finished | |
[2014-12-04 09:22:00,321] Repair session cdf96b50-7bc0-11e4-a109-b56034537865 for range (4611686018427387904,6917529027641081856] finished | |
[2014-12-04 09:22:00,374] Repair command #1 finished in 45 seconds | |
[2014-12-04 09:22:00,389] Nothing to repair for keyspace 'system' | |
[2014-12-04 09:22:00,394] Starting repair command #2, repairing keyspace system_traces with repair options (parallelism: parallel, primary range: false, incremental: true, job threads: 1, ColumnFamilies: [], dataCenters: [], hosts: |
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
{ | |
"revisions": [ | |
{ | |
"label": "C* cassandra-2.2 - Single disk", | |
"revision": "apache/cassandra-2.2", | |
"yaml": "cluster_name: 'Test Cluster'\nmemtable_flush_writers: 6\ncommitlog_directory: /mnt/data1/commitlog\ndata_file_directories:\n - /mnt/data2/data", | |
"env": "JVM_OPTS=\"$JVM_OPTS -Xms8192M\"\nJVM_OPTS=\"$JVM_OPTS -Xmx8192M\"\nJVM_OPTS=\"$JVM_OPTS -Xmn2048M\"", | |
"java_home": "~/fab/jvms/jdk1.7.0_72" | |
}, | |
{ |
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
self.prepare() | |
self.node2.stop() | |
self.cursor1.execute(""" | |
INSERT INTO ttl_table (key, col1) VALUES (1, 1) USING TTL 5; | |
""") | |
self.cursor1.execute(""" | |
INSERT INTO ttl_table (key, col1) VALUES (2, 2); | |
""") | |
assert_all( | |
self.cursor1, |
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
def test_test(self): | |
self.prepare() | |
self.node2.stop() | |
self.cursor1.execute(""" | |
INSERT INTO ttl_table (key, col1) VALUES (1, 1); | |
""") | |
self.cursor1.execute(""" | |
INSERT INTO ttl_table (key, col1) VALUES (2, 2); | |
""") |
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
def run_python_script(script): | |
fab_append("pyscript.py", textwrap.dedent(script)) | |
fab.run("python ~/pyscript.py") | |
#### fab output | |
[172.17.0.85] Executing task 'run_python_script' │te | |
[172.17.0.85] run: echo ' │st | |
from cstar_perf.frontend.server.model import Model │_c | |
db = Model() │lu |
OlderNewer