Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Recent YCSB++ usage

Copy link to this message
RE: Recent YCSB++ usage

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 com.yahoo.ycsb.Client -load -db com.yahoo.ycsb.db.AccumuloClient -P acc.properties -p workload=com.yahoo.ycsb.workloads.CoreWorkload
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 com.yahoo.ycsb.Client -t -db com.yahoo.ycsb.db.AccumuloClient -threads 50 -P acc.properties -P workloads/workloade >workload50e300
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 (https://github.com/MiloPolte/YCSB) 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++.