public abstract class HadoopTaskExecutorAdapter extends HadoopComponent
ctx, log| Constructor and Description |
|---|
HadoopTaskExecutorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cancelTasks(HadoopJobId jobId)
Cancels all currently running tasks for given job ID and cancels scheduled execution of tasks
for this job ID.
|
abstract void |
onJobStateChanged(HadoopJobMetadata meta)
On job state change callback;
|
abstract void |
run(HadoopJobEx job,
Collection<HadoopTaskInfo> tasks)
Runs tasks.
|
onKernalStart, onKernalStop, start, stoppublic abstract void run(HadoopJobEx job, Collection<HadoopTaskInfo> tasks) throws IgniteCheckedException
job - Job.tasks - Tasks.IgniteCheckedException - If failed.public abstract void cancelTasks(HadoopJobId jobId) throws IgniteCheckedException
It is guaranteed that this method will not be called concurrently with
run(HadoopJobEx, Collection) method. No more job submissions will be performed via
run(HadoopJobEx, Collection) method for given job ID after this method is called.
jobId - Job ID to cancel.IgniteCheckedExceptionpublic abstract void onJobStateChanged(HadoopJobMetadata meta) throws IgniteCheckedException
meta - Job metadata.IgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019