@Public public interface FinalizeOnMaster
OutputFormat
s to have the master finalize them
globally.Modifier and Type | Interface and Description |
---|---|
static interface |
FinalizeOnMaster.FinalizationContext
A context that provides parallelism and finished attempts infos.
|
Modifier and Type | Method and Description |
---|---|
default void |
finalizeGlobal(FinalizeOnMaster.FinalizationContext context)
The method is invoked on the master (JobManager) after all (parallel) instances of an
OutputFormat finished.
|
default void |
finalizeGlobal(int parallelism)
Deprecated.
Use
finalizeGlobal(FinalizationContext) instead. |
@Deprecated default void finalizeGlobal(int parallelism) throws IOException
finalizeGlobal(FinalizationContext)
instead.parallelism
- The parallelism with which the format or functions was run.IOException
- The finalization may throw exceptions, which may cause the job to abort.default void finalizeGlobal(FinalizeOnMaster.FinalizationContext context) throws IOException
context
- The context to get finalization infos.IOException
- The finalization may throw exceptions, which may cause the job to abort.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.