public static class DeduplicationJob.DedupReducer extends Object implements org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.BytesWritable,CrawlDatum,org.apache.hadoop.io.Text,CrawlDatum>
Constructor and Description |
---|
DeduplicationJob.DedupReducer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(org.apache.hadoop.mapred.JobConf arg0) |
void |
reduce(org.apache.hadoop.io.BytesWritable key,
Iterator<CrawlDatum> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,CrawlDatum> output,
org.apache.hadoop.mapred.Reporter reporter) |
public void reduce(org.apache.hadoop.io.BytesWritable key, Iterator<CrawlDatum> 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.BytesWritable,CrawlDatum,org.apache.hadoop.io.Text,CrawlDatum>
IOException
public void configure(org.apache.hadoop.mapred.JobConf arg0)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2014 The Apache Software Foundation