public class NetRayScatter
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
NetRayScatter.MapStage1 |
static class |
NetRayScatter.MapStage2 |
static class |
NetRayScatter.RedStage1 |
static class |
NetRayScatter.RedStage2 |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
field_ids |
protected org.apache.hadoop.fs.Path |
input_path |
protected int |
is_linear |
protected org.apache.hadoop.fs.Path |
minmax_path |
protected int |
nreducer |
protected int |
orig_nnodes |
protected org.apache.hadoop.fs.Path |
output_path |
protected double |
sm1_over_logxmax_m_logxmin |
protected double |
sm1_over_logymax_m_logymin |
protected double |
sm1_over_xmax_m_xmin |
protected double |
sm1_over_ymax_m_ymin |
protected int |
target_nnodes |
protected double |
x_max |
protected double |
x_min |
protected double |
y_max |
protected double |
y_min |
Constructor and Description |
---|
NetRayScatter() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.mapreduce.Job |
configStage1(org.apache.hadoop.fs.Path in_path,
org.apache.hadoop.fs.Path out_path) |
protected org.apache.hadoop.mapreduce.Job |
configStage2() |
static void |
main(java.lang.String[] args) |
protected static int |
printUsage() |
void |
readMinMax(java.lang.String new_path) |
int |
run(java.lang.String[] args) |
protected org.apache.hadoop.fs.Path input_path
protected org.apache.hadoop.fs.Path minmax_path
protected org.apache.hadoop.fs.Path output_path
protected int orig_nnodes
protected int target_nnodes
protected double sm1_over_xmax_m_xmin
protected double sm1_over_ymax_m_ymin
protected double sm1_over_logxmax_m_logxmin
protected double sm1_over_logymax_m_logymin
protected java.lang.String field_ids
protected int nreducer
protected int is_linear
protected double x_min
protected double x_max
protected double y_min
protected double y_max
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
public void readMinMax(java.lang.String new_path) throws java.lang.Exception
java.lang.Exception
protected org.apache.hadoop.mapreduce.Job configStage1(org.apache.hadoop.fs.Path in_path, org.apache.hadoop.fs.Path out_path) throws java.lang.Exception
java.lang.Exception
protected org.apache.hadoop.mapreduce.Job configStage2() throws java.lang.Exception
java.lang.Exception