Package org.apache.nutch.fetcher
Class Fetcher.FetcherRun
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Mapper<Text,CrawlDatum,Text,NutchWritable>
-
- org.apache.nutch.fetcher.Fetcher.FetcherRun
-
- Enclosing class:
- Fetcher
public static class Fetcher.FetcherRun extends Mapper<Text,CrawlDatum,Text,NutchWritable>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
-
-
Constructor Summary
Constructors Constructor Description FetcherRun()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(Mapper.Context innerContext)
void
setup(Mapper.Context context)
-
-
-
Method Detail
-
setup
public void setup(Mapper.Context context)
- Overrides:
setup
in classMapper<Text,CrawlDatum,Text,NutchWritable>
-
run
public void run(Mapper.Context innerContext) throws IOException, InterruptedException
- Overrides:
run
in classMapper<Text,CrawlDatum,Text,NutchWritable>
- Throws:
IOException
InterruptedException
-
-