public static class IndexGeneratorJob.IndexGeneratorReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>
| Modifier and Type | Field and Description |
|---|---|
protected HadoopDruidIndexerConfig |
config |
| Constructor and Description |
|---|
IndexGeneratorReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected io.druid.segment.ProgressIndicator |
makeProgressIndicator(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected File |
mergeQueryableIndex(List<io.druid.segment.QueryableIndex> indexes,
io.druid.query.aggregation.AggregatorFactory[] aggs,
File file,
io.druid.segment.ProgressIndicator progressIndicator) |
protected void |
reduce(org.apache.hadoop.io.BytesWritable key,
Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected HadoopDruidIndexerConfig config
protected io.druid.segment.ProgressIndicator makeProgressIndicator(org.apache.hadoop.mapreduce.Reducer.Context context)
protected File mergeQueryableIndex(List<io.druid.segment.QueryableIndex> indexes, io.druid.query.aggregation.AggregatorFactory[] aggs, File file, io.druid.segment.ProgressIndicator progressIndicator) throws IOException
IOExceptionprotected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.BytesWritable key,
Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionCopyright © 2011–2018. All rights reserved.