Skip to content

Sonnbc/riakycsb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riakycsb

  1. git pull
  2. export the code to riakycsb.jar. You may need some library jars file. Download them here: https://www.dropbox.com/sh/x51gvnrsegqwiqo/SXXErjpdyQ
  3. To run ycsb with riak client:

java -cp path/to/ycsb/core/lib/core-0.1.4.jar:/path/to/riakycsb/lib/*:/path/to/riakycsb/riakycsb.jar com.yahoo.ycsb.Client -load -db com.son.riakycsb.RiakClient -P workloads/workloada -s -p hosts="127.0.0.1:10018,127.0.0.1:10028,127.0.0.1:10038"

For example: java -cp /opt/ycsb-0.1.4/core/lib/core-0.1.4.jar:/Users/son/Projects/riakycsb/lib/*:/Users/son/Projects/riakycsb/riakycsb.jar com.yahoo.ycsb.Client -load -db com.son.riakycsb.RiakClient -P workloads/workloada -s -p hosts="127.0.0.1:10018,127.0.0.1:10028,127.0.0.1:10038"

the command above will execute the -load phase. To execute the transaction phase, use -t instead

hosts is the list of addresses and ports of the servers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages