public interface HadoopJob
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupStagingDirectory()
Cleans up the job staging directory.
|
void |
cleanupTaskEnvironment(HadoopTaskInfo info)
Cleans up local environment of the task.
|
void |
dispose(boolean external)
Release all the resources.
|
HadoopTaskContext |
getTaskContext(HadoopTaskInfo info)
Returns context for task execution.
|
HadoopJobId |
id()
Gets job ID.
|
String |
igniteWorkDirectory() |
HadoopJobInfo |
info()
Gets job information.
|
void |
initialize(boolean external,
UUID locNodeId)
Does all the needed initialization for the job.
|
Collection<HadoopInputSplit> |
input()
Gets collection of input splits for this job.
|
void |
prepareTaskEnvironment(HadoopTaskInfo info)
Prepare local environment for the task.
|
HadoopJobId id()
HadoopJobInfo info()
Collection<HadoopInputSplit> input() throws IgniteCheckedException
IgniteCheckedExceptionHadoopTaskContext getTaskContext(HadoopTaskInfo info) throws IgniteCheckedException
info - Task info.IgniteCheckedException - If failed.void initialize(boolean external,
UUID locNodeId)
throws IgniteCheckedException
If job is running in external mode this method will be called on instance in Ignite node with parameter
false and on instance in external process with parameter true.
external - If true then this job instance resides in external process.locNodeId - Local node ID.IgniteCheckedException - If failed.void dispose(boolean external)
throws IgniteCheckedException
If job is running in external mode this method will be called on instance in Ignite node with parameter
false and on instance in external process with parameter true.
external - If true then this job instance resides in external process.IgniteCheckedException - If failed.void prepareTaskEnvironment(HadoopTaskInfo info) throws IgniteCheckedException
info - Task info.IgniteCheckedException - If failed.void cleanupTaskEnvironment(HadoopTaskInfo info) throws IgniteCheckedException
info - Task info.IgniteCheckedException - If failed.void cleanupStagingDirectory()
String igniteWorkDirectory()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016