public static class PigMapReduce.Reduce extends PigGenericMapReduce.Reduce
Modifier and Type | Class and Description |
---|---|
class |
PigMapReduce.Reduce.IllustratorContextImpl |
errorInReduce, initialized, log, outputCollector, pack, rp, stores
Constructor and Description |
---|
Reduce() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Reducer.Context |
getIllustratorContext(org.apache.hadoop.mapred.jobcontrol.Job job,
List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> input,
POPackage pkg)
Get reducer's illustrator context
|
POPackage |
getPack(org.apache.hadoop.mapreduce.Reducer.Context context) |
boolean |
inIllustrator(org.apache.hadoop.mapreduce.Reducer.Context context) |
cleanup, processOnePackageOutput, reduce, runPipeline, setReducePlan, setup
public org.apache.hadoop.mapreduce.Reducer.Context getIllustratorContext(org.apache.hadoop.mapred.jobcontrol.Job job, List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> input, POPackage pkg) throws IOException, InterruptedException
getIllustratorContext
in class PigGenericMapReduce.Reduce
input
- Input buffer as output by mapspkg
- packageIOException
InterruptedException
public boolean inIllustrator(org.apache.hadoop.mapreduce.Reducer.Context context)
inIllustrator
in class PigGenericMapReduce.Reduce
public POPackage getPack(org.apache.hadoop.mapreduce.Reducer.Context context)
getPack
in class PigGenericMapReduce.Reduce
Copyright © 2007-2017 The Apache Software Foundation