public class HostDbUpdateJob extends java.lang.Object implements Tool
Modifier and Type | Class and Description |
---|---|
static class |
HostDbUpdateJob.Mapper
Maps each WebPage to a host key.
|
Constructor and Description |
---|
HostDbUpdateJob() |
HostDbUpdateJob(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
static void |
main(java.lang.String[] args) |
int |
run(java.lang.String[] args) |
void |
setConf(Configuration conf) |
void |
updateHosts(boolean buildLinkDb) |
public HostDbUpdateJob()
public HostDbUpdateJob(Configuration conf)
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
public void updateHosts(boolean buildLinkDb) throws java.lang.Exception
java.lang.Exception
public int run(java.lang.String[] args) throws java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2019 The Apache Software Foundation