Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
8f57b1ac
Commit
8f57b1ac
authored
6 years ago
by
isuntsov
Committed by
Sean Busbey
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ignite] fix Ignite README.md. (#1215)
* clarify steps and remove specific YCSB / ignite version numbers * closes #1213
parent
51320479
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
ignite/README.md
+29
-9
29 additions, 9 deletions
ignite/README.md
with
29 additions
and
9 deletions
ignite/README.md
+
29
−
9
View file @
8f57b1ac
...
...
@@ -30,20 +30,37 @@ Git clone YCSB and compile:
### 2. Start Apache Ignite
1.
1 Download latest binary
[
Apache Ignite release
](
https://ignite.apache.org/download.cgi#binaries
)
1.
2 Start ignite nodes using apache-ignite-fabric-2.6.0-bin/bin/
**ignite.sh**
ignite.xml
1.
2 Copy Ignite configs:
cp YCSB/ignite/resources/ignite.xml path/to/apache-ignite-fabric-
**ignite_version**
-bin
cp YCSB/ignite/resources/ignite-sql.xml path/to/apache-ignite-fabric-
**ignite_version**
-bin
1.
3 Copy YCSB/ignite/target/ignite-binding-0.16.0-SNAPSHOT.jar to apache-ignite-fabric-2.6.0-bin/libs
NOTE: Pay attention that some parameters such us
**
**_storagePath_****, ****_walPath_****, ****_walArchivePath_**
**
should be overwritten by certain pathes. Also please add ip addresses of your host(s) inside the bean
**
**_TcpDiscoveryVmIpFinder_**
**
1.
3 Copy ignite-binding-
**YCSB version**
-SNAPSHOT.jar to Ignite libs:
cp YCSB/ignite/target/ignite-binding-
**YCSB_version**
-SNAPSHOT.jar path/to/apache-ignite-fabric-
**ignite_version**
-bin/libs
Note: Please use YCSB/ignite/resources/
**ignite.xml**
for running
**IgniteClient**
tests and
**ignite-sql.xml**
for
**IgniteSqlClient**
tests. Pay attention that some parameters such us
**storagePath**
,
**
**_walPath_****, ****_walArchivePath_**
**
should be overwritten by certain pathes. Also please add ip addresses of your host inside the bean
**TcpDiscoveryVmIpFinder**
**IgniteSqlClient**
tests.
More information about Apache Ignite WAL (Write Ahead Log): https://apacheignite.readme.io/docs/write-ahead-log
1.
4 Start ignite nodes:
cd path/to/apache-ignite-fabric-
**ignite_version**
-bin
bin/
**ignite.sh**
ignite.xml
or
bin/**ignite.sh** ignite-sql.xml
### 3. Load Data and Run Tests
Load the data:
.bin/ycsb load ignite -p hosts="10.0.0.1"
cd path/to/YCSB
bin/ycsb load ignite -p hosts="10.0.0.1"
-s -P workloads/workloada \
-threads 4 \
-p operationcount=100000 \
...
...
@@ -51,20 +68,23 @@ Load the data:
> outputload.txt
Note: '10.0.0.1' is ip address of one of hosts where was started Apache Ignite nodes.
Run the workload test with ignite:
.bin/ycsb run ignite -p hosts="10.0.0.1"
cd path/to/YCSB
bin/ycsb run ignite -p hosts="10.0.0.1"
-s -P workloads/workloada \
-threads 4 \
-p operationcount=100000 \
-p recordcount=100000 \
> output
load
.txt
> output
-ignite
.txt
Run the workload test with ignite-sql:
.bin/ycsb run ignite-sql -p hosts="10.0.0.1"
cd path/to/YCSB
bin/ycsb run ignite-sql -p hosts="10.0.0.1"
-s -P workloads/workloada \
-threads 4 \
-p operationcount=100000 \
-p recordcount=100000 \
> output
load
.txt
> output
-ignite-sql
.txt
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