public class JoinDataGen extends TezExampleBase
| Modifier and Type | Class and Description |
|---|---|
static class |
JoinDataGen.GenDataProcessor |
COUNTER_LOG, DISABLE_SPLIT_GROUPING, GENERATE_SPLIT_IN_CLIENT, LEAVE_AM_RUNNING, LOCAL_MODE, RECONNECT_APP_ID| Constructor and Description |
|---|
JoinDataGen() |
| 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,
TezConfiguration tezConf,
TezClient tezClient)
Create and execute the actual DAG for the example
|
protected int |
validateArgs(String[] otherArgs)
Validate the arguments
|
getAppId, isCountersLog, isDisableSplitGrouping, isGenerateSplitInClient, printExtraOptionsUsage, run, run, runDagprotected void printUsage()
TezExampleBaseprintUsage in class TezExampleBaseprotected int runJob(String[] args, TezConfiguration tezConf, TezClient tezClient) throws Exception
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.slf4j.Logger) should be usedIOExceptionTezExceptionExceptionprotected int validateArgs(String[] otherArgs)
TezExampleBasevalidateArgs in class TezExampleBaseotherArgs - arguments, if anyCopyright © 2022 Apache Software Foundation. All rights reserved.