public class Loops
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
Loops.Finalizer
Finishes the Loops job by aggregating and collecting and found routes.
|
static class |
Loops.Initializer
Initializes the Loop routes.
|
static class |
Loops.Looper
Follows a route path looking for the start url of the route.
|
static class |
Loops.LoopSet
A set of loops.
|
static class |
Loops.Route
A link path or route looking to identify a link cycle.
|
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
static String |
LOOPS_DIR |
static String |
ROUTES_DIR |
Constructor and Description |
---|
Loops() |
Modifier and Type | Method and Description |
---|---|
void |
findLoops(org.apache.hadoop.fs.Path webGraphDb)
Runs the various loop jobs.
|
static void |
main(String[] args) |
int |
run(String[] args)
Runs the Loops tool.
|
public static final org.slf4j.Logger LOG
public static final String LOOPS_DIR
public static final String ROUTES_DIR
public void findLoops(org.apache.hadoop.fs.Path webGraphDb) throws IOException
IOException
Copyright © 2014 The Apache Software Foundation