public interface OperatorEventGateway
OperatorCoordinatoron the JobManager side.
This is the first step in the chain of sending Operator Events from Operator to Coordinator. Each layer adds further context, so that the inner layers do not need to know about the complete context, which keeps dependencies small and makes testing easier.
OperatorEventGatewaytakes the event, enriches the event with the
OperatorID, and forwards it to:
TaskOperatorEventGatewayenriches the event with the
ExecutionAttemptIDand forwards it to the:
JobMasterOperatorEventGatewaywhich is RPC interface from the TaskManager to the JobManager.
|Modifier and Type||Method and Description|
Sends the given event to the coordinator, where it will be handled by the
void sendEventToCoordinator(OperatorEvent event)
OperatorCoordinator.handleEventFromOperator(int, int, OperatorEvent)method.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.