milenkovicm commented on PR #1568:
URL: 
https://github.com/apache/datafusion-ballista/pull/1568#issuecomment-4311773894

   you may need job state notifications:
   
   ```rust
   cluster.job_state().job_state_events()
   ```
   and / or custom task distribution policy 
   
   ```rust
   let config: SchedulerConfig = SchedulerConfig {
     // custom task distribution policy which can decide task allocations 
     task_distribution: 
ballista_scheduler::config::TaskDistributionPolicy::Custom(Arc::new(LocationAwarePolicy::new()),
     ..Default::default()
   };
   ```
   
   both of API are not perfect 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to