public class CleaningJob extends Object implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
CleaningJob.DBFilter |
static class |
CleaningJob.DeleterReducer |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
CleaningJob() |
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic void delete(String crawldb, boolean noCommit) throws IOException
IOExceptionpublic int run(String[] args) throws IOException
run in interface org.apache.hadoop.util.ToolIOExceptionCopyright © 2014 The Apache Software Foundation