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.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public void delete(String crawldb, boolean noCommit) throws IOException
IOException
public int run(String[] args) throws IOException
run
in interface org.apache.hadoop.util.Tool
IOException
Copyright © 2014 The Apache Software Foundation