public abstract class HadoopV1Task extends HadoopTask
| Modifier | Constructor and Description |
|---|---|
protected |
HadoopV1Task(HadoopTaskInfo taskInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected HadoopV1OutputCollector |
collector(JobConf jobConf,
HadoopV2TaskContext taskCtx,
boolean directWrite,
String fileName,
TaskAttemptID attempt) |
String |
fileName()
Gets file name for that task result.
|
boolean |
isCancelled()
Returns true if task is cancelled.
|
info, runprotected HadoopV1Task(HadoopTaskInfo taskInfo)
taskInfo - Task info.public String fileName()
protected HadoopV1OutputCollector collector(JobConf jobConf, HadoopV2TaskContext taskCtx, boolean directWrite, @Nullable String fileName, TaskAttemptID attempt) throws IOException
jobConf - Job configuration.taskCtx - Task context.directWrite - Direct write flag.fileName - File name.attempt - Attempt of task.IOException - In case of IO exception.public void cancel()
cancel in class HadoopTaskpublic boolean isCancelled()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019