From 842560b0faca9bfe7c1221f5ae9deb68c6b84987 Mon Sep 17 00:00:00 2001 From: Asya Kamsky <asya999@gmail.com> Date: Thu, 26 Dec 2013 11:51:23 -0800 Subject: [PATCH] Update mongodb/README.md with more specific info Changed reference to original forked repo which is not maintained to this repo to avoid conflicting instructions. Might want to do that for top level README as well. --- mongodb/README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/mongodb/README.md b/mongodb/README.md index 9d2b0fb7..9e2597d8 100644 --- a/mongodb/README.md +++ b/mongodb/README.md @@ -1,6 +1,6 @@ ## Quick Start -This section describes how to run YCSB on MongoDB running locally. +This section describes how to run YCSB on MongoDB. ### 1. Start MongoDB @@ -13,7 +13,10 @@ on x86-64 Linux box: cd mongodb-linux-x86_64-* ./bin/mongod --dbpath /tmp/mongodb -### 2. Install Maven and Java +Replace x.x.x above with the latest stable release version for MongoDB. +See http://docs.mongodb.org/manual/installation/ for installation steps for various operating systems. + +### 2. Install Java and Maven Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html @@ -46,21 +49,22 @@ Reload bash and test mvn ### 3. Set Up YCSB -Clone the YCSB git repository and compile: +Download the YCSB zip file and compile: - git clone git://github.com/brianfrankcooper/YCSB.git - cd YCSB - mvn clean package + wget https://github.com/achille/YCSB/archive/master.zip + unzip master + cd YCSB-master + mvn -pl com.yahoo.ycsb:core,com.yahoo.ycsb:mongodb-binding clean package ### 4. Run YCSB Now you are ready to run! First, load the data: - ./bin/ycsb load mongodb -s -P workloads/workloada + ./bin/ycsb load mongodb -s -P workloads/workloada > outputLoad.txt Then, run the workload: - ./bin/ycsb run mongodb -s -P workloads/workloada + ./bin/ycsb run mongodb -s -P workloads/workloada > outputRun.txt See the next section for the list of configuration parameters for MongoDB. -- GitLab