|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TezProcessorContext
Context handle for the Processor to initialize itself.
| Method Summary | |
|---|---|
boolean |
canCommit()
Check whether this attempt can commit its output |
void |
setProgress(float progress)
Set the overall progress of this Task Attempt |
void |
waitForAllInputsReady(Collection<Input> inputs)
Blocking call which returns only after all of the specified Inputs are ready for consumption. |
Input |
waitForAnyInputReady(Collection<Input> inputs)
Blocking call which returns when any of the specified Inputs is ready for consumption. |
| Methods inherited from interface org.apache.tez.runtime.api.TezTaskContext |
|---|
fatalError, getApplicationId, getCounters, getDAGAttemptNumber, getDAGName, getServiceConsumerMetaData, getServiceProviderMetaData, getTaskAttemptNumber, getTaskIndex, getTaskVertexIndex, getTaskVertexName, getTotalMemoryAvailableToTask, getUniqueIdentifier, getUserPayload, getWorkDirs, requestInitialMemory, sendEvents |
| Method Detail |
|---|
void setProgress(float progress)
progress - Progress in the range from [0.0 - 1.0f]
boolean canCommit()
throws IOException
IOException
Input waitForAnyInputReady(Collection<Input> inputs)
throws InterruptedException
inputs - the list of Inputs to monitor
InterruptedException
void waitForAllInputsReady(Collection<Input> inputs)
throws InterruptedException
inputs - the list of Inputs to monitor
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||