Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
f074782e
Commit
f074782e
authored
9 years ago
by
Robert J. Moore
Browse files
Options
Downloads
Patches
Plain Diff
[accumulo] README.md for the Accumulo Binding.
parent
19e3d270
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
accumulo/README.md
+101
-0
101 additions, 0 deletions
accumulo/README.md
with
101 additions
and
0 deletions
accumulo/README.md
0 → 100644
+
101
−
0
View file @
f074782e
<!--
Copyright (c) 2015 YCSB contributors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You
may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License. See accompanying
LICENSE file.
-->
## Quick Start
This section describes how to run YCSB on
[
Accumulo
](
https://accumulo.apache.org/
)
.
### 1. Start Accumulo
See the
[
Accumulo Documentation
](
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_installation
)
for details on installing and running Accumulo.
Before running the YCSB test you must create the Accumulo table. Again see the
[
Accumulo Documentation
](
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_basic_administration
)
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
](
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_connecting
)
.
-
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
](
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_connecting
)
.
-
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment