Skip to content

Commit

Permalink
[fix] benchmark run with compose (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai authored Jul 6, 2021
1 parent 8cbb750 commit fdf41ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdf41ad

Please sign in to comment.