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(long workerId,
List<TaskInfo> 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, 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(long workerId, List<TaskInfo> taskInfoList) throws AlluxioException, IOException
workerId
- the worker idtaskInfoList
- the list of the task informationAlluxioException
- if an Alluxio error occursIOException
- if an I/O error occursCopyright © 2023. All Rights Reserved.