source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/mapred/JobTracker.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: 111.6 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:56 UTC 2009 -->
6<TITLE>
7JobTracker (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="JobTracker (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/JobTracker.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;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobTracker.IllegalStateException.html" title="class in org.apache.hadoop.mapred"><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/JobTracker.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="JobTracker.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&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;CONSTR&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</FONT>
92<BR>
93Class JobTracker</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.JobTracker</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/hadoop/ipc/VersionedProtocol.html" title="interface in org.apache.hadoop.ipc">VersionedProtocol</A>, <A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html" title="interface in org.apache.hadoop.security.authorize">RefreshAuthorizationPolicyProtocol</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>JobTracker</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><DT>implements <A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html" title="interface in org.apache.hadoop.security.authorize">RefreshAuthorizationPolicyProtocol</A></DL>
104</PRE>
105
106<P>
107JobTracker is the central location for submitting and
108 tracking MR jobs in a network environment.
109<P>
110
111<P>
112<HR>
113
114<P>
115<!-- ======== NESTED CLASS SUMMARY ======== -->
116
117<A NAME="nested_class_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Nested Class Summary</B></FONT></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>static&nbsp;class</CODE></FONT></TD>
126<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.IllegalStateException.html" title="class in org.apache.hadoop.mapred">JobTracker.IllegalStateException</A></B></CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A client tried to submit a job before the Job Tracker was ready.</TD>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>static&nbsp;class</CODE></FONT></TD>
134<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.State.html" title="enum in org.apache.hadoop.mapred">JobTracker.State</A></B></CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
138</TR>
139</TABLE>
140&nbsp;<!-- =========== FIELD SUMMARY =========== -->
141
142<A NAME="field_summary"><!-- --></A>
143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
146<B>Field Summary</B></FONT></TH>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>static&nbsp;int</CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#CLUSTER_INCREMENT">CLUSTER_INCREMENT</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>static&nbsp;long</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#COUNTER_UPDATE_INTERVAL">COUNTER_UPDATE_INTERVAL</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>static&nbsp;int</CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#FILE_NOT_FOUND">FILE_NOT_FOUND</A></B></CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>static&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>
175<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#FOR_REDUCE_TASK">FOR_REDUCE_TASK</A></B></CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The reduce task number for which this map output is being transferred</TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>static&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>
183<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#FROM_MAP_TASK">FROM_MAP_TASK</A></B></CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The map task from which the map output data is being transferred</TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>static&nbsp;int</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#HEARTBEAT_INTERVAL_MIN">HEARTBEAT_INTERVAL_MIN</A></B></CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198<CODE>static&nbsp;org.apache.commons.logging.Log</CODE></FONT></TD>
199<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#LOG">LOG</A></B></CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>static&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>
207<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#MAP_OUTPUT_LENGTH">MAP_OUTPUT_LENGTH</A></B></CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The custom http header used for the map output length.</TD>
211</TR>
212<TR BGCOLOR="white" CLASS="TableRowColor">
213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214<CODE>static&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>
215<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#RAW_MAP_OUTPUT_LENGTH">RAW_MAP_OUTPUT_LENGTH</A></B></CODE>
216
217<BR>
218&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The custom http header used for the "raw" map output length.</TD>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222<CODE>static&nbsp;int</CODE></FONT></TD>
223<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#SUCCESS">SUCCESS</A></B></CODE>
224
225<BR>
226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
227</TR>
228<TR BGCOLOR="white" CLASS="TableRowColor">
229<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230<CODE>static&nbsp;int</CODE></FONT></TD>
231<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#TRACKERS_OK">TRACKERS_OK</A></B></CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238<CODE>static&nbsp;int</CODE></FONT></TD>
239<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#UNKNOWN_TASKTRACKER">UNKNOWN_TASKTRACKER</A></B></CODE>
240
241<BR>
242&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246<CODE>static&nbsp;long</CODE></FONT></TD>
247<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#versionID">versionID</A></B></CODE>
248
249<BR>
250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version 3 introduced to replace
251 emitHearbeat/pollForNewTask/pollForTaskWithClosedJob with
252 <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus, boolean, boolean, boolean, short)"><CODE>heartbeat(TaskTrackerStatus, boolean, boolean, boolean, short)</CODE></A>
253 version 4 changed TaskReport for HADOOP-549.</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>static&nbsp;long</CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#versionID">versionID</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>static&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/JobTracker.html#WORKDIR">WORKDIR</A></B></CODE>
267
268<BR>
269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
270</TR>
271</TABLE>
272&nbsp;<A NAME="fields_inherited_from_class_org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol"><!-- --></A>
273<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
274<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
275<TH ALIGN="left"><B>Fields inherited from interface org.apache.hadoop.security.authorize.<A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html" title="interface in org.apache.hadoop.security.authorize">RefreshAuthorizationPolicyProtocol</A></B></TH>
276</TR>
277<TR BGCOLOR="white" CLASS="TableRowColor">
278<TD><CODE><A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html#versionID">versionID</A></CODE></TD>
279</TR>
280</TABLE>
281&nbsp;
282<!-- ========== METHOD SUMMARY =========== -->
283
284<A NAME="method_summary"><!-- --></A>
285<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
286<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
287<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
288<B>Method Summary</B></FONT></TH>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;org.apache.hadoop.mapred.TaskTrackerStatus&gt;</CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#activeTaskTrackers()">activeTaskTrackers</A></B>()</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the active task tracker statuses in the cluster</TD>
297</TR>
298<TR BGCOLOR="white" CLASS="TableRowColor">
299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300<CODE>&nbsp;void</CODE></FONT></TD>
301<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#addJobInProgressListener(org.apache.hadoop.mapred.JobInProgressListener)">addJobInProgressListener</A></B>(org.apache.hadoop.mapred.JobInProgressListener&nbsp;listener)</CODE>
302
303<BR>
304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers a <CODE>JobInProgressListener</CODE> for updates from this
305 <CODE>TaskTrackerManager</CODE>.</TD>
306</TR>
307<TR BGCOLOR="white" CLASS="TableRowColor">
308<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;org.apache.hadoop.mapred.TaskTrackerStatus&gt;</CODE></FONT></TD>
310<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#blacklistedTaskTrackers()">blacklistedTaskTrackers</A></B>()</CODE>
311
312<BR>
313&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the blacklisted task tracker statuses in the cluster</TD>
314</TR>
315<TR BGCOLOR="white" CLASS="TableRowColor">
316<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
317<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt;</CODE></FONT></TD>
318<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#completedJobs()">completedJobs</A></B>()</CODE>
319
320<BR>
321&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
322</TR>
323<TR BGCOLOR="white" CLASS="TableRowColor">
324<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
325<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt;</CODE></FONT></TD>
326<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#failedJobs()">failedJobs</A></B>()</CODE>
327
328<BR>
329&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
330</TR>
331<TR BGCOLOR="white" CLASS="TableRowColor">
332<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
333<CODE>&nbsp;void</CODE></FONT></TD>
334<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#failJob(org.apache.hadoop.mapred.JobInProgress)">failJob</A></B>(org.apache.hadoop.mapred.JobInProgress&nbsp;job)</CODE>
335
336<BR>
337&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fail a job and inform the listeners.</TD>
338</TR>
339<TR BGCOLOR="white" CLASS="TableRowColor">
340<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
341<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A></CODE></FONT></TD>
342<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getAddress(org.apache.hadoop.conf.Configuration)">getAddress</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf)</CODE>
343
344<BR>
345&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
346</TR>
347<TR BGCOLOR="white" CLASS="TableRowColor">
348<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
349<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[]</CODE></FONT></TD>
350<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getAllJobs()">getAllJobs</A></B>()</CODE>
351
352<BR>
353&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all the jobs submitted.</TD>
354</TR>
355<TR BGCOLOR="white" CLASS="TableRowColor">
356<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
357<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>
358<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getAssignedTracker(org.apache.hadoop.mapred.TaskAttemptID)">getAssignedTracker</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A>&nbsp;taskId)</CODE>
359
360<BR>
361&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get tracker name for a given task id.</TD>
362</TR>
363<TR BGCOLOR="white" CLASS="TableRowColor">
364<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
365<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>
366<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getBuildVersion()">getBuildVersion</A></B>()</CODE>
367
368<BR>
369&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the buildVersion of the JobTracker</TD>
370</TR>
371<TR BGCOLOR="white" CLASS="TableRowColor">
372<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
373<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD>
374<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getCleanupTaskReports(org.apache.hadoop.mapred.JobID)">getCleanupTaskReports</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
375
376<BR>
377&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab a bunch of info on the cleanup tasks that make up the job</TD>
378</TR>
379<TR BGCOLOR="white" CLASS="TableRowColor">
380<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
381<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A></CODE></FONT></TD>
382<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getClusterStatus()">getClusterStatus</A></B>()</CODE>
383
384<BR>
385&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getClusterStatus(boolean)"><CODE>getClusterStatus(boolean)</CODE></A></I></TD>
386</TR>
387<TR BGCOLOR="white" CLASS="TableRowColor">
388<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
389<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A></CODE></FONT></TD>
390<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getClusterStatus(boolean)">getClusterStatus</A></B>(boolean&nbsp;detailed)</CODE>
391
392<BR>
393&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current status of the cluster</TD>
394</TR>
395<TR BGCOLOR="white" CLASS="TableRowColor">
396<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
397<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>
398<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getFilesystemName()">getFilesystemName</A></B>()</CODE>
399
400<BR>
401&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab the local fs name</TD>
402</TR>
403<TR BGCOLOR="white" CLASS="TableRowColor">
404<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
405<CODE>&nbsp;int</CODE></FONT></TD>
406<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getInfoPort()">getInfoPort</A></B>()</CODE>
407
408<BR>
409&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
410</TR>
411<TR BGCOLOR="white" CLASS="TableRowColor">
412<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
413<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;? extends org.apache.hadoop.mapred.JobTrackerInstrumentation&gt;</CODE></FONT></TD>
414<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getInstrumentationClass(org.apache.hadoop.conf.Configuration)">getInstrumentationClass</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf)</CODE>
415
416<BR>
417&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
418</TR>
419<TR BGCOLOR="white" CLASS="TableRowColor">
420<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
421<CODE>&nbsp;org.apache.hadoop.mapred.JobInProgress</CODE></FONT></TD>
422<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getJob(org.apache.hadoop.mapred.JobID)">getJob</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
423
424<BR>
425&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtain the job object identified by jobid</TD>
426</TR>
427<TR BGCOLOR="white" CLASS="TableRowColor">
428<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
429<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A></CODE></FONT></TD>
430<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getJobCounters(org.apache.hadoop.mapred.JobID)">getJobCounters</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
431
432<BR>
433&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab the current job counters</TD>
434</TR>
435<TR BGCOLOR="white" CLASS="TableRowColor">
436<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
437<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobProfile.html" title="class in org.apache.hadoop.mapred">JobProfile</A></CODE></FONT></TD>
438<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getJobProfile(org.apache.hadoop.mapred.JobID)">getJobProfile</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
439
440<BR>
441&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab a handle to a job that is already known to the JobTracker.</TD>
442</TR>
443<TR BGCOLOR="white" CLASS="TableRowColor">
444<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
445<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[]</CODE></FONT></TD>
446<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getJobsFromQueue(java.lang.String)">getJobsFromQueue</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;queue)</CODE>
447
448<BR>
449&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets all the jobs submitted to the particular Queue</TD>
450</TR>
451<TR BGCOLOR="white" CLASS="TableRowColor">
452<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
453<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A></CODE></FONT></TD>
454<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getJobStatus(org.apache.hadoop.mapred.JobID)">getJobStatus</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
455
456<BR>
457&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab a handle to a job that is already known to the JobTracker.</TD>
458</TR>
459<TR BGCOLOR="white" CLASS="TableRowColor">
460<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
461<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>
462<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getJobTrackerMachine()">getJobTrackerMachine</A></B>()</CODE>
463
464<BR>
465&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
466</TR>
467<TR BGCOLOR="white" CLASS="TableRowColor">
468<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
469<CODE>static&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>
470<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getLocalJobFilePath(org.apache.hadoop.mapred.JobID)">getLocalJobFilePath</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobId)</CODE>
471
472<BR>
473&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the localized job file path on the job trackers local file system</TD>
474</TR>
475<TR BGCOLOR="white" CLASS="TableRowColor">
476<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
477<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD>
478<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getMapTaskReports(org.apache.hadoop.mapred.JobID)">getMapTaskReports</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
479
480<BR>
481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab a bunch of info on the map tasks that make up the job</TD>
482</TR>
483<TR BGCOLOR="white" CLASS="TableRowColor">
484<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
485<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A></CODE></FONT></TD>
486<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNewJobId()">getNewJobId</A></B>()</CODE>
487
488<BR>
489&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocates a new JobId string.</TD>
490</TR>
491<TR BGCOLOR="white" CLASS="TableRowColor">
492<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
493<CODE>&nbsp;int</CODE></FONT></TD>
494<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNextHeartbeatInterval()">getNextHeartbeatInterval</A></B>()</CODE>
495
496<BR>
497&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates next heartbeat interval using cluster size.</TD>
498</TR>
499<TR BGCOLOR="white" CLASS="TableRowColor">
500<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
501<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A></CODE></FONT></TD>
502<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNode(java.lang.String)">getNode</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;name)</CODE>
503
504<BR>
505&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the Node in the network topology that corresponds to the hostname</TD>
506</TR>
507<TR BGCOLOR="white" CLASS="TableRowColor">
508<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
509<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A>&gt;</CODE></FONT></TD>
510<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNodesAtMaxLevel()">getNodesAtMaxLevel</A></B>()</CODE>
511
512<BR>
513&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection of nodes at the max level</TD>
514</TR>
515<TR BGCOLOR="white" CLASS="TableRowColor">
516<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
517<CODE>&nbsp;int</CODE></FONT></TD>
518<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNumberOfUniqueHosts()">getNumberOfUniqueHosts</A></B>()</CODE>
519
520<BR>
521&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
522</TR>
523<TR BGCOLOR="white" CLASS="TableRowColor">
524<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
525<CODE>&nbsp;int</CODE></FONT></TD>
526<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNumResolvedTaskTrackers()">getNumResolvedTaskTrackers</A></B>()</CODE>
527
528<BR>
529&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
530</TR>
531<TR BGCOLOR="white" CLASS="TableRowColor">
532<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
533<CODE>&nbsp;int</CODE></FONT></TD>
534<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getNumTaskCacheLevels()">getNumTaskCacheLevels</A></B>()</CODE>
535
536<BR>
537&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
538</TR>
539<TR BGCOLOR="white" CLASS="TableRowColor">
540<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
541<CODE>static&nbsp;<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A></CODE></FONT></TD>
542<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getParentNode(org.apache.hadoop.net.Node, int)">getParentNode</A></B>(<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A>&nbsp;node,
543              int&nbsp;level)</CODE>
544
545<BR>
546&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
547</TR>
548<TR BGCOLOR="white" CLASS="TableRowColor">
549<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
550<CODE>&nbsp;long</CODE></FONT></TD>
551<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getProtocolVersion(java.lang.String, long)">getProtocolVersion</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;protocol,
552                   long&nbsp;clientVersion)</CODE>
553
554<BR>
555&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return protocol version corresponding to protocol interface.</TD>
556</TR>
557<TR BGCOLOR="white" CLASS="TableRowColor">
558<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
559<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A></CODE></FONT></TD>
560<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getQueueInfo(java.lang.String)">getQueueInfo</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;queue)</CODE>
561
562<BR>
563&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets scheduling information associated with the particular Job queue</TD>
564</TR>
565<TR BGCOLOR="white" CLASS="TableRowColor">
566<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
567<CODE>&nbsp;org.apache.hadoop.mapred.QueueManager</CODE></FONT></TD>
568<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getQueueManager()">getQueueManager</A></B>()</CODE>
569
570<BR>
571&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the <CODE>QueueManager</CODE> associated with the JobTracker.</TD>
572</TR>
573<TR BGCOLOR="white" CLASS="TableRowColor">
574<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
575<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A>[]</CODE></FONT></TD>
576<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getQueues()">getQueues</A></B>()</CODE>
577
578<BR>
579&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets set of Job Queues associated with the Job Tracker</TD>
580</TR>
581<TR BGCOLOR="white" CLASS="TableRowColor">
582<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
583<CODE>&nbsp;long</CODE></FONT></TD>
584<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getRecoveryDuration()">getRecoveryDuration</A></B>()</CODE>
585
586<BR>
587&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How long the jobtracker took to recover from restart.</TD>
588</TR>
589<TR BGCOLOR="white" CLASS="TableRowColor">
590<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
591<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD>
592<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getReduceTaskReports(org.apache.hadoop.mapred.JobID)">getReduceTaskReports</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
593
594<BR>
595&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab a bunch of info on the reduce tasks that make up the job</TD>
596</TR>
597<TR BGCOLOR="white" CLASS="TableRowColor">
598<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
599<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt;</CODE></FONT></TD>
600<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getRunningJobs()">getRunningJobs</A></B>()</CODE>
601
602<BR>
603&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Version that is called from a timer thread, and therefore needs to be
604 careful to synchronize.</TD>
605</TR>
606<TR BGCOLOR="white" CLASS="TableRowColor">
607<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
608<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD>
609<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getSetupTaskReports(org.apache.hadoop.mapred.JobID)">getSetupTaskReports</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
610
611<BR>
612&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab a bunch of info on the setup tasks that make up the job</TD>
613</TR>
614<TR BGCOLOR="white" CLASS="TableRowColor">
615<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
616<CODE>&nbsp;long</CODE></FONT></TD>
617<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getStartTime()">getStartTime</A></B>()</CODE>
618
619<BR>
620&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
621</TR>
622<TR BGCOLOR="white" CLASS="TableRowColor">
623<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
624<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>
625<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getSystemDir()">getSystemDir</A></B>()</CODE>
626
627<BR>
628&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grab the jobtracker system directory path where job-specific files are to be placed.</TD>
629</TR>
630<TR BGCOLOR="white" CLASS="TableRowColor">
631<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
632<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/TaskCompletionEvent.html" title="class in org.apache.hadoop.mapred">TaskCompletionEvent</A>[]</CODE></FONT></TD>
633<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTaskCompletionEvents(org.apache.hadoop.mapred.JobID, int, int)">getTaskCompletionEvents</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid,
634                        int&nbsp;fromEventId,
635                        int&nbsp;maxEvents)</CODE>
636
637<BR>
638&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get task completion events for the jobid, starting from fromEventId.</TD>
639</TR>
640<TR BGCOLOR="white" CLASS="TableRowColor">
641<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
642<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>
643<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTaskDiagnostics(org.apache.hadoop.mapred.TaskAttemptID)">getTaskDiagnostics</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A>&nbsp;taskId)</CODE>
644
645<BR>
646&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the diagnostics for a given task</TD>
647</TR>
648<TR BGCOLOR="white" CLASS="TableRowColor">
649<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
650<CODE>&nbsp;org.apache.hadoop.mapred.TaskTrackerStatus</CODE></FONT></TD>
651<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTaskTracker(java.lang.String)">getTaskTracker</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;trackerID)</CODE>
652
653<BR>
654&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
655</TR>
656<TR BGCOLOR="white" CLASS="TableRowColor">
657<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
658<CODE>&nbsp;org.apache.hadoop.mapred.TaskInProgress</CODE></FONT></TD>
659<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTip(org.apache.hadoop.mapred.TaskID)">getTip</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred">TaskID</A>&nbsp;tipid)</CODE>
660
661<BR>
662&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns specified TaskInProgress, or null.</TD>
663</TR>
664<TR BGCOLOR="white" CLASS="TableRowColor">
665<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
666<CODE>&nbsp;int</CODE></FONT></TD>
667<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTotalSubmissions()">getTotalSubmissions</A></B>()</CODE>
668
669<BR>
670&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
671</TR>
672<TR BGCOLOR="white" CLASS="TableRowColor">
673<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
674<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>
675<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTrackerIdentifier()">getTrackerIdentifier</A></B>()</CODE>
676
677<BR>
678&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the unique identifier (ie.</TD>
679</TR>
680<TR BGCOLOR="white" CLASS="TableRowColor">
681<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
682<CODE>&nbsp;int</CODE></FONT></TD>
683<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getTrackerPort()">getTrackerPort</A></B>()</CODE>
684
685<BR>
686&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
687</TR>
688<TR BGCOLOR="white" CLASS="TableRowColor">
689<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
690<CODE>&nbsp;boolean</CODE></FONT></TD>
691<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#hasRecovered()">hasRecovered</A></B>()</CODE>
692
693<BR>
694&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether the JT has recovered upon restart</TD>
695</TR>
696<TR BGCOLOR="white" CLASS="TableRowColor">
697<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
698<CODE>&nbsp;boolean</CODE></FONT></TD>
699<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#hasRestarted()">hasRestarted</A></B>()</CODE>
700
701<BR>
702&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether the JT has restarted</TD>
703</TR>
704<TR BGCOLOR="white" CLASS="TableRowColor">
705<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
706<CODE>&nbsp;org.apache.hadoop.mapred.HeartbeatResponse</CODE></FONT></TD>
707<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus, boolean, boolean, boolean, short)">heartbeat</A></B>(org.apache.hadoop.mapred.TaskTrackerStatus&nbsp;status,
708          boolean&nbsp;restarted,
709          boolean&nbsp;initialContact,
710          boolean&nbsp;acceptNewTasks,
711          short&nbsp;responseId)</CODE>
712
713<BR>
714&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The periodic heartbeat mechanism between the <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html" title="class in org.apache.hadoop.mapred"><CODE>TaskTracker</CODE></A> and
715 the <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>.</TD>
716</TR>
717<TR BGCOLOR="white" CLASS="TableRowColor">
718<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
719<CODE>&nbsp;void</CODE></FONT></TD>
720<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#initJob(org.apache.hadoop.mapred.JobInProgress)">initJob</A></B>(org.apache.hadoop.mapred.JobInProgress&nbsp;job)</CODE>
721
722<BR>
723&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the Job</TD>
724</TR>
725<TR BGCOLOR="white" CLASS="TableRowColor">
726<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
727<CODE>&nbsp;boolean</CODE></FONT></TD>
728<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#isBlacklisted(java.lang.String)">isBlacklisted</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;trackerID)</CODE>
729
730<BR>
731&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether the tracker is blacklisted or not</TD>
732</TR>
733<TR BGCOLOR="white" CLASS="TableRowColor">
734<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
735<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[]</CODE></FONT></TD>
736<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#jobsToComplete()">jobsToComplete</A></B>()</CODE>
737
738<BR>
739&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the jobs that are not completed and not failed</TD>
740</TR>
741<TR BGCOLOR="white" CLASS="TableRowColor">
742<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
743<CODE>&nbsp;void</CODE></FONT></TD>
744<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#killJob(org.apache.hadoop.mapred.JobID)">killJob</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</CODE>
745
746<BR>
747&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kill the indicated job</TD>
748</TR>
749<TR BGCOLOR="white" CLASS="TableRowColor">
750<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
751<CODE>&nbsp;boolean</CODE></FONT></TD>
752<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#killTask(org.apache.hadoop.mapred.TaskAttemptID, boolean)">killTask</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A>&nbsp;taskid,
753         boolean&nbsp;shouldFail)</CODE>
754
755<BR>
756&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark a Task to be killed</TD>
757</TR>
758<TR BGCOLOR="white" CLASS="TableRowColor">
759<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
760<CODE>static&nbsp;void</CODE></FONT></TD>
761<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#main(java.lang.String[])">main</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;argv)</CODE>
762
763<BR>
764&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the JobTracker process.</TD>
765</TR>
766<TR BGCOLOR="white" CLASS="TableRowColor">
767<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
768<CODE>&nbsp;void</CODE></FONT></TD>
769<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#offerService()">offerService</A></B>()</CODE>
770
771<BR>
772&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run forever</TD>
773</TR>
774<TR BGCOLOR="white" CLASS="TableRowColor">
775<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
776<CODE>&nbsp;void</CODE></FONT></TD>
777<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#refreshServiceAcl()">refreshServiceAcl</A></B>()</CODE>
778
779<BR>
780&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refresh the service-level authorization policy in-effect.</TD>
781</TR>
782<TR BGCOLOR="white" CLASS="TableRowColor">
783<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
784<CODE>&nbsp;void</CODE></FONT></TD>
785<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#removeJobInProgressListener(org.apache.hadoop.mapred.JobInProgressListener)">removeJobInProgressListener</A></B>(org.apache.hadoop.mapred.JobInProgressListener&nbsp;listener)</CODE>
786
787<BR>
788&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unregisters a <CODE>JobInProgressListener</CODE> from this
789 <CODE>TaskTrackerManager</CODE>.</TD>
790</TR>
791<TR BGCOLOR="white" CLASS="TableRowColor">
792<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
793<CODE>&nbsp;void</CODE></FONT></TD>
794<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#reportTaskTrackerError(java.lang.String, java.lang.String, java.lang.String)">reportTaskTrackerError</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;taskTracker,
795                       <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;errorClass,
796                       <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;errorMessage)</CODE>
797
798<BR>
799&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Report a problem to the job tracker.</TD>
800</TR>
801<TR BGCOLOR="white" CLASS="TableRowColor">
802<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
803<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A></CODE></FONT></TD>
804<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#resolveAndAddToTopology(java.lang.String)">resolveAndAddToTopology</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;name)</CODE>
805
806<BR>
807&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
808</TR>
809<TR BGCOLOR="white" CLASS="TableRowColor">
810<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
811<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt;</CODE></FONT></TD>
812<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#runningJobs()">runningJobs</A></B>()</CODE>
813
814<BR>
815&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
816</TR>
817<TR BGCOLOR="white" CLASS="TableRowColor">
818<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
819<CODE>static&nbsp;void</CODE></FONT></TD>
820<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#setInstrumentationClass(org.apache.hadoop.conf.Configuration, java.lang.Class)">setInstrumentationClass</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf,
821                        <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;? extends org.apache.hadoop.mapred.JobTrackerInstrumentation&gt;&nbsp;t)</CODE>
822
823<BR>
824&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
825</TR>
826<TR BGCOLOR="white" CLASS="TableRowColor">
827<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
828<CODE>&nbsp;void</CODE></FONT></TD>
829<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#setJobPriority(org.apache.hadoop.mapred.JobID, java.lang.String)">setJobPriority</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid,
830               <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;priority)</CODE>
831
832<BR>
833&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the priority of a job</TD>
834</TR>
835<TR BGCOLOR="white" CLASS="TableRowColor">
836<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
837<CODE>static&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred">JobTracker</A></CODE></FONT></TD>
838<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#startTracker(org.apache.hadoop.mapred.JobConf)">startTracker</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;conf)</CODE>
839
840<BR>
841&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the JobTracker with given configuration.</TD>
842</TR>
843<TR BGCOLOR="white" CLASS="TableRowColor">
844<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
845<CODE>static&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred">JobTracker</A></CODE></FONT></TD>
846<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#startTracker(org.apache.hadoop.mapred.JobConf, java.lang.String)">startTracker</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;conf,
847             <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;identifier)</CODE>
848
849<BR>
850&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
851</TR>
852<TR BGCOLOR="white" CLASS="TableRowColor">
853<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
854<CODE>&nbsp;void</CODE></FONT></TD>
855<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#stopTracker()">stopTracker</A></B>()</CODE>
856
857<BR>
858&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
859</TR>
860<TR BGCOLOR="white" CLASS="TableRowColor">
861<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
862<CODE>&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A></CODE></FONT></TD>
863<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#submitJob(org.apache.hadoop.mapred.JobID)">submitJob</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobId)</CODE>
864
865<BR>
866&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JobTracker.submitJob() kicks off a new job.</TD>
867</TR>
868<TR BGCOLOR="white" CLASS="TableRowColor">
869<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
870<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<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>&gt;&gt;</CODE></FONT></TD>
871<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#taskTrackerNames()">taskTrackerNames</A></B>()</CODE>
872
873<BR>
874&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the active and blacklisted task tracker names in the cluster.</TD>
875</TR>
876<TR BGCOLOR="white" CLASS="TableRowColor">
877<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
878<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;org.apache.hadoop.mapred.TaskTrackerStatus&gt;</CODE></FONT></TD>
879<TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#taskTrackers()">taskTrackers</A></B>()</CODE>
880
881<BR>
882&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all the task trackers in the cluster</TD>
883</TR>
884</TABLE>
885&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
886<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
887<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
888<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>
889</TR>
890<TR BGCOLOR="white" CLASS="TableRowColor">
891<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#toString()" title="class or interface in java.lang">toString</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>
892</TR>
893</TABLE>
894&nbsp;
895<P>
896
897<!-- ============ FIELD DETAIL =========== -->
898
899<A NAME="field_detail"><!-- --></A>
900<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
901<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
902<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
903<B>Field Detail</B></FONT></TH>
904</TR>
905</TABLE>
906
907<A NAME="LOG"><!-- --></A><H3>
908LOG</H3>
909<PRE>
910public static final org.apache.commons.logging.Log <B>LOG</B></PRE>
911<DL>
912<DL>
913</DL>
914</DL>
915<HR>
916
917<A NAME="HEARTBEAT_INTERVAL_MIN"><!-- --></A><H3>
918HEARTBEAT_INTERVAL_MIN</H3>
919<PRE>
920public static final int <B>HEARTBEAT_INTERVAL_MIN</B></PRE>
921<DL>
922<DL>
923<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.HEARTBEAT_INTERVAL_MIN">Constant Field Values</A></DL>
924</DL>
925<HR>
926
927<A NAME="CLUSTER_INCREMENT"><!-- --></A><H3>
928CLUSTER_INCREMENT</H3>
929<PRE>
930public static final int <B>CLUSTER_INCREMENT</B></PRE>
931<DL>
932<DL>
933<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.CLUSTER_INCREMENT">Constant Field Values</A></DL>
934</DL>
935<HR>
936
937<A NAME="COUNTER_UPDATE_INTERVAL"><!-- --></A><H3>
938COUNTER_UPDATE_INTERVAL</H3>
939<PRE>
940public static final long <B>COUNTER_UPDATE_INTERVAL</B></PRE>
941<DL>
942<DL>
943<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.COUNTER_UPDATE_INTERVAL">Constant Field Values</A></DL>
944</DL>
945<HR>
946
947<A NAME="SUCCESS"><!-- --></A><H3>
948SUCCESS</H3>
949<PRE>
950public static final int <B>SUCCESS</B></PRE>
951<DL>
952<DL>
953<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.SUCCESS">Constant Field Values</A></DL>
954</DL>
955<HR>
956
957<A NAME="FILE_NOT_FOUND"><!-- --></A><H3>
958FILE_NOT_FOUND</H3>
959<PRE>
960public static final int <B>FILE_NOT_FOUND</B></PRE>
961<DL>
962<DL>
963<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.FILE_NOT_FOUND">Constant Field Values</A></DL>
964</DL>
965<HR>
966
967<A NAME="MAP_OUTPUT_LENGTH"><!-- --></A><H3>
968MAP_OUTPUT_LENGTH</H3>
969<PRE>
970public static final <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>MAP_OUTPUT_LENGTH</B></PRE>
971<DL>
972<DD>The custom http header used for the map output length.
973<P>
974<DL>
975<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.MAP_OUTPUT_LENGTH">Constant Field Values</A></DL>
976</DL>
977<HR>
978
979<A NAME="RAW_MAP_OUTPUT_LENGTH"><!-- --></A><H3>
980RAW_MAP_OUTPUT_LENGTH</H3>
981<PRE>
982public static final <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>RAW_MAP_OUTPUT_LENGTH</B></PRE>
983<DL>
984<DD>The custom http header used for the "raw" map output length.
985<P>
986<DL>
987<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.RAW_MAP_OUTPUT_LENGTH">Constant Field Values</A></DL>
988</DL>
989<HR>
990
991<A NAME="FROM_MAP_TASK"><!-- --></A><H3>
992FROM_MAP_TASK</H3>
993<PRE>
994public static final <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>FROM_MAP_TASK</B></PRE>
995<DL>
996<DD>The map task from which the map output data is being transferred
997<P>
998<DL>
999<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.FROM_MAP_TASK">Constant Field Values</A></DL>
1000</DL>
1001<HR>
1002
1003<A NAME="FOR_REDUCE_TASK"><!-- --></A><H3>
1004FOR_REDUCE_TASK</H3>
1005<PRE>
1006public static final <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>FOR_REDUCE_TASK</B></PRE>
1007<DL>
1008<DD>The reduce task number for which this map output is being transferred
1009<P>
1010<DL>
1011<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.FOR_REDUCE_TASK">Constant Field Values</A></DL>
1012</DL>
1013<HR>
1014
1015<A NAME="WORKDIR"><!-- --></A><H3>
1016WORKDIR</H3>
1017<PRE>
1018public static final <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>WORKDIR</B></PRE>
1019<DL>
1020<DL>
1021<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.WORKDIR">Constant Field Values</A></DL>
1022</DL>
1023<HR>
1024
1025<A NAME="versionID"><!-- --></A><H3>
1026versionID</H3>
1027<PRE>
1028public static final long <B>versionID</B></PRE>
1029<DL>
1030<DD>version 3 introduced to replace
1031 emitHearbeat/pollForNewTask/pollForTaskWithClosedJob with
1032 <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus, boolean, boolean, boolean, short)"><CODE>heartbeat(TaskTrackerStatus, boolean, boolean, boolean, short)</CODE></A>
1033 version 4 changed TaskReport for HADOOP-549.
1034 version 5 introduced that removes locateMapOutputs and instead uses
1035 getTaskCompletionEvents to figure finished maps and fetch the outputs
1036 version 6 adds maxTasks to TaskTrackerStatus for HADOOP-1245
1037 version 7 replaces maxTasks by maxMapTasks and maxReduceTasks in
1038 TaskTrackerStatus for HADOOP-1274
1039 Version 8: HeartbeatResponse is added with the next heartbeat interval.
1040 version 9 changes the counter representation for HADOOP-2248
1041 version 10 changes the TaskStatus representation for HADOOP-2208
1042 version 11 changes string to JobID in getTaskCompletionEvents().
1043 version 12 changes the counters representation for HADOOP-1915
1044 version 13 added call getBuildVersion() for HADOOP-236
1045 Version 14: replaced getFilesystemName with getSystemDir for HADOOP-3135
1046 Version 15: Changed format of Task and TaskStatus for HADOOP-153
1047 Version 16: adds ResourceStatus to TaskTrackerStatus for HADOOP-3759
1048 Version 17: Changed format of Task and TaskStatus for HADOOP-3150
1049 Version 18: Changed status message due to changes in TaskStatus
1050 Version 19: Changed heartbeat to piggyback JobTracker restart information
1051                 so that the TaskTracker can synchronize itself.
1052 Version 20: Changed status message due to changes in TaskStatus
1053             (HADOOP-4232)
1054 Version 21: Changed information reported in TaskTrackerStatus'
1055             ResourceStatus and the corresponding accessor methods
1056             (HADOOP-4035)
1057 Version 22: Replaced parameter 'initialContact' with 'restarted'
1058             in heartbeat method (HADOOP-4305)
1059 Version 23: Added parameter 'initialContact' again in heartbeat method
1060            (HADOOP-4869)
1061 Version 24: Changed format of Task and TaskStatus for HADOOP-4759
1062 Version 25: JobIDs are passed in response to JobTracker restart
1063<P>
1064<DL>
1065<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.versionID">Constant Field Values</A></DL>
1066</DL>
1067<HR>
1068
1069<A NAME="TRACKERS_OK"><!-- --></A><H3>
1070TRACKERS_OK</H3>
1071<PRE>
1072public static final int <B>TRACKERS_OK</B></PRE>
1073<DL>
1074<DL>
1075<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.TRACKERS_OK">Constant Field Values</A></DL>
1076</DL>
1077<HR>
1078
1079<A NAME="UNKNOWN_TASKTRACKER"><!-- --></A><H3>
1080UNKNOWN_TASKTRACKER</H3>
1081<PRE>
1082public static final int <B>UNKNOWN_TASKTRACKER</B></PRE>
1083<DL>
1084<DL>
1085<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.UNKNOWN_TASKTRACKER">Constant Field Values</A></DL>
1086</DL>
1087<HR>
1088
1089<A NAME="versionID"><!-- --></A><H3>
1090versionID</H3>
1091<PRE>
1092public static final long <B>versionID</B></PRE>
1093<DL>
1094<DL>
1095<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobTracker.versionID">Constant Field Values</A></DL>
1096</DL>
1097
1098<!-- ============ METHOD DETAIL ========== -->
1099
1100<A NAME="method_detail"><!-- --></A>
1101<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
1102<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1103<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
1104<B>Method Detail</B></FONT></TH>
1105</TR>
1106</TABLE>
1107
1108<A NAME="startTracker(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3>
1109startTracker</H3>
1110<PRE>
1111public static <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred">JobTracker</A> <B>startTracker</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;conf)
1112                               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>,
1113                                      <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
1114<DL>
1115<DD>Start the JobTracker with given configuration.
1116 
1117 The conf will be modified to reflect the actual ports on which
1118 the JobTracker is up and running if the user passes the port as
1119 <code>zero</code>.
1120<P>
1121<DD><DL>
1122</DL>
1123</DD>
1124<DD><DL>
1125<DT><B>Parameters:</B><DD><CODE>conf</CODE> - configuration for the JobTracker.
1126<DT><B>Throws:</B>
1127<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>
1128<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
1129</DD>
1130</DL>
1131<HR>
1132
1133<A NAME="startTracker(org.apache.hadoop.mapred.JobConf, java.lang.String)"><!-- --></A><H3>
1134startTracker</H3>
1135<PRE>
1136public static <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred">JobTracker</A> <B>startTracker</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;conf,
1137                                      <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;identifier)
1138                               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>,
1139                                      <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
1140<DL>
1141<DD><DL>
1142</DL>
1143</DD>
1144<DD><DL>
1145
1146<DT><B>Throws:</B>
1147<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>
1148<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
1149</DD>
1150</DL>
1151<HR>
1152
1153<A NAME="stopTracker()"><!-- --></A><H3>
1154stopTracker</H3>
1155<PRE>
1156public void <B>stopTracker</B>()
1157                 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>
1158<DL>
1159<DD><DL>
1160</DL>
1161</DD>
1162<DD><DL>
1163
1164<DT><B>Throws:</B>
1165<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>
1166</DD>
1167</DL>
1168<HR>
1169
1170<A NAME="getProtocolVersion(java.lang.String, long)"><!-- --></A><H3>
1171getProtocolVersion</H3>
1172<PRE>
1173public long <B>getProtocolVersion</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;protocol,
1174                               long&nbsp;clientVersion)
1175                        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>
1176<DL>
1177<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/ipc/VersionedProtocol.html#getProtocolVersion(java.lang.String, long)">VersionedProtocol</A></CODE></B></DD>
1178<DD>Return protocol version corresponding to protocol interface.
1179<P>
1180<DD><DL>
1181<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/ipc/VersionedProtocol.html#getProtocolVersion(java.lang.String, long)">getProtocolVersion</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/ipc/VersionedProtocol.html" title="interface in org.apache.hadoop.ipc">VersionedProtocol</A></CODE></DL>
1182</DD>
1183<DD><DL>
1184<DT><B>Parameters:</B><DD><CODE>protocol</CODE> - The classname of the protocol interface<DD><CODE>clientVersion</CODE> - The version of the protocol that the client speaks
1185<DT><B>Returns:</B><DD>the version that the server will speak
1186<DT><B>Throws:</B>
1187<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>
1188</DD>
1189</DL>
1190<HR>
1191
1192<A NAME="hasRestarted()"><!-- --></A><H3>
1193hasRestarted</H3>
1194<PRE>
1195public boolean <B>hasRestarted</B>()</PRE>
1196<DL>
1197<DD>Whether the JT has restarted
1198<P>
1199<DD><DL>
1200</DL>
1201</DD>
1202<DD><DL>
1203</DL>
1204</DD>
1205</DL>
1206<HR>
1207
1208<A NAME="hasRecovered()"><!-- --></A><H3>
1209hasRecovered</H3>
1210<PRE>
1211public boolean <B>hasRecovered</B>()</PRE>
1212<DL>
1213<DD>Whether the JT has recovered upon restart
1214<P>
1215<DD><DL>
1216</DL>
1217</DD>
1218<DD><DL>
1219</DL>
1220</DD>
1221</DL>
1222<HR>
1223
1224<A NAME="getRecoveryDuration()"><!-- --></A><H3>
1225getRecoveryDuration</H3>
1226<PRE>
1227public long <B>getRecoveryDuration</B>()</PRE>
1228<DL>
1229<DD>How long the jobtracker took to recover from restart.
1230<P>
1231<DD><DL>
1232</DL>
1233</DD>
1234<DD><DL>
1235</DL>
1236</DD>
1237</DL>
1238<HR>
1239
1240<A NAME="getInstrumentationClass(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3>
1241getInstrumentationClass</H3>
1242<PRE>
1243public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;? extends org.apache.hadoop.mapred.JobTrackerInstrumentation&gt; <B>getInstrumentationClass</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf)</PRE>
1244<DL>
1245<DD><DL>
1246</DL>
1247</DD>
1248<DD><DL>
1249</DL>
1250</DD>
1251</DL>
1252<HR>
1253
1254<A NAME="setInstrumentationClass(org.apache.hadoop.conf.Configuration, java.lang.Class)"><!-- --></A><H3>
1255setInstrumentationClass</H3>
1256<PRE>
1257public static void <B>setInstrumentationClass</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf,
1258                                           <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;? extends org.apache.hadoop.mapred.JobTrackerInstrumentation&gt;&nbsp;t)</PRE>
1259<DL>
1260<DD><DL>
1261</DL>
1262</DD>
1263<DD><DL>
1264</DL>
1265</DD>
1266</DL>
1267<HR>
1268
1269<A NAME="getAddress(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3>
1270getAddress</H3>
1271<PRE>
1272public static <A HREF="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A> <B>getAddress</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A>&nbsp;conf)</PRE>
1273<DL>
1274<DD><DL>
1275</DL>
1276</DD>
1277<DD><DL>
1278</DL>
1279</DD>
1280</DL>
1281<HR>
1282
1283<A NAME="offerService()"><!-- --></A><H3>
1284offerService</H3>
1285<PRE>
1286public void <B>offerService</B>()
1287                  throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A>,
1288                         <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>
1289<DL>
1290<DD>Run forever
1291<P>
1292<DD><DL>
1293</DL>
1294</DD>
1295<DD><DL>
1296
1297<DT><B>Throws:</B>
1298<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE>
1299<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>
1300</DD>
1301</DL>
1302<HR>
1303
1304<A NAME="getTotalSubmissions()"><!-- --></A><H3>
1305getTotalSubmissions</H3>
1306<PRE>
1307public int <B>getTotalSubmissions</B>()</PRE>
1308<DL>
1309<DD><DL>
1310</DL>
1311</DD>
1312<DD><DL>
1313</DL>
1314</DD>
1315</DL>
1316<HR>
1317
1318<A NAME="getJobTrackerMachine()"><!-- --></A><H3>
1319getJobTrackerMachine</H3>
1320<PRE>
1321public <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>getJobTrackerMachine</B>()</PRE>
1322<DL>
1323<DD><DL>
1324</DL>
1325</DD>
1326<DD><DL>
1327</DL>
1328</DD>
1329</DL>
1330<HR>
1331
1332<A NAME="getTrackerIdentifier()"><!-- --></A><H3>
1333getTrackerIdentifier</H3>
1334<PRE>
1335public <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>getTrackerIdentifier</B>()</PRE>
1336<DL>
1337<DD>Get the unique identifier (ie. timestamp) of this job tracker start.
1338<P>
1339<DD><DL>
1340</DL>
1341</DD>
1342<DD><DL>
1343
1344<DT><B>Returns:</B><DD>a string with a unique identifier</DL>
1345</DD>
1346</DL>
1347<HR>
1348
1349<A NAME="getTrackerPort()"><!-- --></A><H3>
1350getTrackerPort</H3>
1351<PRE>
1352public int <B>getTrackerPort</B>()</PRE>
1353<DL>
1354<DD><DL>
1355</DL>
1356</DD>
1357<DD><DL>
1358</DL>
1359</DD>
1360</DL>
1361<HR>
1362
1363<A NAME="getInfoPort()"><!-- --></A><H3>
1364getInfoPort</H3>
1365<PRE>
1366public int <B>getInfoPort</B>()</PRE>
1367<DL>
1368<DD><DL>
1369</DL>
1370</DD>
1371<DD><DL>
1372</DL>
1373</DD>
1374</DL>
1375<HR>
1376
1377<A NAME="getStartTime()"><!-- --></A><H3>
1378getStartTime</H3>
1379<PRE>
1380public long <B>getStartTime</B>()</PRE>
1381<DL>
1382<DD><DL>
1383</DL>
1384</DD>
1385<DD><DL>
1386</DL>
1387</DD>
1388</DL>
1389<HR>
1390
1391<A NAME="runningJobs()"><!-- --></A><H3>
1392runningJobs</H3>
1393<PRE>
1394public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt; <B>runningJobs</B>()</PRE>
1395<DL>
1396<DD><DL>
1397</DL>
1398</DD>
1399<DD><DL>
1400</DL>
1401</DD>
1402</DL>
1403<HR>
1404
1405<A NAME="getRunningJobs()"><!-- --></A><H3>
1406getRunningJobs</H3>
1407<PRE>
1408public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt; <B>getRunningJobs</B>()</PRE>
1409<DL>
1410<DD>Version that is called from a timer thread, and therefore needs to be
1411 careful to synchronize.
1412<P>
1413<DD><DL>
1414</DL>
1415</DD>
1416<DD><DL>
1417</DL>
1418</DD>
1419</DL>
1420<HR>
1421
1422<A NAME="failedJobs()"><!-- --></A><H3>
1423failedJobs</H3>
1424<PRE>
1425public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt; <B>failedJobs</B>()</PRE>
1426<DL>
1427<DD><DL>
1428</DL>
1429</DD>
1430<DD><DL>
1431</DL>
1432</DD>
1433</DL>
1434<HR>
1435
1436<A NAME="completedJobs()"><!-- --></A><H3>
1437completedJobs</H3>
1438<PRE>
1439public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A>&lt;org.apache.hadoop.mapred.JobInProgress&gt; <B>completedJobs</B>()</PRE>
1440<DL>
1441<DD><DL>
1442</DL>
1443</DD>
1444<DD><DL>
1445</DL>
1446</DD>
1447</DL>
1448<HR>
1449
1450<A NAME="taskTrackers()"><!-- --></A><H3>
1451taskTrackers</H3>
1452<PRE>
1453public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;org.apache.hadoop.mapred.TaskTrackerStatus&gt; <B>taskTrackers</B>()</PRE>
1454<DL>
1455<DD>Get all the task trackers in the cluster
1456<P>
1457<DD><DL>
1458</DL>
1459</DD>
1460<DD><DL>
1461
1462<DT><B>Returns:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> of <CODE>TaskTrackerStatus</CODE></DL>
1463</DD>
1464</DL>
1465<HR>
1466
1467<A NAME="activeTaskTrackers()"><!-- --></A><H3>
1468activeTaskTrackers</H3>
1469<PRE>
1470public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;org.apache.hadoop.mapred.TaskTrackerStatus&gt; <B>activeTaskTrackers</B>()</PRE>
1471<DL>
1472<DD>Get the active task tracker statuses in the cluster
1473<P>
1474<DD><DL>
1475</DL>
1476</DD>
1477<DD><DL>
1478
1479<DT><B>Returns:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> of active <CODE>TaskTrackerStatus</CODE></DL>
1480</DD>
1481</DL>
1482<HR>
1483
1484<A NAME="taskTrackerNames()"><!-- --></A><H3>
1485taskTrackerNames</H3>
1486<PRE>
1487public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<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>&gt;&gt; <B>taskTrackerNames</B>()</PRE>
1488<DL>
1489<DD>Get the active and blacklisted task tracker names in the cluster. The first
1490 element in the returned list contains the list of active tracker names.
1491 The second element in the returned list contains the list of blacklisted
1492 tracker names.
1493<P>
1494<DD><DL>
1495</DL>
1496</DD>
1497<DD><DL>
1498</DL>
1499</DD>
1500</DL>
1501<HR>
1502
1503<A NAME="blacklistedTaskTrackers()"><!-- --></A><H3>
1504blacklistedTaskTrackers</H3>
1505<PRE>
1506public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;org.apache.hadoop.mapred.TaskTrackerStatus&gt; <B>blacklistedTaskTrackers</B>()</PRE>
1507<DL>
1508<DD>Get the blacklisted task tracker statuses in the cluster
1509<P>
1510<DD><DL>
1511</DL>
1512</DD>
1513<DD><DL>
1514
1515<DT><B>Returns:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> of blacklisted <CODE>TaskTrackerStatus</CODE></DL>
1516</DD>
1517</DL>
1518<HR>
1519
1520<A NAME="isBlacklisted(java.lang.String)"><!-- --></A><H3>
1521isBlacklisted</H3>
1522<PRE>
1523public boolean <B>isBlacklisted</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;trackerID)</PRE>
1524<DL>
1525<DD>Whether the tracker is blacklisted or not
1526<P>
1527<DD><DL>
1528</DL>
1529</DD>
1530<DD><DL>
1531<DT><B>Parameters:</B><DD><CODE>trackerID</CODE> -
1532<DT><B>Returns:</B><DD>true if blacklisted, false otherwise</DL>
1533</DD>
1534</DL>
1535<HR>
1536
1537<A NAME="getTaskTracker(java.lang.String)"><!-- --></A><H3>
1538getTaskTracker</H3>
1539<PRE>
1540public org.apache.hadoop.mapred.TaskTrackerStatus <B>getTaskTracker</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;trackerID)</PRE>
1541<DL>
1542<DD><DL>
1543</DL>
1544</DD>
1545<DD><DL>
1546</DL>
1547</DD>
1548</DL>
1549<HR>
1550
1551<A NAME="resolveAndAddToTopology(java.lang.String)"><!-- --></A><H3>
1552resolveAndAddToTopology</H3>
1553<PRE>
1554public <A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A> <B>resolveAndAddToTopology</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;name)</PRE>
1555<DL>
1556<DD><DL>
1557</DL>
1558</DD>
1559<DD><DL>
1560</DL>
1561</DD>
1562</DL>
1563<HR>
1564
1565<A NAME="getNodesAtMaxLevel()"><!-- --></A><H3>
1566getNodesAtMaxLevel</H3>
1567<PRE>
1568public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A>&gt; <B>getNodesAtMaxLevel</B>()</PRE>
1569<DL>
1570<DD>Returns a collection of nodes at the max level
1571<P>
1572<DD><DL>
1573</DL>
1574</DD>
1575<DD><DL>
1576</DL>
1577</DD>
1578</DL>
1579<HR>
1580
1581<A NAME="getParentNode(org.apache.hadoop.net.Node, int)"><!-- --></A><H3>
1582getParentNode</H3>
1583<PRE>
1584public static <A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A> <B>getParentNode</B>(<A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A>&nbsp;node,
1585                                 int&nbsp;level)</PRE>
1586<DL>
1587<DD><DL>
1588</DL>
1589</DD>
1590<DD><DL>
1591</DL>
1592</DD>
1593</DL>
1594<HR>
1595
1596<A NAME="getNode(java.lang.String)"><!-- --></A><H3>
1597getNode</H3>
1598<PRE>
1599public <A HREF="../../../../org/apache/hadoop/net/Node.html" title="interface in org.apache.hadoop.net">Node</A> <B>getNode</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;name)</PRE>
1600<DL>
1601<DD>Return the Node in the network topology that corresponds to the hostname
1602<P>
1603<DD><DL>
1604</DL>
1605</DD>
1606<DD><DL>
1607</DL>
1608</DD>
1609</DL>
1610<HR>
1611
1612<A NAME="getNumTaskCacheLevels()"><!-- --></A><H3>
1613getNumTaskCacheLevels</H3>
1614<PRE>
1615public int <B>getNumTaskCacheLevels</B>()</PRE>
1616<DL>
1617<DD><DL>
1618</DL>
1619</DD>
1620<DD><DL>
1621</DL>
1622</DD>
1623</DL>
1624<HR>
1625
1626<A NAME="getNumResolvedTaskTrackers()"><!-- --></A><H3>
1627getNumResolvedTaskTrackers</H3>
1628<PRE>
1629public int <B>getNumResolvedTaskTrackers</B>()</PRE>
1630<DL>
1631<DD><DL>
1632</DL>
1633</DD>
1634<DD><DL>
1635</DL>
1636</DD>
1637</DL>
1638<HR>
1639
1640<A NAME="getNumberOfUniqueHosts()"><!-- --></A><H3>
1641getNumberOfUniqueHosts</H3>
1642<PRE>
1643public int <B>getNumberOfUniqueHosts</B>()</PRE>
1644<DL>
1645<DD><DL>
1646</DL>
1647</DD>
1648<DD><DL>
1649
1650<DT><B>Returns:</B><DD>The number of unique hosts running tasktrackers.</DL>
1651</DD>
1652</DL>
1653<HR>
1654
1655<A NAME="addJobInProgressListener(org.apache.hadoop.mapred.JobInProgressListener)"><!-- --></A><H3>
1656addJobInProgressListener</H3>
1657<PRE>
1658public void <B>addJobInProgressListener</B>(org.apache.hadoop.mapred.JobInProgressListener&nbsp;listener)</PRE>
1659<DL>
1660<DD>Registers a <CODE>JobInProgressListener</CODE> for updates from this
1661 <CODE>TaskTrackerManager</CODE>.
1662<P>
1663<DD><DL>
1664</DL>
1665</DD>
1666<DD><DL>
1667</DL>
1668</DD>
1669</DL>
1670<HR>
1671
1672<A NAME="removeJobInProgressListener(org.apache.hadoop.mapred.JobInProgressListener)"><!-- --></A><H3>
1673removeJobInProgressListener</H3>
1674<PRE>
1675public void <B>removeJobInProgressListener</B>(org.apache.hadoop.mapred.JobInProgressListener&nbsp;listener)</PRE>
1676<DL>
1677<DD>Unregisters a <CODE>JobInProgressListener</CODE> from this
1678 <CODE>TaskTrackerManager</CODE>.
1679<P>
1680<DD><DL>
1681</DL>
1682</DD>
1683<DD><DL>
1684</DL>
1685</DD>
1686</DL>
1687<HR>
1688
1689<A NAME="getQueueManager()"><!-- --></A><H3>
1690getQueueManager</H3>
1691<PRE>
1692public org.apache.hadoop.mapred.QueueManager <B>getQueueManager</B>()</PRE>
1693<DL>
1694<DD>Return the <CODE>QueueManager</CODE> associated with the JobTracker.
1695<P>
1696<DD><DL>
1697</DL>
1698</DD>
1699<DD><DL>
1700
1701<DT><B>Returns:</B><DD>the <CODE>QueueManager</CODE></DL>
1702</DD>
1703</DL>
1704<HR>
1705
1706<A NAME="getBuildVersion()"><!-- --></A><H3>
1707getBuildVersion</H3>
1708<PRE>
1709public <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>getBuildVersion</B>()
1710                       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>
1711<DL>
1712<DD>Returns the buildVersion of the JobTracker
1713<P>
1714<DD><DL>
1715</DL>
1716</DD>
1717<DD><DL>
1718
1719<DT><B>Throws:</B>
1720<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>
1721</DD>
1722</DL>
1723<HR>
1724
1725<A NAME="heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus, boolean, boolean, boolean, short)"><!-- --></A><H3>
1726heartbeat</H3>
1727<PRE>
1728public org.apache.hadoop.mapred.HeartbeatResponse <B>heartbeat</B>(org.apache.hadoop.mapred.TaskTrackerStatus&nbsp;status,
1729                                                            boolean&nbsp;restarted,
1730                                                            boolean&nbsp;initialContact,
1731                                                            boolean&nbsp;acceptNewTasks,
1732                                                            short&nbsp;responseId)
1733                                                     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>
1734<DL>
1735<DD>The periodic heartbeat mechanism between the <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html" title="class in org.apache.hadoop.mapred"><CODE>TaskTracker</CODE></A> and
1736 the <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>.
1737 
1738 The <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A> processes the status information sent by the
1739 <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html" title="class in org.apache.hadoop.mapred"><CODE>TaskTracker</CODE></A> and responds with instructions to start/stop
1740 tasks or jobs, and also 'reset' instructions during contingencies.
1741<P>
1742<DD><DL>
1743</DL>
1744</DD>
1745<DD><DL>
1746<DT><B>Parameters:</B><DD><CODE>status</CODE> - the status update<DD><CODE>restarted</CODE> - <code>true</code> if the process has just started or
1747                   restarted, <code>false</code> otherwise<DD><CODE>initialContact</CODE> - <code>true</code> if this is first interaction since
1748                       'refresh', <code>false</code> otherwise.<DD><CODE>acceptNewTasks</CODE> - <code>true</code> if the <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html" title="class in org.apache.hadoop.mapred"><CODE>TaskTracker</CODE></A> is
1749                       ready to accept new tasks to run.<DD><CODE>responseId</CODE> - the last responseId successfully acted upon by the
1750                   <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html" title="class in org.apache.hadoop.mapred"><CODE>TaskTracker</CODE></A>.
1751<DT><B>Returns:</B><DD>a <CODE>HeartbeatResponse</CODE> with
1752         fresh instructions.
1753<DT><B>Throws:</B>
1754<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>
1755</DD>
1756</DL>
1757<HR>
1758
1759<A NAME="getNextHeartbeatInterval()"><!-- --></A><H3>
1760getNextHeartbeatInterval</H3>
1761<PRE>
1762public int <B>getNextHeartbeatInterval</B>()</PRE>
1763<DL>
1764<DD>Calculates next heartbeat interval using cluster size.
1765 Heartbeat interval is incremented 1second for every 50 nodes.
1766<P>
1767<DD><DL>
1768</DL>
1769</DD>
1770<DD><DL>
1771
1772<DT><B>Returns:</B><DD>next heartbeat interval.</DL>
1773</DD>
1774</DL>
1775<HR>
1776
1777<A NAME="getFilesystemName()"><!-- --></A><H3>
1778getFilesystemName</H3>
1779<PRE>
1780public <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>getFilesystemName</B>()
1781                         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>
1782<DL>
1783<DD>Grab the local fs name
1784<P>
1785<DD><DL>
1786</DL>
1787</DD>
1788<DD><DL>
1789
1790<DT><B>Throws:</B>
1791<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>
1792</DD>
1793</DL>
1794<HR>
1795
1796<A NAME="reportTaskTrackerError(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
1797reportTaskTrackerError</H3>
1798<PRE>
1799public void <B>reportTaskTrackerError</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;taskTracker,
1800                                   <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;errorClass,
1801                                   <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;errorMessage)
1802                            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>
1803<DL>
1804<DD>Report a problem to the job tracker.
1805<P>
1806<DD><DL>
1807</DL>
1808</DD>
1809<DD><DL>
1810<DT><B>Parameters:</B><DD><CODE>taskTracker</CODE> - the name of the task tracker<DD><CODE>errorClass</CODE> - the kind of error (eg. the class that was thrown)<DD><CODE>errorMessage</CODE> - the human readable error message
1811<DT><B>Throws:</B>
1812<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> - if there was a problem in communication or on the
1813                     remote side</DL>
1814</DD>
1815</DL>
1816<HR>
1817
1818<A NAME="getNewJobId()"><!-- --></A><H3>
1819getNewJobId</H3>
1820<PRE>
1821public <A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> <B>getNewJobId</B>()
1822                  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>
1823<DL>
1824<DD>Allocates a new JobId string.
1825<P>
1826<DD><DL>
1827</DL>
1828</DD>
1829<DD><DL>
1830
1831<DT><B>Returns:</B><DD>a unique job name for submitting jobs.
1832<DT><B>Throws:</B>
1833<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>
1834</DD>
1835</DL>
1836<HR>
1837
1838<A NAME="submitJob(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
1839submitJob</H3>
1840<PRE>
1841public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A> <B>submitJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobId)
1842                    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>
1843<DL>
1844<DD>JobTracker.submitJob() kicks off a new job. 
1845
1846 Create a 'JobInProgress' object, which contains both JobProfile
1847 and JobStatus.  Those two sub-objects are sometimes shipped outside
1848 of the JobTracker.  But JobInProgress adds info that's useful for
1849 the JobTracker alone.
1850<P>
1851<DD><DL>
1852</DL>
1853</DD>
1854<DD><DL>
1855
1856<DT><B>Throws:</B>
1857<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>
1858</DD>
1859</DL>
1860<HR>
1861
1862<A NAME="getClusterStatus()"><!-- --></A><H3>
1863getClusterStatus</H3>
1864<PRE>
1865<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>
1866</FONT>public <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A> <B>getClusterStatus</B>()</PRE>
1867<DL>
1868<DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html#getClusterStatus(boolean)"><CODE>getClusterStatus(boolean)</CODE></A></I>
1869<P>
1870<DD><DL>
1871</DL>
1872</DD>
1873<DD><DL>
1874
1875<DT><B>Returns:</B><DD>a summary of the cluster's status.</DL>
1876</DD>
1877</DL>
1878<HR>
1879
1880<A NAME="getClusterStatus(boolean)"><!-- --></A><H3>
1881getClusterStatus</H3>
1882<PRE>
1883public <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A> <B>getClusterStatus</B>(boolean&nbsp;detailed)</PRE>
1884<DL>
1885<DD>Get the current status of the cluster
1886<P>
1887<DD><DL>
1888</DL>
1889</DD>
1890<DD><DL>
1891<DT><B>Parameters:</B><DD><CODE>detailed</CODE> - if true then report tracker names as well
1892<DT><B>Returns:</B><DD>summary of the state of the cluster</DL>
1893</DD>
1894</DL>
1895<HR>
1896
1897<A NAME="killJob(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
1898killJob</H3>
1899<PRE>
1900public void <B>killJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)
1901             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>
1902<DL>
1903<DD>Kill the indicated job
1904<P>
1905<DD><DL>
1906</DL>
1907</DD>
1908<DD><DL>
1909
1910<DT><B>Throws:</B>
1911<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>
1912</DD>
1913</DL>
1914<HR>
1915
1916<A NAME="initJob(org.apache.hadoop.mapred.JobInProgress)"><!-- --></A><H3>
1917initJob</H3>
1918<PRE>
1919public void <B>initJob</B>(org.apache.hadoop.mapred.JobInProgress&nbsp;job)</PRE>
1920<DL>
1921<DD>Initialize the Job
1922<P>
1923<DD><DL>
1924</DL>
1925</DD>
1926<DD><DL>
1927<DT><B>Parameters:</B><DD><CODE>job</CODE> - JobInProgress object</DL>
1928</DD>
1929</DL>
1930<HR>
1931
1932<A NAME="failJob(org.apache.hadoop.mapred.JobInProgress)"><!-- --></A><H3>
1933failJob</H3>
1934<PRE>
1935public void <B>failJob</B>(org.apache.hadoop.mapred.JobInProgress&nbsp;job)</PRE>
1936<DL>
1937<DD>Fail a job and inform the listeners. Other components in the framework
1938 should use this to fail a job.
1939<P>
1940<DD><DL>
1941</DL>
1942</DD>
1943<DD><DL>
1944<DT><B>Parameters:</B><DD><CODE>job</CODE> - JobInProgress object</DL>
1945</DD>
1946</DL>
1947<HR>
1948
1949<A NAME="setJobPriority(org.apache.hadoop.mapred.JobID, java.lang.String)"><!-- --></A><H3>
1950setJobPriority</H3>
1951<PRE>
1952public void <B>setJobPriority</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid,
1953                           <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;priority)
1954                    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>
1955<DL>
1956<DD>Set the priority of a job
1957<P>
1958<DD><DL>
1959</DL>
1960</DD>
1961<DD><DL>
1962<DT><B>Parameters:</B><DD><CODE>jobid</CODE> - id of the job<DD><CODE>priority</CODE> - new priority of the job
1963<DT><B>Throws:</B>
1964<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>
1965</DD>
1966</DL>
1967<HR>
1968
1969<A NAME="getJobProfile(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
1970getJobProfile</H3>
1971<PRE>
1972public <A HREF="../../../../org/apache/hadoop/mapred/JobProfile.html" title="class in org.apache.hadoop.mapred">JobProfile</A> <B>getJobProfile</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
1973<DL>
1974<DD>Grab a handle to a job that is already known to the JobTracker.
1975<P>
1976<DD><DL>
1977</DL>
1978</DD>
1979<DD><DL>
1980
1981<DT><B>Returns:</B><DD>Profile of the job, or null if not found.</DL>
1982</DD>
1983</DL>
1984<HR>
1985
1986<A NAME="getJobStatus(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
1987getJobStatus</H3>
1988<PRE>
1989public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A> <B>getJobStatus</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
1990<DL>
1991<DD>Grab a handle to a job that is already known to the JobTracker.
1992<P>
1993<DD><DL>
1994</DL>
1995</DD>
1996<DD><DL>
1997
1998<DT><B>Returns:</B><DD>Status of the job, or null if not found.</DL>
1999</DD>
2000</DL>
2001<HR>
2002
2003<A NAME="getJobCounters(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2004getJobCounters</H3>
2005<PRE>
2006public <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> <B>getJobCounters</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
2007<DL>
2008<DD>Grab the current job counters
2009<P>
2010<DD><DL>
2011</DL>
2012</DD>
2013<DD><DL>
2014</DL>
2015</DD>
2016</DL>
2017<HR>
2018
2019<A NAME="getMapTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2020getMapTaskReports</H3>
2021<PRE>
2022public <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[] <B>getMapTaskReports</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
2023<DL>
2024<DD>Grab a bunch of info on the map tasks that make up the job
2025<P>
2026<DD><DL>
2027</DL>
2028</DD>
2029<DD><DL>
2030</DL>
2031</DD>
2032</DL>
2033<HR>
2034
2035<A NAME="getReduceTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2036getReduceTaskReports</H3>
2037<PRE>
2038public <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[] <B>getReduceTaskReports</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
2039<DL>
2040<DD>Grab a bunch of info on the reduce tasks that make up the job
2041<P>
2042<DD><DL>
2043</DL>
2044</DD>
2045<DD><DL>
2046</DL>
2047</DD>
2048</DL>
2049<HR>
2050
2051<A NAME="getCleanupTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2052getCleanupTaskReports</H3>
2053<PRE>
2054public <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[] <B>getCleanupTaskReports</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
2055<DL>
2056<DD>Grab a bunch of info on the cleanup tasks that make up the job
2057<P>
2058<DD><DL>
2059</DL>
2060</DD>
2061<DD><DL>
2062</DL>
2063</DD>
2064</DL>
2065<HR>
2066
2067<A NAME="getSetupTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2068getSetupTaskReports</H3>
2069<PRE>
2070public <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[] <B>getSetupTaskReports</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
2071<DL>
2072<DD>Grab a bunch of info on the setup tasks that make up the job
2073<P>
2074<DD><DL>
2075</DL>
2076</DD>
2077<DD><DL>
2078</DL>
2079</DD>
2080</DL>
2081<HR>
2082
2083<A NAME="getTaskCompletionEvents(org.apache.hadoop.mapred.JobID, int, int)"><!-- --></A><H3>
2084getTaskCompletionEvents</H3>
2085<PRE>
2086public <A HREF="../../../../org/apache/hadoop/mapred/TaskCompletionEvent.html" title="class in org.apache.hadoop.mapred">TaskCompletionEvent</A>[] <B>getTaskCompletionEvents</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid,
2087                                                     int&nbsp;fromEventId,
2088                                                     int&nbsp;maxEvents)
2089                                              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>
2090<DL>
2091<DD>Get task completion events for the jobid, starting from fromEventId.
2092 Returns empty aray if no events are available.
2093<P>
2094<DD><DL>
2095</DL>
2096</DD>
2097<DD><DL>
2098<DT><B>Parameters:</B><DD><CODE>jobid</CODE> - job id<DD><CODE>fromEventId</CODE> - event id to start from.<DD><CODE>maxEvents</CODE> - the max number of events we want to look at
2099<DT><B>Returns:</B><DD>array of task completion events.
2100<DT><B>Throws:</B>
2101<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>
2102</DD>
2103</DL>
2104<HR>
2105
2106<A NAME="getTaskDiagnostics(org.apache.hadoop.mapred.TaskAttemptID)"><!-- --></A><H3>
2107getTaskDiagnostics</H3>
2108<PRE>
2109public <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>getTaskDiagnostics</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A>&nbsp;taskId)
2110                            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>
2111<DL>
2112<DD>Get the diagnostics for a given task
2113<P>
2114<DD><DL>
2115</DL>
2116</DD>
2117<DD><DL>
2118<DT><B>Parameters:</B><DD><CODE>taskId</CODE> - the id of the task
2119<DT><B>Returns:</B><DD>an array of the diagnostic messages
2120<DT><B>Throws:</B>
2121<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>
2122</DD>
2123</DL>
2124<HR>
2125
2126<A NAME="getTip(org.apache.hadoop.mapred.TaskID)"><!-- --></A><H3>
2127getTip</H3>
2128<PRE>
2129public org.apache.hadoop.mapred.TaskInProgress <B>getTip</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred">TaskID</A>&nbsp;tipid)</PRE>
2130<DL>
2131<DD>Returns specified TaskInProgress, or null.
2132<P>
2133<DD><DL>
2134</DL>
2135</DD>
2136<DD><DL>
2137</DL>
2138</DD>
2139</DL>
2140<HR>
2141
2142<A NAME="killTask(org.apache.hadoop.mapred.TaskAttemptID, boolean)"><!-- --></A><H3>
2143killTask</H3>
2144<PRE>
2145public boolean <B>killTask</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A>&nbsp;taskid,
2146                        boolean&nbsp;shouldFail)
2147                 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>
2148<DL>
2149<DD>Mark a Task to be killed
2150<P>
2151<DD><DL>
2152</DL>
2153</DD>
2154<DD><DL>
2155<DT><B>Parameters:</B><DD><CODE>taskid</CODE> - the id of the task to kill.<DD><CODE>shouldFail</CODE> - if true the task is failed and added to failed tasks list, otherwise
2156 it is just killed, w/o affecting job failure status.
2157<DT><B>Throws:</B>
2158<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>
2159</DD>
2160</DL>
2161<HR>
2162
2163<A NAME="getAssignedTracker(org.apache.hadoop.mapred.TaskAttemptID)"><!-- --></A><H3>
2164getAssignedTracker</H3>
2165<PRE>
2166public <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>getAssignedTracker</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A>&nbsp;taskId)</PRE>
2167<DL>
2168<DD>Get tracker name for a given task id.
2169<P>
2170<DD><DL>
2171</DL>
2172</DD>
2173<DD><DL>
2174<DT><B>Parameters:</B><DD><CODE>taskId</CODE> - the name of the task
2175<DT><B>Returns:</B><DD>The name of the task tracker</DL>
2176</DD>
2177</DL>
2178<HR>
2179
2180<A NAME="jobsToComplete()"><!-- --></A><H3>
2181jobsToComplete</H3>
2182<PRE>
2183public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[] <B>jobsToComplete</B>()</PRE>
2184<DL>
2185<DD>Get the jobs that are not completed and not failed
2186<P>
2187<DD><DL>
2188</DL>
2189</DD>
2190<DD><DL>
2191
2192<DT><B>Returns:</B><DD>array of JobStatus for the running/to-be-run
2193 jobs.</DL>
2194</DD>
2195</DL>
2196<HR>
2197
2198<A NAME="getAllJobs()"><!-- --></A><H3>
2199getAllJobs</H3>
2200<PRE>
2201public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[] <B>getAllJobs</B>()</PRE>
2202<DL>
2203<DD>Get all the jobs submitted.
2204<P>
2205<DD><DL>
2206</DL>
2207</DD>
2208<DD><DL>
2209
2210<DT><B>Returns:</B><DD>array of JobStatus for the submitted jobs</DL>
2211</DD>
2212</DL>
2213<HR>
2214
2215<A NAME="getSystemDir()"><!-- --></A><H3>
2216getSystemDir</H3>
2217<PRE>
2218public <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>getSystemDir</B>()</PRE>
2219<DL>
2220<DD>Grab the jobtracker system directory path where job-specific files are to be placed.
2221<P>
2222<DD><DL>
2223</DL>
2224</DD>
2225<DD><DL>
2226
2227<DT><B>Returns:</B><DD>the system directory where job-specific files are to be placed.<DT><B>See Also:</B><DD><CODE>JobSubmissionProtocol.getSystemDir()</CODE></DL>
2228</DD>
2229</DL>
2230<HR>
2231
2232<A NAME="getJob(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2233getJob</H3>
2234<PRE>
2235public org.apache.hadoop.mapred.JobInProgress <B>getJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobid)</PRE>
2236<DL>
2237<DD>Obtain the job object identified by jobid
2238<P>
2239<DD><DL>
2240</DL>
2241</DD>
2242<DD><DL>
2243
2244<DT><B>Returns:</B><DD>jobInProgress object</DL>
2245</DD>
2246</DL>
2247<HR>
2248
2249<A NAME="getLocalJobFilePath(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3>
2250getLocalJobFilePath</H3>
2251<PRE>
2252public static <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>getLocalJobFilePath</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A>&nbsp;jobId)</PRE>
2253<DL>
2254<DD>Get the localized job file path on the job trackers local file system
2255<P>
2256<DD><DL>
2257</DL>
2258</DD>
2259<DD><DL>
2260<DT><B>Parameters:</B><DD><CODE>jobId</CODE> - id of the job
2261<DT><B>Returns:</B><DD>the path of the job conf file on the local file system</DL>
2262</DD>
2263</DL>
2264<HR>
2265
2266<A NAME="main(java.lang.String[])"><!-- --></A><H3>
2267main</H3>
2268<PRE>
2269public static void <B>main</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;argv)
2270                 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>,
2271                        <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
2272<DL>
2273<DD>Start the JobTracker process.  This is used only for debugging.  As a rule,
2274 JobTracker should be run as part of the DFS Namenode process.
2275<P>
2276<DD><DL>
2277</DL>
2278</DD>
2279<DD><DL>
2280
2281<DT><B>Throws:</B>
2282<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>
2283<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
2284</DD>
2285</DL>
2286<HR>
2287
2288<A NAME="getQueues()"><!-- --></A><H3>
2289getQueues</H3>
2290<PRE>
2291public <A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A>[] <B>getQueues</B>()
2292                         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>
2293<DL>
2294<DD>Gets set of Job Queues associated with the Job Tracker
2295<P>
2296<DD><DL>
2297</DL>
2298</DD>
2299<DD><DL>
2300
2301<DT><B>Returns:</B><DD>Array of the Job Queue Information Object
2302<DT><B>Throws:</B>
2303<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>
2304</DD>
2305</DL>
2306<HR>
2307
2308<A NAME="getQueueInfo(java.lang.String)"><!-- --></A><H3>
2309getQueueInfo</H3>
2310<PRE>
2311public <A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A> <B>getQueueInfo</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;queue)
2312                          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>
2313<DL>
2314<DD>Gets scheduling information associated with the particular Job queue
2315<P>
2316<DD><DL>
2317</DL>
2318</DD>
2319<DD><DL>
2320<DT><B>Parameters:</B><DD><CODE>queue</CODE> - Queue Name
2321<DT><B>Returns:</B><DD>Scheduling Information of the Queue
2322<DT><B>Throws:</B>
2323<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>
2324</DD>
2325</DL>
2326<HR>
2327
2328<A NAME="getJobsFromQueue(java.lang.String)"><!-- --></A><H3>
2329getJobsFromQueue</H3>
2330<PRE>
2331public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[] <B>getJobsFromQueue</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;queue)
2332                             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>
2333<DL>
2334<DD>Gets all the jobs submitted to the particular Queue
2335<P>
2336<DD><DL>
2337</DL>
2338</DD>
2339<DD><DL>
2340<DT><B>Parameters:</B><DD><CODE>queue</CODE> - Queue name
2341<DT><B>Returns:</B><DD>array of JobStatus for the submitted jobs
2342<DT><B>Throws:</B>
2343<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>
2344</DD>
2345</DL>
2346<HR>
2347
2348<A NAME="refreshServiceAcl()"><!-- --></A><H3>
2349refreshServiceAcl</H3>
2350<PRE>
2351public void <B>refreshServiceAcl</B>()
2352                       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>
2353<DL>
2354<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html#refreshServiceAcl()">RefreshAuthorizationPolicyProtocol</A></CODE></B></DD>
2355<DD>Refresh the service-level authorization policy in-effect.
2356<P>
2357<DD><DL>
2358<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html#refreshServiceAcl()">refreshServiceAcl</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.html" title="interface in org.apache.hadoop.security.authorize">RefreshAuthorizationPolicyProtocol</A></CODE></DL>
2359</DD>
2360<DD><DL>
2361
2362<DT><B>Throws:</B>
2363<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>
2364</DD>
2365</DL>
2366<!-- ========= END OF CLASS DATA ========= -->
2367<HR>
2368
2369
2370<!-- ======= START OF BOTTOM NAVBAR ====== -->
2371<A NAME="navbar_bottom"><!-- --></A>
2372<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
2373<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
2374<TR>
2375<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
2376<A NAME="navbar_bottom_firstrow"><!-- --></A>
2377<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
2378  <TR ALIGN="center" VALIGN="top">
2379  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
2380  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2381  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
2382  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JobTracker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
2383  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2384  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
2385  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
2386  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
2387  </TR>
2388</TABLE>
2389</TD>
2390<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2391</EM>
2392</TD>
2393</TR>
2394
2395<TR>
2396<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2397&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A>&nbsp;
2398&nbsp;<A HREF="../../../../org/apache/hadoop/mapred/JobTracker.IllegalStateException.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD>
2399<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2400  <A HREF="../../../../index.html?org/apache/hadoop/mapred/JobTracker.html" target="_top"><B>FRAMES</B></A>  &nbsp;
2401&nbsp;<A HREF="JobTracker.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
2402&nbsp;<SCRIPT type="text/javascript">
2403  <!--
2404  if(window==top) {
2405    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
2406  }
2407  //-->
2408</SCRIPT>
2409<NOSCRIPT>
2410  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
2411</NOSCRIPT>
2412
2413
2414</FONT></TD>
2415</TR>
2416<TR>
2417<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2418  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
2419<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2420DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
2421</TR>
2422</TABLE>
2423<A NAME="skip-navbar_bottom"></A>
2424<!-- ======== END OF BOTTOM NAVBAR ======= -->
2425
2426<HR>
2427Copyright &copy; 2009 The Apache Software Foundation
2428</BODY>
2429</HTML>
Note: See TracBrowser for help on using the repository browser.