public class CartesianProduct extends TezExampleBase
| Modifier and Type | Class and Description |
|---|---|
static class |
CartesianProduct.CustomPartitioner |
static class |
CartesianProduct.JoinProcessor |
static class |
CartesianProduct.TokenProcessor |
COUNTER_LOG, DISABLE_SPLIT_GROUPING, GENERATE_SPLIT_IN_CLIENT, LEAVE_AM_RUNNING, LOCAL_MODE, RECONNECT_APP_ID| Constructor and Description |
|---|
CartesianProduct() |
| 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
|
getAppId, isCountersLog, isDisableSplitGrouping, isGenerateSplitInClient, printExtraOptionsUsage, run, run, runDagprotected void printUsage()
TezExampleBaseprintUsage in class TezExampleBaseprotected int validateArgs(String[] otherArgs)
TezExampleBasevalidateArgs in class TezExampleBaseotherArgs - arguments, if anyprotected int runJob(String[] args, org.apache.tez.dag.api.TezConfiguration tezConf, org.apache.tez.client.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 usedIOExceptionorg.apache.tez.dag.api.TezExceptionExceptionCopyright © 2019 Apache Software Foundation. All rights reserved.