|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.runtime.api.OutputCommitter
public abstract class OutputCommitter
OutputCommitter to "finalize" the output and make it user-visible if needed. The OutputCommitter is allowed only on a terminal Output.
| Constructor Summary | |
|---|---|
OutputCommitter()
|
|
| Method Summary | |
|---|---|
abstract void |
abortOutput(VertexStatus.State finalState)
For aborting an output. |
abstract void |
commitOutput()
For committing the output after successful completion of tasks that write the output. |
abstract void |
initialize(OutputCommitterContext context)
Setup up the Output committer. |
abstract void |
setupOutput()
For the framework to setup the output during initialization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputCommitter()
| Method Detail |
|---|
public abstract void initialize(OutputCommitterContext context)
throws Exception
context - Context of the output that is being acted upon
Exception
public abstract void setupOutput()
throws Exception
Exception - if setup fails
public abstract void commitOutput()
throws Exception
Exception
public abstract void abortOutput(VertexStatus.State finalState)
throws Exception
finalState - final run-state of the vertex
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||