public interface JobManagerProtocol extends VersionedProtocol
| Modifier and Type | Method and Description |
|---|---|
RegisterTaskManagerResult |
registerTaskManager(InstanceConnectionInfo instanceConnectionInfo,
HardwareDescription hardwareDescription,
IntegerRecord numberOfSlots)
Registers a task manager at the JobManager.
|
void |
sendHeartbeat(InstanceConnectionInfo instanceConnectionInfo)
Sends a heart beat to the job manager.
|
void |
updateTaskExecutionState(TaskExecutionState taskExecutionState)
Reports an update of a task's execution state to the job manager.
|
void sendHeartbeat(InstanceConnectionInfo instanceConnectionInfo) throws IOException
instanceConnectionInfo - the information the job manager requires to connect to the instance's task managerIOException - thrown if an error occurs during this remote procedure callRegisterTaskManagerResult registerTaskManager(InstanceConnectionInfo instanceConnectionInfo, HardwareDescription hardwareDescription, IntegerRecord 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.IOExceptionvoid updateTaskExecutionState(TaskExecutionState taskExecutionState) throws IOException
taskExecutionState - the new task execution stateIOException - thrown if an error occurs during this remote procedure callCopyright © 2014 The Apache Software Foundation. All rights reserved.