Apache DataFusion SQL Query Engine
docs: Update the Ballista dev env instructions (#2419)
Hao Xin55fce434ba13
diff --git a/ballista/docs/dev-env.md b/ballista/docs/dev-env.mdindex f02d156d1e..1c8605a06e 100644--- a/ballista/docs/dev-env.md+++ b/ballista/docs/dev-env.md@@ -23,13 +23,19 @@ You will need a standard Rust development environment. The easiest way to achiev## Install OpenSSL-Follow instructions for [setting up OpenSSL](https://docs.rs/openssl/0.10.28/openssl/). For Ubuntu users, the following+Follow instructions for [setting up OpenSSL](https://docs.rs/openssl/latest/openssl/). For Ubuntu users, the followingcommand works.```bashsudo apt-get install pkg-config libssl-dev```+For MacOS users, the following command works.++```bash+brew install [email protected]+```+## Install CMakeYou'll need cmake in order to compile some of ballista's dependencies. Ubuntu users can use the following command:@@ -37,3 +43,9 @@ You'll need cmake in order to compile some of ballista's dependencies. Ubuntu us```bashsudo apt-get install cmake```++MacOS users can use the following command:++```bash+brew install cmake+```diff --git a/ballista/ui/scheduler/README.md b/ballista/ui/scheduler/README.mdindex 3fee499ead..9f93143bb5 100644--- a/ballista/ui/scheduler/README.md+++ b/ballista/ui/scheduler/README.md@@ -30,9 +30,7 @@ $ cd rust/scheduler$ RUST_LOG=info cargo run --release...Finished release [optimized] target(s) in 11.92s- Running `/path-to-project/target/release/ballista-scheduler`-[2021-05-02T05:11:17Z INFO ballista_scheduler] Ballista v0.5.0-SNAPSHOT Scheduler listening on 0.0.0.0:50050-[2021-05-02T05:14:10Z INFO ballista_scheduler] Received get_executors_metadata request+ Running `/path-to-project/target/release/ballista-scheduler````and run executor in new terminal:@@ -41,9 +39,7 @@ and run executor in new terminal:$ cd rust/executor$ RUST_LOG=info cargo run --releaseFinished release [optimized] target(s) in 0.09s- Running `/path-to-project/target/release/ballista-executor`-[2021-05-02T05:11:30Z INFO ballista_executor] Running with config: ExecutorConfig { host: "localhost", port: 50051, work_dir: "/var/folders/y8/fc61kyjd4n53tn444n72rjrm0000gn/T/.tmpAZ0rn4", concurrent_tasks: 4 }-[2021-05-02T05:11:30Z INFO ballista_executor] Ballista v0.5.0-SNAPSHOT Rust Executor listening on 0.0.0.0:50051+ Running `/path-to-project/target/release/ballista-executor````### Run Client project@@ -51,9 +47,7 @@ $ RUST_LOG=info cargo run --release```shell$ cd ui/scheduler$ yarn-yarn install v1.22.10-[1/4] 🔍 Resolving packages...-...+Resolving packages...$ yarn startStarting the development server...```