public interface JobMasterClient
extends alluxio.Client
| Modifier and Type | Interface and Description |
|---|---|
static class |
JobMasterClient.Factory
Factory for
JobMasterClient. |
| Modifier and Type | Method and Description |
|---|---|
List<alluxio.grpc.JobCommand> |
heartbeat(long workerId,
List<alluxio.grpc.TaskInfo> taskInfoList)
Periodic heartbeats to update the tasks' status from a worker, and returns the commands.
|
long |
registerWorker(alluxio.wire.WorkerNetAddress address)
Returns a worker id for a workers net address.
|
long registerWorker(alluxio.wire.WorkerNetAddress address)
throws IOException,
alluxio.exception.ConnectionFailedException
address - the net address to get a worker id foralluxio.exception.ConnectionFailedException - if network connection failedIOException - if an I/O error occursList<alluxio.grpc.JobCommand> heartbeat(long workerId, List<alluxio.grpc.TaskInfo> taskInfoList) throws alluxio.exception.AlluxioException, IOException
workerId - the worker idtaskInfoList - the list of the task informationalluxio.exception.AlluxioException - if an Alluxio error occursIOException - if an I/O error occursCopyright © 2019. All Rights Reserved.