diff --git a/ballista/scheduler/src/scheduler_server/mod.rs b/ballista/scheduler/src/scheduler_server/mod.rs index fc40b0178..d31d50319 100644 --- a/ballista/scheduler/src/scheduler_server/mod.rs +++ b/ballista/scheduler/src/scheduler_server/mod.rs @@ -63,7 +63,7 @@ pub(crate) type SessionBuilder = fn(SessionConfig) -> SessionState; pub struct SchedulerServer { pub scheduler_name: String, pub start_time: u128, - pub(crate) state: Arc>, + pub state: Arc>, pub(crate) query_stage_event_loop: EventLoop, query_stage_scheduler: Arc>, executor_termination_grace_period: u64, diff --git a/ballista/scheduler/src/state/executor_manager.rs b/ballista/scheduler/src/state/executor_manager.rs index bec97c3b7..d3a9468e7 100644 --- a/ballista/scheduler/src/state/executor_manager.rs +++ b/ballista/scheduler/src/state/executor_manager.rs @@ -90,7 +90,7 @@ pub const DEFAULT_EXECUTOR_TIMEOUT_SECONDS: u64 = 180; pub const EXPIRE_DEAD_EXECUTOR_INTERVAL_SECS: u64 = 15; #[derive(Clone)] -pub(crate) struct ExecutorManager { +pub struct ExecutorManager { // executor slot policy slots_policy: SlotsPolicy, task_distribution: TaskDistribution, diff --git a/ballista/scheduler/src/state/mod.rs b/ballista/scheduler/src/state/mod.rs index 17b1a4fb3..0ecba0d72 100644 --- a/ballista/scheduler/src/state/mod.rs +++ b/ballista/scheduler/src/state/mod.rs @@ -85,8 +85,7 @@ pub fn encode_protobuf(msg: &T) -> Result> { } #[derive(Clone)] -pub(super) struct SchedulerState -{ +pub struct SchedulerState { pub executor_manager: ExecutorManager, pub task_manager: TaskManager, pub session_manager: SessionManager,