@InterfaceAudience.Public @InterfaceStability.Evolving public interface PigProgressNotificationListener extends java.util.EventListener
PigRunner.| Modifier and Type | Method and Description |
|---|---|
void |
initialPlanNotification(java.lang.String scriptId,
OperatorPlan<?> plan)
Invoked before any Hadoop jobs are run with the plan that is to be executed.
|
void |
jobFailedNotification(java.lang.String scriptId,
JobStats jobStats)
Invoked when a Hadoop job fails.
|
void |
jobFinishedNotification(java.lang.String scriptId,
JobStats jobStats)
Invoked just after a Hadoop job is completed successfully.
|
void |
jobsSubmittedNotification(java.lang.String scriptId,
int numJobsSubmitted)
Invoked just before submitting a batch of Hadoop jobs.
|
void |
jobStartedNotification(java.lang.String scriptId,
java.lang.String assignedJobId)
Invoked after a Hadoop job is started.
|
void |
launchCompletedNotification(java.lang.String scriptId,
int numJobsSucceeded)
Invoked just after all Hadoop jobs spawned by the script are completed.
|
void |
launchStartedNotification(java.lang.String scriptId,
int numJobsToLaunch)
Invoked just before launching Hadoop jobs spawned by the script.
|
void |
outputCompletedNotification(java.lang.String scriptId,
OutputStats outputStats)
Invoked just after an output is successfully written.
|
void |
progressUpdatedNotification(java.lang.String scriptId,
int progress)
Invoked to update the execution progress.
|
void initialPlanNotification(java.lang.String scriptId,
OperatorPlan<?> plan)
scriptId - the unique id of the scriptplan - the OperatorPlan that is to be executedvoid launchStartedNotification(java.lang.String scriptId,
int numJobsToLaunch)
scriptId - the unique id of the scriptnumJobsToLaunch - the total number of Hadoop jobs spawned by the scriptvoid jobsSubmittedNotification(java.lang.String scriptId,
int numJobsSubmitted)
scriptId - the unique id of the scriptnumJobsSubmitted - the number of Hadoop jobs in the batchvoid jobStartedNotification(java.lang.String scriptId,
java.lang.String assignedJobId)
scriptId - the unique id of the scriptassignedJobId - the Hadoop job idvoid jobFinishedNotification(java.lang.String scriptId,
JobStats jobStats)
scriptId - the unique id of the scriptjobStats - the JobStats object associated with the Hadoop jobvoid jobFailedNotification(java.lang.String scriptId,
JobStats jobStats)
scriptId - the unique id of the scriptjobStats - the JobStats object associated with the Hadoop jobvoid outputCompletedNotification(java.lang.String scriptId,
OutputStats outputStats)
scriptId - the unique id of the scriptoutputStats - the OutputStats object associated with the outputvoid progressUpdatedNotification(java.lang.String scriptId,
int progress)
scriptId - the unique id of the scriptprogress - the percentage of the execution progressvoid launchCompletedNotification(java.lang.String scriptId,
int numJobsSucceeded)
scriptId - the unique id of the scriptnumJobsSucceeded - the total number of Hadoop jobs succeededCopyright © 2007-2012 The Apache Software Foundation