public class KroneckerGenerator
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
KroneckerGenerator.KroneckerGeneratorMapper |
Constructor and Description |
---|
KroneckerGenerator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main entry point
|
int |
run(java.lang.String[] args)
submit the hadoop job of the Kronecker graph generator.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- [0]: level of recursion. [1]: degree of parallelism (the number of tasks to run). [2]: seed
graph file path. [3]: output file path.java.lang.Exception
public int run(java.lang.String[] args) throws java.lang.Exception
run
in interface org.apache.hadoop.util.Tool
args
- [0]: level of recursion. [1]: degree of parallelism (the number of tasks to run). [2]: seed
graph file path. [3]: output file path.java.lang.Exception
- by hadoop