wynot12 commented on a change in pull request #203: [NEMO-360] Implementing an
'XGBoostPolicy'
URL: https://github.com/apache/incubator-nemo/pull/203#discussion_r267227868
##########
File path: runtime/common/src/main/proto/ControlMessage.proto
##########
@@ -23,37 +23,43 @@ package protobuf;
option java_package = "org.apache.nemo.runtime.common.comm";
option java_outer_classname = "ControlMessage";
+// Messages from client to driver
enum ClientToDriverMessageType {
LaunchDAG = 0;
DriverShutdown = 1;
+ Notification = 2;
}
message ClientToDriverMessage {
required ClientToDriverMessageType type = 1;
optional LaunchDAGMessage launchDAG = 2;
+ optional string message = 3;
}
message LaunchDAGMessage {
required string dag = 1;
optional bytes broadcastVars = 2;
}
-message DataCollectMessage {
- required string data = 1;
-}
-
+// Messages from driver to client
enum DriverToClientMessageType {
DriverStarted = 0;
DriverReady = 1;
DataCollected = 2;
ExecutionDone = 3;
+ LaunchXGBoostScript = 4;
}
message DriverToClientMessage {
required DriverToClientMessageType type = 1;
optional DataCollectMessage dataCollected = 2;
}
+message DataCollectMessage {
+ required string data = 1;
+}
+
+
Review comment:
redundant line
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services