public class NetRaySpy
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
NetRaySpy.MapStage1 |
static class |
NetRaySpy.RedStage1 |
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.fs.Path |
edge_path |
protected int |
is_linear |
protected int |
makesym |
protected int |
nreducer |
protected int |
orig_nnodes |
protected org.apache.hadoop.fs.Path |
output_path |
protected java.lang.String |
output_prefix |
protected double |
s_over_n |
protected double |
sm1_over_logn |
protected int |
target_nnodes |
Constructor and Description |
---|
NetRaySpy() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.mapreduce.Job |
configStage1() |
static void |
main(java.lang.String[] args) |
protected static int |
printUsage() |
int |
run(java.lang.String[] args) |
protected org.apache.hadoop.fs.Path edge_path
protected org.apache.hadoop.fs.Path output_path
protected int orig_nnodes
protected int target_nnodes
protected double s_over_n
protected double sm1_over_logn
protected int nreducer
protected java.lang.String output_prefix
protected int makesym
protected int is_linear
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected static int printUsage()
public int run(java.lang.String[] args) throws java.lang.Exception
run
in interface org.apache.hadoop.util.Tool
java.lang.Exception
protected org.apache.hadoop.mapreduce.Job configStage1() throws java.lang.Exception
java.lang.Exception