Apache DataFusion SQL Query Engine
Remove namespace from executors (#75)
Ximo Guanteraf4c05d77ef2
diff --git a/ballista/rust/executor/executor_config_spec.toml b/ballista/rust/executor/executor_config_spec.tomlindex f7c2f037a5..2a7c96bde3 100644--- a/ballista/rust/executor/executor_config_spec.toml+++ b/ballista/rust/executor/executor_config_spec.toml@@ -24,13 +24,6 @@ conf_file_param = "config_file"name = "version"doc = "Print version of this executable"-[[param]]-abbr = "n"-name = "namespace"-type = "String"-doc = "Namespace for the ballista cluster that this executor will join. yippee"-default = "std::string::String::from(\"ballista\")"-[[param]]name = "scheduler_host"type = "String"diff --git a/ballista/rust/executor/src/main.rs b/ballista/rust/executor/src/main.rsindex e620fa4503..9c8d466add 100644--- a/ballista/rust/executor/src/main.rs+++ b/ballista/rust/executor/src/main.rs@@ -70,7 +70,6 @@ async fn main() -> Result<()> {std::process::exit(0);}- let namespace = opt.namespace;let external_host = opt.external_host;let bind_host = opt.bind_host;let port = opt.port;@@ -115,8 +114,10 @@ async fn main() -> Result<()> {.context("Could not create standalone config backend")?,};- let server =- SchedulerGrpcServer::new(SchedulerServer::new(Arc::new(client), namespace));+ let server = SchedulerGrpcServer::new(SchedulerServer::new(+ Arc::new(client),+ "ballista".to_string(),+ ));let addr = format!("{}:{}", bind_host, scheduler_port);let addr = addr.parse()