public class TezLauncher extends Launcher
Launcher.HangingJobKiller, Launcher.JobControlThreadExceptionHandlerfailureMap, jc, jobControlException, jobControlExceptionStackTrace, totalHadoopTimeSpent| Constructor and Description |
|---|
TezLauncher() |
| Modifier and Type | Method and Description |
|---|---|
TezPlanContainer |
compile(PhysicalPlan php,
PigContext pc) |
void |
destroy() |
void |
explain(PhysicalPlan php,
PigContext pc,
java.io.PrintStream ps,
java.lang.String format,
boolean verbose)
Explain how a pig job will be executed on the underlying infrastructure.
|
void |
kill() |
void |
killJob(java.lang.String jobID,
org.apache.hadoop.conf.Configuration conf) |
PigStats |
launchPig(PhysicalPlan php,
java.lang.String grpName,
PigContext pc)
Method to launch pig for hadoop either for a cluster's job tracker or for
a local job runner.
|
static void |
processLoadAndParallelism(TezOperPlan tezPlan,
PigContext pc) |
addGCParams, calculateProgress, computeTimeSpent, getErrorMessages, getExceptionFromString, getStackTraceElement, getTotalHadoopTimeSpent, isComplete, reset, setJobExceptionpublic PigStats launchPig(PhysicalPlan php, java.lang.String grpName, PigContext pc) throws java.lang.Exception
Launcherpublic void explain(PhysicalPlan php, PigContext pc, java.io.PrintStream ps, java.lang.String format, boolean verbose) throws PlanException, VisitorException, java.io.IOException
Launcherexplain in class Launcherphp - PhysicalPlan to explainpc - PigContext to use for configurationps - PrintStream to write output on.format - Format to write inverbose - Amount of information to printVisitorExceptionjava.io.IOExceptionPlanExceptionpublic TezPlanContainer compile(PhysicalPlan php, PigContext pc) throws PlanException, java.io.IOException, VisitorException
PlanExceptionjava.io.IOExceptionVisitorExceptionpublic static void processLoadAndParallelism(TezOperPlan tezPlan, PigContext pc) throws VisitorException
VisitorExceptionpublic void kill()
throws BackendException
kill in class LauncherBackendExceptionpublic void killJob(java.lang.String jobID,
org.apache.hadoop.conf.Configuration conf)
throws BackendException
killJob in class LauncherBackendExceptionCopyright © 2007-2025 The Apache Software Foundation