KEYIN - input key typeVALUEIN - input value typeKEYOUT - output key typeVALUEOUT - output value typepublic abstract class ReducerWithRuntimeResource<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
extends org.apache.hadoop.mapreduce.Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
RuntimeResources.| Constructor and Description |
|---|
ReducerWithRuntimeResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
run(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
runInternal(org.apache.hadoop.mapreduce.Reducer.Context context)
Invokes {code Reducer#run(Context)} internally.
|
protected void runInternal(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
run method.context - current contextIOException - if task is failed by I/O errorInterruptedException - if task execution is interruptedpublic final void run(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
run in class org.apache.hadoop.mapreduce.Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>IOExceptionInterruptedExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.