public class PigJobControl
extends org.apache.hadoop.mapred.jobcontrol.JobControl
https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23.1/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/jobcontrol/JobControl.java | Modifier and Type | Field and Description |
|---|---|
protected int |
timeToSleep |
| Constructor and Description |
|---|
PigJobControl(String groupName,
int timeToSleep)
Construct a job control for a group of jobs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTimeToSleep() |
void |
run()
The main loop for the thread.
|
void |
setTimeToSleep(int timeToSleep) |
addJobs, getFailedJobs, getReadyJobs, getRunningJobs, getState, getSuccessfulJobs, getWaitingJobspublic PigJobControl(String groupName, int timeToSleep)
groupName - a name identifying this grouppigContext - conf - Copyright © 2007-2017 The Apache Software Foundation