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
5652511c
Commit
5652511c
authored
9 years ago
by
Swapnil Bawaskar
Browse files
Options
Downloads
Patches
Plain Diff
Adding instructions for running with Geode
parent
c8ef6b92
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geode/README.md
+72
-0
72 additions, 0 deletions
geode/README.md
with
72 additions
and
0 deletions
geode/README.md
0 → 100644
+
72
−
0
View file @
5652511c
<!--
Copyright (c) 2014 - 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 Apache Geode (incubating).
### Get Apache Geode
You can clone Geode source from apache or the github mirror and build
```
$ git clone https://github.com/apache/incubator-geode
$ cd incubator-geode
$ ./gradlew build installDist
```
You can also get the latest release (once it is available) from
http://geode.incubator.apache.org/download/
#### Start Geode Cluster
Use the Geode shell (gfsh) to start the cluster. You will need to start
at-least one locator which is a member discovery service and one or more
Geode servers.
Launch gfsh:
```
$ cd gemfire-assembly/build/install/apache-geode
$ ./bin/gfsh
```
Start a locator and two servers:
```
gfsh> start locator --name=locator1
gfsh> start server --name=server1 --server-port=40404
gfsh> start server --name=server2 --server-port=40405
```
Create the "usertable" region required by YCSB driver:
```
gfsh>create region --name=usertable --type=PARTITION
```
gfsh has tab autocompletion, so you can play around with various options.
### Start YCSB workload
From your YCSB directory, you can run the ycsb workload as follows
`./bin/ycsb load geode -P workloads/workloada -p geode.locator=host[port]`
In the default mode, ycsb geode driver will connect as a client to the geode
cluster. To make the ycsb driver a peer member of the distributed system
use the property
`-p geode.topology=p2p -p geode.locator=host[port]`
Note:
For update workloads, please use the property
`-p writeallfields=true`
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