public class PACC
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Constructor and Description |
---|
PACC() |
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
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- [0]: input file path. [1]: output file path.
Tool runner arguments:
-D verbose if true, it prints log verbosely (default: false).
-D mapred.reduce.tasks number of reduce tasks (default: 1).
-D numPartitions the number of partitions (default: the number of reduce tasks).
-D localThreshold pacc run a in-memory cc algorithm if the remaining number of edges is below
this value (default: 1000000).java.lang.Exception
- by hadooppublic int run(java.lang.String[] args) throws java.lang.Exception
run
in interface org.apache.hadoop.util.Tool
args
- [0]: input file path. [1]: output file path.
Tool runner options:
-D verbose if true, it prints log verbosely (default: false).
-D mapred.reduce.tasks number of reduce tasks (default: 1).
-D numPartitions the number of partitions (default: the number of reduce tasks).
-D localThreshold pacc run an in-memory cc algorithm if the remaining number of edges is below
this value (default: 1000000).java.lang.Exception
- by hadoop