public class IndexingJob extends NutchTool implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
IndexingJob.IndexerMapper |
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
currentJob, currentJobNum, numJobs, results, status
Constructor and Description |
---|
IndexingJob() |
Modifier and Type | Method and Description |
---|---|
void |
index(String batchId) |
static void |
main(String[] args) |
Map<String,Object> |
run(Map<String,Object> args)
Runs the tool, using a map of arguments.
|
int |
run(String[] args) |
getProgress, getStatus, killJob, stopJob
public Map<String,Object> run(Map<String,Object> args) throws Exception
NutchTool
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2015 The Apache Software Foundation