public interface JobMasterClient extends Client
| Modifier and Type | Interface and Description |
|---|---|
static class |
JobMasterClient.Factory
Factory for
JobMasterClient. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<JobCommand> |
heartbeat(JobWorkerHealth jobWorkerHealth,
java.util.List<JobInfo> taskInfoList)
Periodic heartbeats to update the tasks' status from a worker, and returns the commands.
|
long |
registerWorker(WorkerNetAddress address)
Returns a worker id for a workers net address.
|
connect, disconnect, getAddress, getConfAddress, isClosed, isConnectedlong registerWorker(WorkerNetAddress address) throws java.io.IOException, ConnectionFailedException
address - the net address to get a worker id forConnectionFailedException - if network connection failedjava.io.IOException - if an I/O error occursjava.util.List<JobCommand> heartbeat(JobWorkerHealth jobWorkerHealth, java.util.List<JobInfo> taskInfoList) throws AlluxioException, java.io.IOException
jobWorkerHealth - the job worker infotaskInfoList - the list of the task informationAlluxioException - if an Alluxio error occursjava.io.IOException - if an I/O error occursCopyright © 2022. All Rights Reserved.