You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by cc...@apache.org on 2023/12/11 23:52:13 UTC
(yunikorn-scheduler-interface) branch master updated: [YUNIKORN-2233] Scheduler core cannot be stopped properly (#114)
This is an automated email from the ASF dual-hosted git repository.
ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-scheduler-interface.git
The following commit(s) were added to refs/heads/master by this push:
new ec7bfad [YUNIKORN-2233] Scheduler core cannot be stopped properly (#114)
ec7bfad is described below
commit ec7bfad7d00e1d2511f66c0e7e041c757cebff4f
Author: Peter Bacsko <pb...@cloudera.com>
AuthorDate: Mon Dec 11 17:52:04 2023 -0600
[YUNIKORN-2233] Scheduler core cannot be stopped properly (#114)
Add a Stop() method the SchedulerAPI interface.
Closes: #114
Signed-off-by: Craig Condit <cc...@apache.org>
---
lib/go/api/interface.go | 3 +++
scheduler-interface-spec.md | 3 +++
2 files changed, 6 insertions(+)
diff --git a/lib/go/api/interface.go b/lib/go/api/interface.go
index d6fde11..de21212 100644
--- a/lib/go/api/interface.go
+++ b/lib/go/api/interface.go
@@ -34,6 +34,9 @@ type SchedulerAPI interface {
// Notify scheduler to reload configuration and hot-refresh in-memory state based on configuration changes
UpdateConfiguration(request *si.UpdateConfigurationRequest) error
+
+ // Stops the scheduler API service
+ Stop()
}
// RM side needs to implement this API
diff --git a/scheduler-interface-spec.md b/scheduler-interface-spec.md
index beda3c4..4644754 100644
--- a/scheduler-interface-spec.md
+++ b/scheduler-interface-spec.md
@@ -143,6 +143,9 @@ type SchedulerAPI interface {
// Notify scheduler to reload configuration and hot-refresh in-memory state based on configuration changes
UpdateConfiguration(request *si.UpdateConfigurationRequest) error
+
+ // Stops the scheduler API service
+ Stop()
}
// RM side needs to implement this API
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org