accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranjan Sen <>
Subject RE: Recent YCSB++ usage
Date Fri, 14 Dec 2012 00:01:16 GMT

I have used it to some extent. The doc is more or less the same as for YCSB. But i had to
test out few things before being able to run the client.  Below are some of my notes. 
you need to build the ycsb*.jar using ant using clean dbcompile-accumulo. This will be placed
in the build subdirectory. You will need to put the log4j and slf4j jars there as well.  the
workloads are similar to what was in YCSB. The CoreWorkload class is main workload but the
workloads directory has a few parameters that customizes it. The way one runs the tests is
first by loading a table by the name "usertable" (which you need to create manually before
running the tests). The command for loading is 
java -cp build/ycsb.jar:build/log4j-1.2.16.jar:build/log4j-over-slf4j-1.7.2.jar:build/slf4j-api-1.7.2.jar:$CLASSPATH -load -db -P -p
After this you may run transactions using the -t switch as follows
java -cp build/ycsb.jar:build/log4j-1.2.16.jar:build/slf4j-jdk14.jar:$CLASSPATH
-t -db -threads 50 -P -P workloads/workloade
This is using 50 threads in the client and running the workloade from the workloads directory.

the default buffer is 10000 bytes. You can change it using -p accumulo.batchWriterSize="100000"
 for example to make it 100KB 
Date: Thu, 13 Dec 2012 16:57:57 -0500
Subject: Recent YCSB++ usage

Has anyone used the YCSB++ client from this ( repo with
recent Accumulo builds?
Does anyone have decent documentation for it? I've been digging around and haven't found anything
that actually describes how to invoke the new features in ycsb++.

View raw message