public class MultiOutputFormat.MultiOutputCommitter
extends org.apache.hadoop.mapreduce.OutputCommitter
Constructor and Description |
---|
MultiOutputFormat.MultiOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
void |
abortJob(org.apache.hadoop.mapreduce.JobContext jobContext,
org.apache.hadoop.mapreduce.JobStatus.State state) |
void |
abortTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) |
void |
commitJob(org.apache.hadoop.mapreduce.JobContext jobContext) |
void |
commitTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) |
boolean |
needsTaskCommit(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) |
void |
setupJob(org.apache.hadoop.mapreduce.JobContext jobContext) |
void |
setupTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) |
public MultiOutputFormat.MultiOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
IOException
InterruptedException
public void setupJob(org.apache.hadoop.mapreduce.JobContext jobContext) throws IOException
setupJob
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
public void setupTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) throws IOException
setupTask
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
public boolean needsTaskCommit(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) throws IOException
needsTaskCommit
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
public void commitTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) throws IOException
commitTask
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
public void abortTask(org.apache.hadoop.mapreduce.TaskAttemptContext taskContext) throws IOException
abortTask
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
public void commitJob(org.apache.hadoop.mapreduce.JobContext jobContext) throws IOException
commitJob
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
public void abortJob(org.apache.hadoop.mapreduce.JobContext jobContext, org.apache.hadoop.mapreduce.JobStatus.State state) throws IOException
abortJob
in class org.apache.hadoop.mapreduce.OutputCommitter
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.