public class TreeMergeMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
TreeMergeOutputFormat
.Modifier and Type | Field and Description |
---|---|
static String |
MAX_SEGMENTS_ON_TREE_MERGE |
static String |
SOLR_SHARD_NUMBER |
Constructor and Description |
---|
TreeMergeMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
public static final String MAX_SEGMENTS_ON_TREE_MERGE
public static final String SOLR_SHARD_NUMBER
protected void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
IOException
InterruptedException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.