public class BroadcastLoadGen extends TezExampleBase
| Modifier and Type | Class and Description |
|---|---|
static class |
BroadcastLoadGen.InputFetchProcessor |
static class |
BroadcastLoadGen.InputGenProcessor |
| Constructor and Description |
|---|
BroadcastLoadGen() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
protected void |
printUsage()
Print usage instructions for this example
|
protected int |
runJob(String[] args,
org.apache.tez.dag.api.TezConfiguration tezConf,
org.apache.tez.client.TezClient tezClient)
Create and execute the actual DAG for the example
|
protected int |
validateArgs(String[] otherArgs)
Validate the arguments
|
run, run, runDagprotected final int runJob(String[] args, org.apache.tez.dag.api.TezConfiguration tezConf, org.apache.tez.client.TezClient tezClient) throws org.apache.tez.dag.api.TezException, InterruptedException, IOException
TezExampleBaserunJob in class TezExampleBaseargs - arguments for executiontezConf - the tez configuration instance to be used while processing the DAGtezClient - the tez client instance to use to run the DAG if any custom monitoring is
required. Otherwise the utility method TezExampleBase.runDag(org.apache.tez.dag.api.DAG,
boolean, org.apache.commons.logging.Log) should be usedorg.apache.tez.dag.api.TezExceptionIOExceptionInterruptedExceptionprotected void printUsage()
TezExampleBaseprintUsage in class TezExampleBaseprotected final int validateArgs(String[] otherArgs)
TezExampleBasevalidateArgs in class TezExampleBaseotherArgs - arguments, if anyCopyright © 2015 Apache Software Foundation. All rights reserved.