public static class BtJob.OuterProductCombiner extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Writable,SparseRowBlockWritable,org.apache.hadoop.io.Writable,SparseRowBlockWritable>
| Modifier and Type | Field and Description |
|---|---|
protected SparseRowBlockWritable |
accum |
protected int |
blockHeight |
protected Deque<Closeable> |
closeables |
| Constructor and Description |
|---|
OuterProductCombiner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
reduce(org.apache.hadoop.io.Writable key,
Iterable<SparseRowBlockWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected final SparseRowBlockWritable accum
protected int blockHeight
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Writable,SparseRowBlockWritable,org.apache.hadoop.io.Writable,SparseRowBlockWritable>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.Writable key,
Iterable<SparseRowBlockWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Writable,SparseRowBlockWritable,org.apache.hadoop.io.Writable,SparseRowBlockWritable>IOExceptionInterruptedExceptionprotected void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Writable,SparseRowBlockWritable,org.apache.hadoop.io.Writable,SparseRowBlockWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.