Skip to content

Instantly share code, notes, and snippets.

View aboudreault's full-sized avatar

Alan Boudreault aboudreault

View GitHub Profile
$ ccm node1 nodetool compactionstats
pending tasks: 1
id compaction type keyspace table completed total unit progress
992ee1f0-4da4-11e5-a1be-b13ed399e1ba Compaction perftesting users 2351106100 11207935044 bytes 20.98%
Active compaction remaining time : 0h00m42s
$ ccm node1 nodetool compactionstats
pending tasks: 1
id compaction type keyspace table completed total unit progress
992ee1f0-4da4-11e5-a1be-b13ed399e1ba Compaction perftesting users 456452405 11207935044 bytes 4.07%
Active compaction remaining time : 0h00m51s
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%
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()
[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:
{
"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"
},
{
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,
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);
""")
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
[INFO] Total time: 1.039s
[INFO] Finished at: Tue Aug 18 02:44:31 UTC 2015
[INFO] Final Memory: 10M/452M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project mvbench: Compilation failure -> [Help
1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile)
on project mvbench: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)