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 |
|---|---|
void |
cancel(long id)
Cancels the given job.
|
JobInfo |
getStatus(long id)
Gets the status of the given job.
|
List<Long> |
list() |
long |
run(JobConfig jobConfig)
Starts a job based on the given configuration.
|
void cancel(long id)
throws IOException
id - the job idIOExceptionJobInfo getStatus(long id) throws IOException
id - the job idIOExceptionList<Long> list() throws IOException
IOExceptionlong run(JobConfig jobConfig) throws IOException
jobConfig - the job configurationIOExceptionCopyright © 2019. All Rights Reserved.