Skip to content

Latest commit

 

History

History

accumulo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.
  • accumulo.PC_FLAG

    • Provides support for distributed clients using ZooKeeper to manage the Producers and Consumers.
    • If not set then the YCSB client will perform all work locally.
    • Allowed values are:
      • producer
      • consumer
      • Not set
    • Default value is not set.
  • accumulo.PC_SERVER

    • The set of ZooKeeper servers to use for the prioducers and consumers to communicate.
    • Should contain a comma separated list of of hostname or hostname:port values.
    • No default value.
  • accumulo.PC_ROOT_IN_ZK

    • The root node in the ZooKeepers for the producers and consumers to communicate.
    • No default value.