public class LinkDumper
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
LinkDumper.Inverter
Inverts outlinks from the WebGraph to inlinks and attaches node
information.
|
static class |
LinkDumper.LinkNode
Bean class which holds url to node information.
|
static class |
LinkDumper.LinkNodes
Writable class which holds an array of LinkNode objects.
|
static class |
LinkDumper.Merger
Merges LinkNode objects into a single array value per url.
|
static class |
LinkDumper.Reader
Reader class which will print out the url and all of its inlinks to system
out.
|
Modifier and Type | Field and Description |
---|---|
static String |
DUMP_DIR |
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
LinkDumper() |
Modifier and Type | Method and Description |
---|---|
void |
dumpLinks(org.apache.hadoop.fs.Path webGraphDb)
Runs the inverter and merger jobs of the LinkDumper tool to create the
url to inlink node database.
|
static void |
main(String[] args) |
int |
run(String[] args)
Runs the LinkDumper tool.
|
public static final org.slf4j.Logger LOG
public static final String DUMP_DIR
public void dumpLinks(org.apache.hadoop.fs.Path webGraphDb) throws IOException
IOException
Copyright © 2014 The Apache Software Foundation