public class IterationTailPactTask<S extends Function,OT> extends AbstractIterativePactTask<S,OT> implements PactTaskContext<S,OT>
IterationHeadPactTask via
a BackChannel for the workset -OR- a HashTable for the solution set. Therefore this
task must be scheduled on the same instance as the head. It's also possible for the tail to update *both* the workset
and the solution set.
If there is a separate solution set tail, the iteration head has to make sure to wait for it to finish.isSolutionSetUpdate, isWorksetIteration, isWorksetUpdate, worksetAggregator, worksetBackChannelbroadcastInputIterators, broadcastInputReaders, broadcastInputSerializers, chainedTasks, config, driver, eventualOutputs, inputComparators, inputIterators, inputReaders, inputs, inputSerializers, iterativeBroadcastInputs, iterativeInputs, localStrategies, LOG, output, resettableInputs, running, runtimeUdfContext, stub, tempBarriers, userCodeClassLoader| Constructor and Description |
|---|
IterationTailPactTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initialize() |
void |
run() |
brokerKey, cancel, closeLocalStrategiesAndCaches, createRuntimeContext, createSolutionSetUpdateOutputCollector, createWorksetUpdateOutputCollector, createWorksetUpdateOutputCollector, currentIteration, getIterationAggregators, incrementIterationCounter, inFirstIteration, requestTermination, terminationRequested, verifyEndOfSuperstepStatecancelChainedTasks, closeChainedTasks, closeUserCode, constructLogString, createInputIterator, excludeFromReset, formatLogString, getInput, getInputComparator, getInputSerializer, getIOManager, getLastOutputCollector, getLastTasksConfig, getMemoryManager, getNumTaskInputs, getOutputCollector, getOutputCollector, getOwningNepheleTask, getStub, getTaskConfig, getUserCodeClassLoader, initBroadcastInputReaders, initBroadcastInputsSerializers, initInputReaders, initInputsSerializersAndComparators, initLocalStrategies, initOutputs, initOutputs, initOutputWriters, initStub, instantiateUserCode, invoke, logAndThrowException, openChainedTasks, openUserCode, readAndSetBroadcastInput, registerInputOutput, reportAndClearAccumulators, resetAllInputs, setLastOutputCollector, setUserCodeClassLoadergetCurrentNumberOfSubtasks, getEnvironment, getIndexInSubtaskGroup, getJobConfiguration, getTaskConfiguration, setEnvironment, userThreadFinished, userThreadStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatLogString, getInput, getInputComparator, getInputSerializer, getIOManager, getMemoryManager, getOutputCollector, getOwningNepheleTask, getStub, getTaskConfig, getUserCodeClassLoaderprotected void initialize()
throws Exception
initialize in class AbstractIterativePactTask<S extends Function,OT>ExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.