You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ag...@apache.org on 2022/05/02 23:37:49 UTC
[arrow-datafusion] branch master updated: docs: Update the Ballista dev env instructions (#2419)
This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 55fce434b docs: Update the Ballista dev env instructions (#2419)
55fce434b is described below
commit 55fce434ba13431caebc6ead55f6abb38536be48
Author: Hao Xin <ha...@qq.com>
AuthorDate: Tue May 3 07:37:45 2022 +0800
docs: Update the Ballista dev env instructions (#2419)
---
ballista/docs/dev-env.md | 14 +++++++++++++-
ballista/ui/scheduler/README.md | 12 +++---------
2 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/ballista/docs/dev-env.md b/ballista/docs/dev-env.md
index f02d156d1..1c8605a06 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 following
command works.
```bash
sudo apt-get install pkg-config libssl-dev
```
+For MacOS users, the following command works.
+
+```bash
+brew install openssl@1.1
+```
+
## Install CMake
You'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
```bash
sudo 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.md
index 3fee499ea..9f93143bb 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 --release
Finished 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 start
Starting the development server...
```