You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "BokarevNik (via GitHub)" <gi...@apache.org> on 2023/04/30 16:25:54 UTC

[GitHub] [arrow-ballista] BokarevNik opened a new issue, #765: Bug with initialising ClusterStorageConfig

BokarevNik opened a new issue, #765:
URL: https://github.com/apache/arrow-ballista/issues/765

   **Describe the bug**
   Currently cluster_storage created only for Memory, and etcd and sled options are ignored
   ```rust
       let config = SchedulerConfig {
           namespace: opt.namespace,
           external_host: opt.external_host,
           bind_port: opt.bind_port,
           scheduling_policy: opt.scheduler_policy,
           event_loop_buffer_size: opt.event_loop_buffer_size,
           task_distribution: opt.task_distribution,
           finished_job_data_clean_up_interval_seconds: opt
               .finished_job_data_clean_up_interval_seconds,
           finished_job_state_clean_up_interval_seconds: opt
               .finished_job_state_clean_up_interval_seconds,
           advertise_flight_sql_endpoint: opt.advertise_flight_sql_endpoint,
           cluster_storage: ClusterStorageConfig::Memory,
           job_resubmit_interval_ms: (opt.job_resubmit_interval_ms > 0)
               .then_some(opt.job_resubmit_interval_ms),
           executor_termination_grace_period: opt.executor_termination_grace_period,
           scheduler_event_expected_processing_duration: opt
               .scheduler_event_expected_processing_duration,
       };
   
       let cluster = BallistaCluster::new_from_config(&config).await?;
   
       start_server(cluster, addr, config).await?;
       Ok(())
   ```
   
   **To Reproduce**
   For example,
   ```
   cargo run --bin ballista-scheduler -- --cluster-backend sled --sled-dir ./tmp
   ```
   
   There will be memory storage backend created and  no such line in logs
   ```
   2023-04-30T16:16:54.203599Z  INFO main ThreadId(01) ballista_scheduler::cluster: Initializing Sled database in temp directory 
   ```
   
   **Expected behavior**
   Expected to initialize etcd and sled
   
   **Additional context**
   I submitted pull request
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-ballista] BokarevNik commented on issue #765: Bug with initialising ClusterStorageConfig

Posted by "BokarevNik (via GitHub)" <gi...@apache.org>.
BokarevNik commented on issue #765:
URL: https://github.com/apache/arrow-ballista/issues/765#issuecomment-1529068511

   https://github.com/apache/arrow-ballista/pull/766


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-ballista] Ted-Jiang closed issue #765: Bug with initialising ClusterStorageConfig

Posted by "Ted-Jiang (via GitHub)" <gi...@apache.org>.
Ted-Jiang closed issue #765: Bug with initialising ClusterStorageConfig
URL: https://github.com/apache/arrow-ballista/issues/765


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org