You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/01/11 12:48:07 UTC

[GitHub] [arrow-datafusion] alamb commented on a change in pull request #1537: Make call SchedulerServer::new once in ballista-scheduler process

alamb commented on a change in pull request #1537:
URL: https://github.com/apache/arrow-datafusion/pull/1537#discussion_r782112615



##########
File path: ballista/rust/scheduler/src/main.rs
##########
@@ -62,14 +63,18 @@ async fn start_server(
         "Ballista v{} Scheduler listening on {:?}",
         BALLISTA_VERSION, addr
     );
+    //there should be only one SchedulerServer in process

Review comment:
       I don't understand how this code ensures just one `SchedulerServer` exists per process.
   
   It seems to me what this code does is create a new `SchedulerServer` on a port that the operating system picks.




-- 
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