sudo apt-get update
sudo apt-get install curl git docker.io build-essential bison flex
git submodule init
git submodule update --recursive --progress
./build.sh
./start.sh
./stop.sh
to clean out build artifacts
./clean.sh
cleans out build artifacts and all other artifacts including dockers and downloads
./clean_all.sh
NO_CLEAN_DOCKERS=1 ./clean_all.sh
Use these commands to stop services, remove all artifacts and rebuild the repo.
./stop.sh && ./clean.sh && ./build.sh
# Examples
- Initialize benchmark completely
./init.sh
- Run all benchmark queries
benchmark/src/docker-bench.py --query_range "*"
- Get help on available switches
benchmark/src/docker-bench.py --help
- Set metastore locations to be all on dc2 (helps with testing remote
python3 storage/metastore/qflock_metastore_one_location.py dc2
- Or split locations between dc2 and dc2 evenly
python3 storage/metastore/qflock_metastore_split_locations.py
- Run all benchmark queries against Qflock Remote Server
benchmark/src/docker-bench.py --query_range "*" -ext remote