Affichage des articles dont le libellé est cassandra. Afficher tous les articles
Affichage des articles dont le libellé est cassandra. Afficher tous les articles
2/29/2016

Give a try and bench ScyllaDB (Cassandra-compatible C++ db, 10x faster) with two lines of docker

I'm currently very interested by the ScyllaDB project as it announce a database that is "fully compatible with Apache Cassandra at 10x the throughput and jaw dropping low latency". Scylla is coded in C++ (so no garbage collection) and the team behind it seems quite awesome, so why not after all.
If like me you would like to give a quick try to ScyllaDB, here is two docker lines that will start ScyllaDB and run a benchmark over it:


Please note that running ScyllaDB inside a virtual box VM on MacOSX is not the best idea to grasp what it's capable of, however here is the result I got:

[Update] A little precision by Pekka Enberg: "Please remember that the Docker image is not optimized so performance isn't all that great. That's because Scylla needs a filesystem that supports AIO/DIO properly and the only one to do that is XFS at the moment."

2/23/2014

Cassandra: ReflectionException: Signature mismatch for operation forceRepairAsync

When running nodetool -h somewherelse you may encounter the above exception:
This exception was thrown because there is a Cassandra version mismatch between from where you ran this command and the Cassandra version installed on somewhereelse. The installed version can be verified with: So the solution is simply to install the same Cassandra version on both node.
9/19/2013

How to fix "Could not find or load main class org.apache.cassandra.tools.NodeCmd"

After upgrading Cassandra from 1.2.9 to 2.0 and Java from 1.6 to 1.7 (because Cassandra 2.0 does not work with Java 1.6 anymore), I got the following error while running nodetool: Could not find or load main class org.apache.cassandra.tools.NodeCmd
I could not find anything so here is a quick fix: nano `which nodetool`
/* replace */
for include in "`dirname "$0"`/cassandra.in.sh" \
/* with */
for include in "$HOME/.cassandra.in.sh" \

And then nodetool should work like a charm.

Update: The same trick works when cassandra-cli throws Error: Could not find or load main class org.apache.cassandra.cli.CliMain
»
 
 
Made with on a hot august night from an airplane the 19th of March 2017.