YCSB/maprdb
Rohan Jayaraj fb85b598b7 [maprdb maprjsondb] Added clients for MapR-DB and MapR-JSONDB (#1063)
* Adding MapR Binary & JSON YCSB Clients
* MapR binaries will be picked from the classpath
2018-05-11 16:04:43 -07:00
..
src/main/java/com/yahoo/ycsb/db/mapr [maprdb maprjsondb] Added clients for MapR-DB and MapR-JSONDB (#1063) 2018-05-11 16:04:43 -07:00
README.md [maprdb maprjsondb] Added clients for MapR-DB and MapR-JSONDB (#1063) 2018-05-11 16:04:43 -07:00
pom.xml [maprdb maprjsondb] Added clients for MapR-DB and MapR-JSONDB (#1063) 2018-05-11 16:04:43 -07:00

README.md

Quick Start

This section describes how to run YCSB on a MapR Cluster against MapR-DB (Binary).

1. Set Up YCSB

Clone the YCSB git repository and compile:

git clone https://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package

2. Create MapR-DB Binary Table

maprcli volume create -name tables -path /tables
maprcli table create -path /tables/myTable	
maprcli table cf create -path /tables/myTable -cfname cf0

3. Run YCSB

3.1. Load Table
./bin/ycsb load maprdb -P workloads/workloada -cp $(mapr classpath) -p table=/tables/myTable -p columnfamily=cf0
3.2. Run workload
./bin/ycsb run maprdb -P workloads/workloadb -cp $(mapr classpath) -p table=/tables/myTable -p columnfamily=cf0