public interface JobManagementProtocol extends ServiceDiscoveryProtocol
| Modifier and Type | Method and Description |
|---|---|
JobCancelResult |
cancelJob(JobID jobID)
Requests to cancel the job specified by the given ID.
|
JobProgressResult |
getJobProgress(JobID jobID)
Retrieves the current status of the job specified by the given ID.
|
IntegerRecord |
getRecommendedPollingInterval()
Returns the recommended interval in seconds in which a client
is supposed to poll for progress information.
|
JobSubmissionResult |
submitJob(JobGraph job)
Submits the specified job to the job manager.
|
getBlobServerPortJobSubmissionResult submitJob(JobGraph job) throws IOException
job - the job to be executedIOException - thrown if an error occurred while transmitting the submit requestJobProgressResult getJobProgress(JobID jobID) throws IOException
jobID - the ID of the jobJobProgressResult object including the current job progressIOException - thrown if an error occurred while transmitting the requestJobCancelResult cancelJob(JobID jobID) throws IOException
jobID - the ID of the jobJobCancelResult containing the result of the cancel requestIOException - thrown if an error occurred while transmitting the requestIntegerRecord getRecommendedPollingInterval() throws IOException
IOException - thrown if an error occurred while transmitting the requestCopyright © 2015 The Apache Software Foundation. All rights reserved.