This is an automated email from the ASF dual-hosted git repository.

nju_yaho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-ballista.git


The following commit(s) were added to refs/heads/master by this push:
     new c20f3205 Update config spec, make the values of optional parameters 
more explicit (#216)
c20f3205 is described below

commit c20f3205037588716060f667de3867772d25aeb3
Author: r.4ntix <[email protected]>
AuthorDate: Thu Sep 15 21:49:12 2022 +0800

    Update config spec, make the values of optional parameters more explicit 
(#216)
---
 ballista/rust/executor/executor_config_spec.toml   | 3 +--
 ballista/rust/scheduler/scheduler_config_spec.toml | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ballista/rust/executor/executor_config_spec.toml 
b/ballista/rust/executor/executor_config_spec.toml
index bbad37a8..686d6acd 100644
--- a/ballista/rust/executor/executor_config_spec.toml
+++ b/ballista/rust/executor/executor_config_spec.toml
@@ -76,7 +76,7 @@ doc = "Max concurrent tasks."
 abbr = "s"
 name = "task_scheduling_policy"
 type = "ballista_core::config::TaskSchedulingPolicy"
-doc = "The task scheduing policy for the scheduler, see 
TaskSchedulingPolicy::variants() for options. Default: PullStaged"
+doc = "The task scheduing policy for the scheduler, possible values: 
pull-staged, push-staged. Default: pull-staged"
 default = "ballista_core::config::TaskSchedulingPolicy::PullStaged"
 
 [[param]]
@@ -119,4 +119,3 @@ name = "log_level_setting"
 type = "String"
 doc = "special log level for sub mod. link: 
https://docs.rs/env_logger/latest/env_logger/#enabling-logging. For example we 
want whole level is INFO but datafusion mode is DEBUG"
 default = "std::string::String::from(\"INFO,datafusion=INFO\")"
-
diff --git a/ballista/rust/scheduler/scheduler_config_spec.toml 
b/ballista/rust/scheduler/scheduler_config_spec.toml
index c57225e9..6ec78103 100644
--- a/ballista/rust/scheduler/scheduler_config_spec.toml
+++ b/ballista/rust/scheduler/scheduler_config_spec.toml
@@ -28,7 +28,7 @@ doc = "Print version of this executable"
 abbr = "b"
 name = "config_backend"
 type = "ballista_scheduler::state::backend::StateBackend"
-doc = "The configuration backend for the scheduler, see 
StateBackend::variants() for options. Default: Standalone"
+doc = "The configuration backend for the scheduler, possible values: etcd, 
standalone. Default: standalone"
 default = "ballista_scheduler::state::backend::StateBackend::Standalone"
 
 [[param]]
@@ -69,7 +69,7 @@ doc = "bind port. Default: 50050"
 abbr = "s"
 name = "scheduler_policy"
 type = "ballista_core::config::TaskSchedulingPolicy"
-doc = "The scheduing policy for the scheduler, see 
TaskSchedulingPolicy::variants() for options. Default: PullStaged"
+doc = "The scheduing policy for the scheduler, possible values: pull-staged, 
push-staged. Default: pull-staged"
 default = "ballista_core::config::TaskSchedulingPolicy::PullStaged"
 
 [[param]]

Reply via email to