From fdf41ad509ddc63e9bbd422768eff9810dea4da4 Mon Sep 17 00:00:00 2001 From: rdettai Date: Tue, 6 Jul 2021 19:45:20 +0200 Subject: [PATCH] [fix] benchmark run with compose (#666) --- benchmarks/README.md | 2 +- benchmarks/docker-compose.yaml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/benchmarks/README.md b/benchmarks/README.md index 0b5ccfc16e46..a63761b6c2b3 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -140,7 +140,7 @@ docker-compose up Then you can run the benchmark with: ```bash -docker-compose run ballista-client cargo run benchmark ballista --host ballista-scheduler --port 50050 --query 1 --path /data --format tbl +docker-compose run ballista-client bash -c '/tpch benchmark ballista --host ballista-scheduler --port 50050 --query 1 --path /data --format tbl' ``` ## Expected output diff --git a/benchmarks/docker-compose.yaml b/benchmarks/docker-compose.yaml index 74c6703f30b1..e025ea360e76 100644 --- a/benchmarks/docker-compose.yaml +++ b/benchmarks/docker-compose.yaml @@ -41,12 +41,10 @@ services: ballista-client: image: ballista:0.5.0-SNAPSHOT command: "/bin/sh" # do nothing - working_dir: /ballista/benchmarks/tpch environment: - RUST_LOG=info volumes: - ./data:/data - - ../..:/ballista depends_on: - ballista-scheduler - ballista-executor