public abstract class StageRunner extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| Constructor and Description |
|---|
StageRunner() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
args(String[] args) |
abstract org.apache.hadoop.fs.Path[] |
inputs() |
abstract org.apache.hadoop.fs.Path |
output() |
int |
run(String[] args) |
void |
runMain(String[] args) |
boolean |
shouldWait() |
abstract Stage<?,?,?,?,?,?,?,?> |
stage() |
public StageRunner()
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic boolean shouldWait()
public abstract org.apache.hadoop.fs.Path output()
public abstract org.apache.hadoop.fs.Path[] inputs() throws Exception
Exceptionpublic abstract void args(String[] args) throws Exception
args - arguments handed to the Tool.run(String[]). Given before
outputs, inputs or stages are asked for.Exception