public class SparkLauncher extends Launcher
| Modifier and Type | Class and Description |
|---|---|
static class |
SparkLauncher.ResourceType |
Launcher.HangingJobKiller, Launcher.JobControlThreadExceptionHandlerfailureMap, jc, jobControlException, jobControlExceptionStackTrace, totalHadoopTimeSpent| Constructor and Description |
|---|
SparkLauncher() |
| Modifier and Type | Method and Description |
|---|---|
SparkOperPlan |
compile(PhysicalPlan physicalPlan,
PigContext pigContext) |
void |
explain(PhysicalPlan pp,
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 physicalPlan,
java.lang.String grpName,
PigContext pigContext)
Method to launch pig for hadoop either for a cluster's job tracker or for
a local job runner.
|
addGCParams, calculateProgress, computeTimeSpent, destroy, getErrorMessages, getExceptionFromString, getStackTraceElement, getTotalHadoopTimeSpent, isComplete, reset, setJobExceptionpublic PigStats launchPig(PhysicalPlan physicalPlan, java.lang.String grpName, PigContext pigContext) throws java.lang.Exception
Launcherpublic SparkOperPlan compile(PhysicalPlan physicalPlan, PigContext pigContext) throws PlanException, java.io.IOException, VisitorException
PlanExceptionjava.io.IOExceptionVisitorExceptionpublic void explain(PhysicalPlan pp, PigContext pc, java.io.PrintStream ps, java.lang.String format, boolean verbose) throws java.io.IOException
Launcherexplain in class Launcherpp - PhysicalPlan to explainpc - PigContext to use for configurationps - PrintStream to write output on.format - Format to write inverbose - Amount of information to printVisitorExceptionjava.io.IOExceptionpublic 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