public interface JobMasterClient extends Client
Modifier and Type | Interface and Description |
---|---|
static class |
JobMasterClient.Factory
Factory for
JobMasterClient . |
Modifier and Type | Method and Description |
---|---|
List<JobCommand> |
heartbeat(JobWorkerHealth jobWorkerHealth,
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, getConfAddress, getRemoteHostName, getRemoteSockAddress, isClosed, isConnected
long registerWorker(WorkerNetAddress address) throws IOException, ConnectionFailedException
address
- the net address to get a worker id forConnectionFailedException
- if network connection failedIOException
- if an I/O error occursList<JobCommand> heartbeat(JobWorkerHealth jobWorkerHealth, List<JobInfo> taskInfoList) throws AlluxioException, IOException
jobWorkerHealth
- the job worker infotaskInfoList
- the list of the task informationAlluxioException
- if an Alluxio error occursIOException
- if an I/O error occursCopyright © 2023. All Rights Reserved.