public class CustomOutputCommitter
extends org.apache.hadoop.mapred.OutputCommitter
Modifier and Type | Field and Description |
---|---|
static String |
JOB_ABORT_FILE_NAME |
static String |
JOB_COMMIT_FILE_NAME |
static String |
JOB_SETUP_FILE_NAME |
static String |
TASK_ABORT_FILE_NAME |
static String |
TASK_COMMIT_FILE_NAME |
static String |
TASK_SETUP_FILE_NAME |
Constructor and Description |
---|
CustomOutputCommitter() |
Modifier and Type | Method and Description |
---|---|
void |
abortJob(org.apache.hadoop.mapred.JobContext jobContext,
int status) |
void |
abortTask(org.apache.hadoop.mapred.TaskAttemptContext taskContext) |
void |
commitJob(org.apache.hadoop.mapred.JobContext jobContext) |
void |
commitTask(org.apache.hadoop.mapred.TaskAttemptContext taskContext) |
boolean |
needsTaskCommit(org.apache.hadoop.mapred.TaskAttemptContext taskContext) |
void |
setupJob(org.apache.hadoop.mapred.JobContext jobContext) |
void |
setupTask(org.apache.hadoop.mapred.TaskAttemptContext taskContext) |
abortJob, abortTask, cleanupJob, cleanupJob, commitJob, commitTask, isCommitJobRepeatable, isCommitJobRepeatable, isRecoverySupported, isRecoverySupported, isRecoverySupported, needsTaskCommit, recoverTask, recoverTask, setupJob, setupTask
public static final String JOB_SETUP_FILE_NAME
public static final String JOB_COMMIT_FILE_NAME
public static final String JOB_ABORT_FILE_NAME
public static final String TASK_SETUP_FILE_NAME
public static final String TASK_ABORT_FILE_NAME
public static final String TASK_COMMIT_FILE_NAME
public void setupJob(org.apache.hadoop.mapred.JobContext jobContext) throws IOException
setupJob
in class org.apache.hadoop.mapred.OutputCommitter
IOException
public void commitJob(org.apache.hadoop.mapred.JobContext jobContext) throws IOException
commitJob
in class org.apache.hadoop.mapred.OutputCommitter
IOException
public void abortJob(org.apache.hadoop.mapred.JobContext jobContext, int status) throws IOException
abortJob
in class org.apache.hadoop.mapred.OutputCommitter
IOException
public void setupTask(org.apache.hadoop.mapred.TaskAttemptContext taskContext) throws IOException
setupTask
in class org.apache.hadoop.mapred.OutputCommitter
IOException
public boolean needsTaskCommit(org.apache.hadoop.mapred.TaskAttemptContext taskContext) throws IOException
needsTaskCommit
in class org.apache.hadoop.mapred.OutputCommitter
IOException
public void commitTask(org.apache.hadoop.mapred.TaskAttemptContext taskContext) throws IOException
commitTask
in class org.apache.hadoop.mapred.OutputCommitter
IOException
public void abortTask(org.apache.hadoop.mapred.TaskAttemptContext taskContext) throws IOException
abortTask
in class org.apache.hadoop.mapred.OutputCommitter
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.