source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/mapred/jobcontrol/Job.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 36.5 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:57 UTC 2009 -->
6<TITLE>
7Job (Hadoop 0.20.1 API)
8</TITLE>
9
10<META NAME="date" CONTENT="2009-09-01">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="Job (Hadoop 0.20.1 API)";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Job.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;PREV CLASS&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/JobControl.html" title="class in org.apache.hadoop.mapred.jobcontrol"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/hadoop/mapred/jobcontrol/Job.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="Job.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.hadoop.mapred.jobcontrol</FONT>
92<BR>
93Class Job</H2>
94<PRE>
95<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.jobcontrol.Job</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>Job</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101</PRE>
102
103<P>
104This class encapsulates a MapReduce job and its dependency. It monitors
105  the states of the depending jobs and updates the state of this job.
106  A job starts in the WAITING state. If it does not have any depending jobs, or
107  all of the depending jobs are in SUCCESS state, then the job state will become
108  READY. If any depending jobs fail, the job will fail too.
109  When in READY state, the job can be submitted to Hadoop for execution, with
110  the state changing into RUNNING state. From RUNNING state, the job can get into
111  SUCCESS or FAILED state, depending the status of the job execution.
112<P>
113
114<P>
115<HR>
116
117<P>
118<!-- =========== FIELD SUMMARY =========== -->
119
120<A NAME="field_summary"><!-- --></A>
121<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124<B>Field Summary</B></FONT></TH>
125</TR>
126<TR BGCOLOR="white" CLASS="TableRowColor">
127<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128<CODE>static&nbsp;int</CODE></FONT></TD>
129<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#DEPENDENT_FAILED">DEPENDENT_FAILED</A></B></CODE>
130
131<BR>
132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136<CODE>static&nbsp;int</CODE></FONT></TD>
137<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#FAILED">FAILED</A></B></CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144<CODE>static&nbsp;int</CODE></FONT></TD>
145<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#READY">READY</A></B></CODE>
146
147<BR>
148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152<CODE>static&nbsp;int</CODE></FONT></TD>
153<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#RUNNING">RUNNING</A></B></CODE>
154
155<BR>
156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160<CODE>static&nbsp;int</CODE></FONT></TD>
161<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#SUCCESS">SUCCESS</A></B></CODE>
162
163<BR>
164&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE>static&nbsp;int</CODE></FONT></TD>
169<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#WAITING">WAITING</A></B></CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
173</TR>
174</TABLE>
175&nbsp;
176<!-- ======== CONSTRUCTOR SUMMARY ======== -->
177
178<A NAME="constructor_summary"><!-- --></A>
179<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
180<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
181<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
182<B>Constructor Summary</B></FONT></TH>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#Job(org.apache.hadoop.mapred.JobConf)">Job</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;jobConf)</CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a job.</TD>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#Job(org.apache.hadoop.mapred.JobConf, java.util.ArrayList)">Job</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;jobConf,
192    <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html" title="class in org.apache.hadoop.mapred.jobcontrol">Job</A>&gt;&nbsp;dependingJobs)</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a job.</TD>
196</TR>
197</TABLE>
198&nbsp;
199<!-- ========== METHOD SUMMARY =========== -->
200
201<A NAME="method_summary"><!-- --></A>
202<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
205<B>Method Summary</B></FONT></TH>
206</TR>
207<TR BGCOLOR="white" CLASS="TableRowColor">
208<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209<CODE>&nbsp;boolean</CODE></FONT></TD>
210<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#addDependingJob(org.apache.hadoop.mapred.jobcontrol.Job)">addDependingJob</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html" title="class in org.apache.hadoop.mapred.jobcontrol">Job</A>&nbsp;dependingJob)</CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a job to this jobs' dependency list.</TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217<CODE>&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A></CODE></FONT></TD>
218<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getAssignedJobID()">getAssignedJobID</A></B>()</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html" title="class in org.apache.hadoop.mapred.jobcontrol">Job</A>&gt;</CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getDependingJobs()">getDependingJobs</A></B>()</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/JobClient.html" title="class in org.apache.hadoop.mapred">JobClient</A></CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getJobClient()">getJobClient</A></B>()</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A></CODE></FONT></TD>
242<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getJobConf()">getJobConf</A></B>()</CODE>
243
244<BR>
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getJobID()">getJobID</A></B>()</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getJobName()">getJobName</A></B>()</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
266<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getMapredJobID()">getMapredJobID</A></B>()</CODE>
267
268<BR>
269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getAssignedJobID()"><CODE>getAssignedJobID()</CODE></A> instead</I></TD>
270</TR>
271<TR BGCOLOR="white" CLASS="TableRowColor">
272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
274<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getMessage()">getMessage</A></B>()</CODE>
275
276<BR>
277&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281<CODE>&nbsp;int</CODE></FONT></TD>
282<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getState()">getState</A></B>()</CODE>
283
284<BR>
285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
286</TR>
287<TR BGCOLOR="white" CLASS="TableRowColor">
288<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289<CODE>&nbsp;boolean</CODE></FONT></TD>
290<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#isCompleted()">isCompleted</A></B>()</CODE>
291
292<BR>
293&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
294</TR>
295<TR BGCOLOR="white" CLASS="TableRowColor">
296<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
297<CODE>&nbsp;boolean</CODE></FONT></TD>
298<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#isReady()">isReady</A></B>()</CODE>
299
300<BR>
301&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
302</TR>
303<TR BGCOLOR="white" CLASS="TableRowColor">
304<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
305<CODE>&nbsp;void</CODE></FONT></TD>
306<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setAssignedJobID(org.apache.hadoop.mapred.JobID)">setAssignedJobID</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;mapredJobID)</CODE>
307
308<BR>
309&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the mapred ID for this job as assigned by the
310 mapred framework.</TD>
311</TR>
312<TR BGCOLOR="white" CLASS="TableRowColor">
313<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
314<CODE>&nbsp;void</CODE></FONT></TD>
315<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setJobConf(org.apache.hadoop.mapred.JobConf)">setJobConf</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;jobConf)</CODE>
316
317<BR>
318&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the mapred job conf for this job.</TD>
319</TR>
320<TR BGCOLOR="white" CLASS="TableRowColor">
321<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
322<CODE>&nbsp;void</CODE></FONT></TD>
323<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setJobID(java.lang.String)">setJobID</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;id)</CODE>
324
325<BR>
326&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the job ID for  this job.</TD>
327</TR>
328<TR BGCOLOR="white" CLASS="TableRowColor">
329<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
330<CODE>&nbsp;void</CODE></FONT></TD>
331<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setJobName(java.lang.String)">setJobName</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;jobName)</CODE>
332
333<BR>
334&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the job name for  this job.</TD>
335</TR>
336<TR BGCOLOR="white" CLASS="TableRowColor">
337<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
338<CODE>&nbsp;void</CODE></FONT></TD>
339<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setMapredJobID(java.lang.String)">setMapredJobID</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mapredJobID)</CODE>
340
341<BR>
342&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setAssignedJobID(org.apache.hadoop.mapred.JobID)"><CODE>setAssignedJobID(JobID)</CODE></A> instead</I></TD>
343</TR>
344<TR BGCOLOR="white" CLASS="TableRowColor">
345<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
346<CODE>&nbsp;void</CODE></FONT></TD>
347<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setMessage(java.lang.String)">setMessage</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;message)</CODE>
348
349<BR>
350&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the message for this job.</TD>
351</TR>
352<TR BGCOLOR="white" CLASS="TableRowColor">
353<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
354<CODE>protected &nbsp;void</CODE></FONT></TD>
355<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setState(int)">setState</A></B>(int&nbsp;state)</CODE>
356
357<BR>
358&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the state for this job.</TD>
359</TR>
360<TR BGCOLOR="white" CLASS="TableRowColor">
361<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362<CODE>protected &nbsp;void</CODE></FONT></TD>
363<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#submit()">submit</A></B>()</CODE>
364
365<BR>
366&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Submit this job to mapred.</TD>
367</TR>
368<TR BGCOLOR="white" CLASS="TableRowColor">
369<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
371<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#toString()">toString</A></B>()</CODE>
372
373<BR>
374&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
375</TR>
376</TABLE>
377&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
378<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
379<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
380<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
381</TR>
382<TR BGCOLOR="white" CLASS="TableRowColor">
383<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
384</TR>
385</TABLE>
386&nbsp;
387<P>
388
389<!-- ============ FIELD DETAIL =========== -->
390
391<A NAME="field_detail"><!-- --></A>
392<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
393<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
394<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
395<B>Field Detail</B></FONT></TH>
396</TR>
397</TABLE>
398
399<A NAME="SUCCESS"><!-- --></A><H3>
400SUCCESS</H3>
401<PRE>
402public static final int <B>SUCCESS</B></PRE>
403<DL>
404<DL>
405<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.mapred.jobcontrol.Job.SUCCESS">Constant Field Values</A></DL>
406</DL>
407<HR>
408
409<A NAME="WAITING"><!-- --></A><H3>
410WAITING</H3>
411<PRE>
412public static final int <B>WAITING</B></PRE>
413<DL>
414<DL>
415<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.mapred.jobcontrol.Job.WAITING">Constant Field Values</A></DL>
416</DL>
417<HR>
418
419<A NAME="RUNNING"><!-- --></A><H3>
420RUNNING</H3>
421<PRE>
422public static final int <B>RUNNING</B></PRE>
423<DL>
424<DL>
425<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.mapred.jobcontrol.Job.RUNNING">Constant Field Values</A></DL>
426</DL>
427<HR>
428
429<A NAME="READY"><!-- --></A><H3>
430READY</H3>
431<PRE>
432public static final int <B>READY</B></PRE>
433<DL>
434<DL>
435<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.mapred.jobcontrol.Job.READY">Constant Field Values</A></DL>
436</DL>
437<HR>
438
439<A NAME="FAILED"><!-- --></A><H3>
440FAILED</H3>
441<PRE>
442public static final int <B>FAILED</B></PRE>
443<DL>
444<DL>
445<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.mapred.jobcontrol.Job.FAILED">Constant Field Values</A></DL>
446</DL>
447<HR>
448
449<A NAME="DEPENDENT_FAILED"><!-- --></A><H3>
450DEPENDENT_FAILED</H3>
451<PRE>
452public static final int <B>DEPENDENT_FAILED</B></PRE>
453<DL>
454<DL>
455<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.mapred.jobcontrol.Job.DEPENDENT_FAILED">Constant Field Values</A></DL>
456</DL>
457
458<!-- ========= CONSTRUCTOR DETAIL ======== -->
459
460<A NAME="constructor_detail"><!-- --></A>
461<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
462<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
463<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
464<B>Constructor Detail</B></FONT></TH>
465</TR>
466</TABLE>
467
468<A NAME="Job(org.apache.hadoop.mapred.JobConf, java.util.ArrayList)"><!-- --></A><H3>
469Job</H3>
470<PRE>
471public <B>Job</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;jobConf,
472           <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html" title="class in org.apache.hadoop.mapred.jobcontrol">Job</A>&gt;&nbsp;dependingJobs)
473    throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
474<DL>
475<DD>Construct a job.
476<P>
477<DL>
478<DT><B>Parameters:</B><DD><CODE>jobConf</CODE> - a mapred job configuration representing a job to be executed.<DD><CODE>dependingJobs</CODE> - an array of jobs the current job depends on
479<DT><B>Throws:</B>
480<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
481</DL>
482<HR>
483
484<A NAME="Job(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3>
485Job</H3>
486<PRE>
487public <B>Job</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;jobConf)
488    throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
489<DL>
490<DD>Construct a job.
491<P>
492<DL>
493<DT><B>Parameters:</B><DD><CODE>jobConf</CODE> - mapred job configuration representing a job to be executed.
494<DT><B>Throws:</B>
495<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
496</DL>
497
498<!-- ============ METHOD DETAIL ========== -->
499
500<A NAME="method_detail"><!-- --></A>
501<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
502<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
503<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
504<B>Method Detail</B></FONT></TH>
505</TR>
506</TABLE>
507
508<A NAME="toString()"><!-- --></A><H3>
509toString</H3>
510<PRE>
511public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
512<DL>
513<DD><DL>
514<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
515</DD>
516<DD><DL>
517</DL>
518</DD>
519</DL>
520<HR>
521
522<A NAME="getJobName()"><!-- --></A><H3>
523getJobName</H3>
524<PRE>
525public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getJobName</B>()</PRE>
526<DL>
527<DD><DL>
528
529<DT><B>Returns:</B><DD>the job name of this job</DL>
530</DD>
531</DL>
532<HR>
533
534<A NAME="setJobName(java.lang.String)"><!-- --></A><H3>
535setJobName</H3>
536<PRE>
537public void <B>setJobName</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;jobName)</PRE>
538<DL>
539<DD>Set the job name for  this job.
540<P>
541<DD><DL>
542<DT><B>Parameters:</B><DD><CODE>jobName</CODE> - the job name</DL>
543</DD>
544</DL>
545<HR>
546
547<A NAME="getJobID()"><!-- --></A><H3>
548getJobID</H3>
549<PRE>
550public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getJobID</B>()</PRE>
551<DL>
552<DD><DL>
553
554<DT><B>Returns:</B><DD>the job ID of this job assigned by JobControl</DL>
555</DD>
556</DL>
557<HR>
558
559<A NAME="setJobID(java.lang.String)"><!-- --></A><H3>
560setJobID</H3>
561<PRE>
562public void <B>setJobID</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;id)</PRE>
563<DL>
564<DD>Set the job ID for  this job.
565<P>
566<DD><DL>
567<DT><B>Parameters:</B><DD><CODE>id</CODE> - the job ID</DL>
568</DD>
569</DL>
570<HR>
571
572<A NAME="getMapredJobID()"><!-- --></A><H3>
573getMapredJobID</H3>
574<PRE>
575<FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
576</FONT>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMapredJobID</B>()</PRE>
577<DL>
578<DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#getAssignedJobID()"><CODE>getAssignedJobID()</CODE></A> instead</I>
579<P>
580<DD><DL>
581
582<DT><B>Returns:</B><DD>the mapred ID of this job</DL>
583</DD>
584</DL>
585<HR>
586
587<A NAME="setMapredJobID(java.lang.String)"><!-- --></A><H3>
588setMapredJobID</H3>
589<PRE>
590<FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
591</FONT>public void <B>setMapredJobID</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mapredJobID)</PRE>
592<DL>
593<DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html#setAssignedJobID(org.apache.hadoop.mapred.JobID)"><CODE>setAssignedJobID(JobID)</CODE></A> instead</I>
594<P>
595<DD>Set the mapred ID for this job.
596<P>
597<DD><DL>
598<DT><B>Parameters:</B><DD><CODE>mapredJobID</CODE> - the mapred job ID for this job.</DL>
599</DD>
600</DL>
601<HR>
602
603<A NAME="getAssignedJobID()"><!-- --></A><H3>
604getAssignedJobID</H3>
605<PRE>
606public <A HREF="../../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> <B>getAssignedJobID</B>()</PRE>
607<DL>
608<DD><DL>
609
610<DT><B>Returns:</B><DD>the mapred ID of this job as assigned by the
611 mapred framework.</DL>
612</DD>
613</DL>
614<HR>
615
616<A NAME="setAssignedJobID(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
617setAssignedJobID</H3>
618<PRE>
619public void <B>setAssignedJobID</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;mapredJobID)</PRE>
620<DL>
621<DD>Set the mapred ID for this job as assigned by the
622 mapred framework.
623<P>
624<DD><DL>
625<DT><B>Parameters:</B><DD><CODE>mapredJobID</CODE> - the mapred job ID for this job.</DL>
626</DD>
627</DL>
628<HR>
629
630<A NAME="getJobConf()"><!-- --></A><H3>
631getJobConf</H3>
632<PRE>
633public <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> <B>getJobConf</B>()</PRE>
634<DL>
635<DD><DL>
636
637<DT><B>Returns:</B><DD>the mapred job conf of this job</DL>
638</DD>
639</DL>
640<HR>
641
642<A NAME="setJobConf(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3>
643setJobConf</H3>
644<PRE>
645public void <B>setJobConf</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;jobConf)</PRE>
646<DL>
647<DD>Set the mapred job conf for this job.
648<P>
649<DD><DL>
650<DT><B>Parameters:</B><DD><CODE>jobConf</CODE> - the mapred job conf for this job.</DL>
651</DD>
652</DL>
653<HR>
654
655<A NAME="getState()"><!-- --></A><H3>
656getState</H3>
657<PRE>
658public int <B>getState</B>()</PRE>
659<DL>
660<DD><DL>
661
662<DT><B>Returns:</B><DD>the state of this job</DL>
663</DD>
664</DL>
665<HR>
666
667<A NAME="setState(int)"><!-- --></A><H3>
668setState</H3>
669<PRE>
670protected void <B>setState</B>(int&nbsp;state)</PRE>
671<DL>
672<DD>Set the state for this job.
673<P>
674<DD><DL>
675<DT><B>Parameters:</B><DD><CODE>state</CODE> - the new state for this job.</DL>
676</DD>
677</DL>
678<HR>
679
680<A NAME="getMessage()"><!-- --></A><H3>
681getMessage</H3>
682<PRE>
683public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE>
684<DL>
685<DD><DL>
686
687<DT><B>Returns:</B><DD>the message of this job</DL>
688</DD>
689</DL>
690<HR>
691
692<A NAME="setMessage(java.lang.String)"><!-- --></A><H3>
693setMessage</H3>
694<PRE>
695public void <B>setMessage</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;message)</PRE>
696<DL>
697<DD>Set the message for this job.
698<P>
699<DD><DL>
700<DT><B>Parameters:</B><DD><CODE>message</CODE> - the message for this job.</DL>
701</DD>
702</DL>
703<HR>
704
705<A NAME="getJobClient()"><!-- --></A><H3>
706getJobClient</H3>
707<PRE>
708public <A HREF="../../../../../org/apache/hadoop/mapred/JobClient.html" title="class in org.apache.hadoop.mapred">JobClient</A> <B>getJobClient</B>()</PRE>
709<DL>
710<DD><DL>
711
712<DT><B>Returns:</B><DD>the job client of this job</DL>
713</DD>
714</DL>
715<HR>
716
717<A NAME="getDependingJobs()"><!-- --></A><H3>
718getDependingJobs</H3>
719<PRE>
720public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html" title="class in org.apache.hadoop.mapred.jobcontrol">Job</A>&gt; <B>getDependingJobs</B>()</PRE>
721<DL>
722<DD><DL>
723
724<DT><B>Returns:</B><DD>the depending jobs of this job</DL>
725</DD>
726</DL>
727<HR>
728
729<A NAME="addDependingJob(org.apache.hadoop.mapred.jobcontrol.Job)"><!-- --></A><H3>
730addDependingJob</H3>
731<PRE>
732public boolean <B>addDependingJob</B>(<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/Job.html" title="class in org.apache.hadoop.mapred.jobcontrol">Job</A>&nbsp;dependingJob)</PRE>
733<DL>
734<DD>Add a job to this jobs' dependency list. Dependent jobs can only be added while a Job
735 is waiting to run, not during or afterwards.
736<P>
737<DD><DL>
738<DT><B>Parameters:</B><DD><CODE>dependingJob</CODE> - Job that this Job depends on.
739<DT><B>Returns:</B><DD><tt>true</tt> if the Job was added.</DL>
740</DD>
741</DL>
742<HR>
743
744<A NAME="isCompleted()"><!-- --></A><H3>
745isCompleted</H3>
746<PRE>
747public boolean <B>isCompleted</B>()</PRE>
748<DL>
749<DD><DL>
750
751<DT><B>Returns:</B><DD>true if this job is in a complete state</DL>
752</DD>
753</DL>
754<HR>
755
756<A NAME="isReady()"><!-- --></A><H3>
757isReady</H3>
758<PRE>
759public boolean <B>isReady</B>()</PRE>
760<DL>
761<DD><DL>
762
763<DT><B>Returns:</B><DD>true if this job is in READY state</DL>
764</DD>
765</DL>
766<HR>
767
768<A NAME="submit()"><!-- --></A><H3>
769submit</H3>
770<PRE>
771protected void <B>submit</B>()</PRE>
772<DL>
773<DD>Submit this job to mapred. The state becomes RUNNING if submission
774 is successful, FAILED otherwise.
775<P>
776<DD><DL>
777</DL>
778</DD>
779</DL>
780<!-- ========= END OF CLASS DATA ========= -->
781<HR>
782
783
784<!-- ======= START OF BOTTOM NAVBAR ====== -->
785<A NAME="navbar_bottom"><!-- --></A>
786<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
787<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
788<TR>
789<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
790<A NAME="navbar_bottom_firstrow"><!-- --></A>
791<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
792  <TR ALIGN="center" VALIGN="top">
793  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
794  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
795  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
796  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Job.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
797  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
798  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
799  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
800  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
801  </TR>
802</TABLE>
803</TD>
804<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
805</EM>
806</TD>
807</TR>
808
809<TR>
810<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
811&nbsp;PREV CLASS&nbsp;
812&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/jobcontrol/JobControl.html" title="class in org.apache.hadoop.mapred.jobcontrol"><B>NEXT CLASS</B></A></FONT></TD>
813<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
814  <A HREF="../../../../../index.html?org/apache/hadoop/mapred/jobcontrol/Job.html" target="_top"><B>FRAMES</B></A>  &nbsp;
815&nbsp;<A HREF="Job.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
816&nbsp;<SCRIPT type="text/javascript">
817  <!--
818  if(window==top) {
819    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
820  }
821  //-->
822</SCRIPT>
823<NOSCRIPT>
824  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
825</NOSCRIPT>
826
827
828</FONT></TD>
829</TR>
830<TR>
831<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
832  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
833<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
834DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
835</TR>
836</TABLE>
837<A NAME="skip-navbar_bottom"></A>
838<!-- ======== END OF BOTTOM NAVBAR ======= -->
839
840<HR>
841Copyright &copy; 2009 The Apache Software Foundation
842</BODY>
843</HTML>
Note: See TracBrowser for help on using the repository browser.