YCSB/accumulo
Chrisjan Matser d4e3f60c29 [version] update master to 0.9.0-SNAPSHOT. 2016-04-01 21:58:48 -07:00
..
src [accumulo] don't run Accumulo tests on windows build. 2016-02-22 10:43:34 -06:00
README.md [accumulo] remove unused accumulo-specific distributed shared-work system. 2016-01-24 03:34:25 -06:00
pom.xml [version] update master to 0.9.0-SNAPSHOT. 2016-04-01 21:58:48 -07:00

README.md

Quick Start

This section describes how to run YCSB on Accumulo.

1. Start Accumulo

See the Accumulo Documentation for details on installing and running Accumulo.

Before running the YCSB test you must create the Accumulo table. Again see the Accumulo Documentation for details. The default table name is ycsb.

2. Set Up YCSB

Git clone YCSB and compile:

git clone http://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn -pl com.yahoo.ycsb:aerospike-binding -am clean package

3. Load Data and Run Tests

Load the data:

./bin/ycsb load accumulo -s -P workloads/workloada \
     -p accumulo.zooKeepers=localhost \
     -p accumulo.columnFamily=ycsb \
     -p accumulo.instanceName=ycsb \
     -p accumulo.username=user \
     -p accumulo.password=supersecret \
     > outputLoad.txt

Run the workload test:

./bin/ycsb run accumulo -s -P workloads/workloada  \
     -p accumulo.zooKeepers=localhost \
     -p accumulo.columnFamily=ycsb \
     -p accumulo.instanceName=ycsb \
     -p accumulo.username=user \
     -p accumulo.password=supersecret \
     > outputLoad.txt

Accumulo Configuration Parameters

  • accumulo.zooKeepers

    • The Accumulo cluster's zookeeper servers.
    • Should contain a comma separated list of of hostname or hostname:port values.
    • No default value.
  • accumulo.columnFamily

    • The name of the column family to use to store the data within the table.
    • No default value.
  • accumulo.instanceName

    • Name of the Accumulo instance.
    • No default value.
  • accumulo.username

    • The username to use when connecting to Accumulo.
    • No default value.
  • accumulo.password

    • The password for the user connecting to Accumulo.
    • No default value.