-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial RPC implementation for Spark/Flink.
- Loading branch information
1 parent
301717f
commit c6fe9ee
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// ERDOS Scheduler RPC Service. | ||
// This service is aimed for systems to schedule tasks by exploiting the | ||
// scheduler backends and the Simulator types available in ERDOS. | ||
|
||
syntax = "proto3"; | ||
|
||
package erdos; | ||
|
||
// The `SchedulerService` is the main service for scheduling tasks. | ||
service SchedulerService { | ||
// Registers a new framework with the backend scheduler. | ||
// This is the entry point for a new instance of Spark / Flink to register | ||
// itself with the backend scheduler, and is intended as an EHLO. | ||
rpc RegisterFramework(RegisterFrameworkRequest) returns (RegisterFrameworkResponse) {} | ||
} | ||
|
||
message RegisterFrameworkRequest { | ||
string framework_name = 1; | ||
string framework_id = 2; | ||
} | ||
|
||
message RegisterFrameworkResponse { | ||
string framework_id = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
grpcio | ||
grpcio-tools |