public class SolrReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,SolrInputDocumentWritable,org.apache.hadoop.io.Text,SolrInputDocumentWritable>
| Modifier and Type | Field and Description |
|---|---|
static String |
UPDATE_CONFLICT_RESOLVER |
| Constructor and Description |
|---|
SolrReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
reduce(org.apache.hadoop.io.Text key,
Iterable<SolrInputDocumentWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
public static final String UPDATE_CONFLICT_RESOLVER
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.Text,SolrInputDocumentWritable,org.apache.hadoop.io.Text,SolrInputDocumentWritable>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.Text key,
Iterable<SolrInputDocumentWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,SolrInputDocumentWritable,org.apache.hadoop.io.Text,SolrInputDocumentWritable>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.Text,SolrInputDocumentWritable,org.apache.hadoop.io.Text,SolrInputDocumentWritable>IOExceptionInterruptedExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.