public interface GridHadoopJob
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupStagingDirectory()
Cleans up the job staging directory.
|
void |
cleanupTaskEnvironment(GridHadoopTaskInfo info)
Cleans up local environment of the task.
|
void |
dispose(boolean external)
Release all the resources.
|
GridHadoopTaskContext |
getTaskContext(GridHadoopTaskInfo info)
Returns context for task execution.
|
GridHadoopJobId |
id()
Gets job ID.
|
GridHadoopJobInfo |
info()
Gets job information.
|
void |
initialize(boolean external,
UUID locNodeId)
Does all the needed initialization for the job.
|
Collection<GridHadoopInputSplit> |
input()
Gets collection of input splits for this job.
|
void |
prepareTaskEnvironment(GridHadoopTaskInfo info)
Prepare local environment for the task.
|
GridHadoopJobId id()
GridHadoopJobInfo info()
Collection<GridHadoopInputSplit> input() throws IgniteCheckedException
IgniteCheckedExceptionGridHadoopTaskContext getTaskContext(GridHadoopTaskInfo 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(GridHadoopTaskInfo info) throws IgniteCheckedException
info - Task info.IgniteCheckedException - If failed.void cleanupTaskEnvironment(GridHadoopTaskInfo info) throws IgniteCheckedException
info - Task info.IgniteCheckedException - If failed.void cleanupStagingDirectory()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015