This is an automated email from the ASF dual-hosted git repository.
alamb 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 9c7cd9a Add install guide in README (#236)
9c7cd9a is described below
commit 9c7cd9a3dc6cf613274918ad3734e7e0df43c31c
Author: K.I. (Dennis) Jung <[email protected]>
AuthorDate: Mon May 3 23:34:10 2021 +0900
Add install guide in README (#236)
---
ballista/ui/scheduler/README.md | 60 ++++++++++++++++++++++++-----------------
1 file changed, 36 insertions(+), 24 deletions(-)
diff --git a/ballista/ui/scheduler/README.md b/ballista/ui/scheduler/README.md
index 1a196da..90bc2bf 100644
--- a/ballista/ui/scheduler/README.md
+++ b/ballista/ui/scheduler/README.md
@@ -19,27 +19,39 @@
# Ballista UI
-
-## Available Scripts
-
-In the project directory, you can run:
-
-### `yarn start`
-
-Runs the app in the development mode.\
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
-
-The page will reload if you make edits.\
-You will also see any lint errors in the console.
-
-### `yarn test`
-
-Launches the test runner in the interactive watch mode.\
-See the section about [running
tests](https://facebook.github.io/create-react-app/docs/running-tests) for more
information.
-
-### `yarn build`
-
-Builds the app for production to the `build` folder.\
-It correctly bundles React in production mode and optimizes the build for the
best performance.
-
-The build is minified and the filenames include the hashes.
\ No newline at end of file
+## Start project from source
+
+### Run scheduler/executor
+First, run scheduler from project:
+```shell
+$ 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
+```
+
+and run executor in new terminal:
+```shell
+$ 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
+```
+
+### Run Client project
+```shell
+$ cd ui/scheduler
+$ yarn
+yarn install v1.22.10
+[1/4] 🔍 Resolving packages...
+...
+$ yarn start
+Starting the development server...
+```
+
+Now access to http://localhost:3000/