public class PASmallStarOpt
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
PASmallStarOpt.PASmallStarCombiner |
static class |
PASmallStarOpt.PASmallStarMapper |
static class |
PASmallStarOpt.PASmallStarReducer |
Modifier and Type | Field and Description |
---|---|
long |
inputSize |
long |
inSize |
long |
numChanges |
long |
outSize |
Constructor and Description |
---|
PASmallStarOpt(org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path output,
boolean verbose)
constructor
|
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 long numChanges
public long inputSize
public long outSize
public long inSize
public PASmallStarOpt(org.apache.hadoop.fs.Path input, org.apache.hadoop.fs.Path output, boolean verbose)
input
- file pathoutput
- file pathverbose
- if true, it prints log verbosely.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- [0]: input file path, [1]: output file path, and tool runner parameters inherited from paccjava.lang.Exception
- by hadooppublic int run(java.lang.String[] args) throws java.lang.Exception
run
in interface org.apache.hadoop.util.Tool
args
- tool runner parameters inherited from paccjava.lang.Exception
- by hadoop