public interface ClusterController extends AutoCloseableAsync
Modifier and Type | Method and Description |
---|---|
JobController |
submitJob(JobSubmission job)
Submits the given job to the cluster.
|
void |
submitSQLJob(SQLJobSubmission job)
Submits the given SQL job to the cluster.
|
close, closeAsync
JobController submitJob(JobSubmission job) throws IOException
job
- job to submitIOException
void submitSQLJob(SQLJobSubmission job) throws IOException
job
- job to submit.IOException
- if any IO error happen.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.