public static class FreeGenerator.FG extends org.apache.hadoop.mapred.MapReduceBase implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,Generator.SelectorEntry>, org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,Generator.SelectorEntry,org.apache.hadoop.io.Text,CrawlDatum>
Constructor and Description |
---|
FreeGenerator.FG() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
void |
map(org.apache.hadoop.io.WritableComparable<?> key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,Generator.SelectorEntry> output,
org.apache.hadoop.mapred.Reporter reporter) |
void |
reduce(org.apache.hadoop.io.Text key,
Iterator<Generator.SelectorEntry> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,CrawlDatum> output,
org.apache.hadoop.mapred.Reporter reporter) |
public void configure(org.apache.hadoop.mapred.JobConf job)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
configure
in class org.apache.hadoop.mapred.MapReduceBase
public void map(org.apache.hadoop.io.WritableComparable<?> key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,Generator.SelectorEntry> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
map
in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,Generator.SelectorEntry>
IOException
public void reduce(org.apache.hadoop.io.Text key, Iterator<Generator.SelectorEntry> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,CrawlDatum> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
reduce
in interface org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,Generator.SelectorEntry,org.apache.hadoop.io.Text,CrawlDatum>
IOException
Copyright © 2014 The Apache Software Foundation