зеркало из https://github.com/Azure/YCSB.git
012e48fffb
The Accumulo tests don't properly initialize their mini cluster on windows, so skip the tests entirely in that environment. closes #617 |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
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.