public static class ABtJob.QRReducer extends org.apache.hadoop.mapreduce.Reducer<SplitPartitionedWritable,SparseRowBlockWritable,SplitPartitionedWritable,VectorWritable>
| Modifier and Type | Field and Description |
|---|---|
protected SparseRowBlockWritable |
accum |
protected int |
blockHeight |
protected int |
lastTaskId |
protected org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Writable,DenseBlockWritable> |
qhatCollector |
protected QRFirstStep |
qr |
protected org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Writable,VectorWritable> |
rhatCollector |
| Constructor and Description |
|---|
QRReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
reduce(SplitPartitionedWritable key,
Iterable<SparseRowBlockWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setupBlock(org.apache.hadoop.mapreduce.Reducer.Context context,
SplitPartitionedWritable spw) |
protected final SparseRowBlockWritable accum
protected int blockHeight
protected int lastTaskId
protected org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Writable,DenseBlockWritable> qhatCollector
protected org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Writable,VectorWritable> rhatCollector
protected QRFirstStep qr
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<SplitPartitionedWritable,SparseRowBlockWritable,SplitPartitionedWritable,VectorWritable>IOExceptionInterruptedExceptionprotected void setupBlock(org.apache.hadoop.mapreduce.Reducer.Context context,
SplitPartitionedWritable spw)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionprotected void reduce(SplitPartitionedWritable key, Iterable<SparseRowBlockWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<SplitPartitionedWritable,SparseRowBlockWritable,SplitPartitionedWritable,VectorWritable>IOExceptionInterruptedExceptionprotected void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Reducer<SplitPartitionedWritable,SparseRowBlockWritable,SplitPartitionedWritable,VectorWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.