From 986c26c249ffba0af4d2c3606523466b45ec9c3c Mon Sep 17 00:00:00 2001 From: Remo Andreoli Date: Thu, 16 Jan 2025 17:42:36 +0100 Subject: [PATCH] Explained in README how to solve the "Running against a source checkout [...]" warning The fix is discussed and addressed in issue #335, #336 and #962, to name a few, but it was never properly explained within the README. This should save some Googling time for a few people --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index dbce002dde..68dcc4788a 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,17 @@ To build a single database binding: mvn -pl site.ycsb:mongodb-binding -am clean package +**NOTE**: Executing YCSB from the `bin` folder after building a single database binding will generate the following warning: +``` +[WARN] Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds +``` +To save 30 seconds every time you run YCSB, use the files contained in `/target/ycsb-*.tar.gz` (generated during the database binding build process). For instance: +```console + cd mongodb/target/ + tar -xvzf ycsb-mongodb-binding-0.18.0-SNAPSHOT.tar.gz + cd ycsb-mongodb-binding-0.18.0-SNAPSHOT/ && ./bin/ycsb load mongodb -s -P workloads/workloada -p mongodb.url=mongodb://localhost:27017/ycsb?w=0 +``` + Running multiple instances and latency percentiles --------------------------------------------------