public interface JobManagerProtocol extends ServiceDiscoveryProtocol
| Modifier and Type | Method and Description |
|---|---|
InstanceID |
registerTaskManager(InstanceConnectionInfo instanceConnectionInfo,
HardwareDescription hardwareDescription,
int numberOfSlots)
Registers a task manager at the JobManager.
|
boolean |
sendHeartbeat(InstanceID taskManagerId)
Sends a heart beat to the job manager.
|
boolean |
updateTaskExecutionState(TaskExecutionState taskExecutionState)
Reports an update of a task's execution state to the job manager.
|
getBlobServerPortboolean sendHeartbeat(InstanceID taskManagerId) throws IOException
taskManagerId - The ID identifying the task manager.IOException - Thrown if an error occurs during this remote procedure call.InstanceID registerTaskManager(InstanceConnectionInfo instanceConnectionInfo, HardwareDescription hardwareDescription, int numberOfSlots) throws IOException
instanceConnectionInfo - the information the job manager requires to connect to the instance's task managerhardwareDescription - a hardware description with details on the instance's compute resources.numberOfSlots - The number of task slots that the TaskManager provides.IOExceptionboolean updateTaskExecutionState(TaskExecutionState taskExecutionState) throws IOException
taskExecutionState - The new task execution state.IOException - Thrown, if an error occurs during this remote procedure callCopyright © 2015 The Apache Software Foundation. All rights reserved.