@InterfaceAudience.Public
public class MROutputCommitter
extends org.apache.tez.runtime.api.OutputCommitter
OutputCommitter
and provide Map Reduce compatible
output commit operations for Map Reduce compatible data sinks.Constructor and Description |
---|
MROutputCommitter(org.apache.tez.runtime.api.OutputCommitterContext committerContext) |
Modifier and Type | Method and Description |
---|---|
void |
abortOutput(org.apache.tez.dag.api.client.VertexStatus.State finalState) |
void |
commitOutput() |
void |
initialize() |
boolean |
isTaskRecoverySupported() |
void |
recoverTask(int taskIndex,
int attemptId) |
void |
setupOutput() |
public MROutputCommitter(org.apache.tez.runtime.api.OutputCommitterContext committerContext)
public void initialize() throws IOException
initialize
in class org.apache.tez.runtime.api.OutputCommitter
IOException
public void setupOutput() throws IOException
setupOutput
in class org.apache.tez.runtime.api.OutputCommitter
IOException
public void commitOutput() throws IOException
commitOutput
in class org.apache.tez.runtime.api.OutputCommitter
IOException
public void abortOutput(org.apache.tez.dag.api.client.VertexStatus.State finalState) throws IOException
abortOutput
in class org.apache.tez.runtime.api.OutputCommitter
IOException
public boolean isTaskRecoverySupported()
isTaskRecoverySupported
in class org.apache.tez.runtime.api.OutputCommitter
public void recoverTask(int taskIndex, int attemptId) throws IOException
recoverTask
in class org.apache.tez.runtime.api.OutputCommitter
IOException
Copyright © 2024 Apache Software Foundation. All rights reserved.