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> |
---|
7 | JobClient (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"> |
---|
15 | function windowTitle() |
---|
16 | { |
---|
17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
18 | parent.document.title="JobClient (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> </TD> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JobClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../org/apache/hadoop/mapred/IsolationRunner.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum 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/JobClient.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="JobClient.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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"> |
---|
91 | org.apache.hadoop.mapred</FONT> |
---|
92 | <BR> |
---|
93 | Class JobClient</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 "><A HREF="../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">org.apache.hadoop.conf.Configured</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.JobClient</B> |
---|
98 | </PRE> |
---|
99 | <DL> |
---|
100 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</A>, <A HREF="../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util">Tool</A></DD> |
---|
101 | </DL> |
---|
102 | <HR> |
---|
103 | <DL> |
---|
104 | <DT><PRE>public class <B>JobClient</B><DT>extends <A HREF="../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">Configured</A><DT>implements <A HREF="../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util">Tool</A></DL> |
---|
105 | </PRE> |
---|
106 | |
---|
107 | <P> |
---|
108 | <code>JobClient</code> is the primary interface for the user-job to interact |
---|
109 | with the <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>. |
---|
110 | |
---|
111 | <code>JobClient</code> provides facilities to submit jobs, track their |
---|
112 | progress, access component-tasks' reports/logs, get the Map-Reduce cluster |
---|
113 | status information etc. |
---|
114 | |
---|
115 | <p>The job submission process involves: |
---|
116 | <ol> |
---|
117 | <li> |
---|
118 | Checking the input and output specifications of the job. |
---|
119 | </li> |
---|
120 | <li> |
---|
121 | Computing the <A HREF="../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred"><CODE>InputSplit</CODE></A>s for the job. |
---|
122 | </li> |
---|
123 | <li> |
---|
124 | Setup the requisite accounting information for the <A HREF="../../../../org/apache/hadoop/filecache/DistributedCache.html" title="class in org.apache.hadoop.filecache"><CODE>DistributedCache</CODE></A> |
---|
125 | of the job, if necessary. |
---|
126 | </li> |
---|
127 | <li> |
---|
128 | Copying the job's jar and configuration to the map-reduce system directory |
---|
129 | on the distributed file-system. |
---|
130 | </li> |
---|
131 | <li> |
---|
132 | Submitting the job to the <code>JobTracker</code> and optionally monitoring |
---|
133 | it's status. |
---|
134 | </li> |
---|
135 | </ol></p> |
---|
136 | |
---|
137 | Normally the user creates the application, describes various facets of the |
---|
138 | job via <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred"><CODE>JobConf</CODE></A> and then uses the <code>JobClient</code> to submit |
---|
139 | the job and monitor its progress. |
---|
140 | |
---|
141 | <p>Here is an example on how to use <code>JobClient</code>:</p> |
---|
142 | <p><blockquote><pre> |
---|
143 | // Create a new JobConf |
---|
144 | JobConf job = new JobConf(new Configuration(), MyJob.class); |
---|
145 | |
---|
146 | // Specify various job-specific parameters |
---|
147 | job.setJobName("myjob"); |
---|
148 | |
---|
149 | job.setInputPath(new Path("in")); |
---|
150 | job.setOutputPath(new Path("out")); |
---|
151 | |
---|
152 | job.setMapperClass(MyJob.MyMapper.class); |
---|
153 | job.setReducerClass(MyJob.MyReducer.class); |
---|
154 | |
---|
155 | // Submit the job, then poll for progress until the job is complete |
---|
156 | JobClient.runJob(job); |
---|
157 | </pre></blockquote></p> |
---|
158 | |
---|
159 | <h4 id="JobControl">Job Control</h4> |
---|
160 | |
---|
161 | <p>At times clients would chain map-reduce jobs to accomplish complex tasks |
---|
162 | which cannot be done via a single map-reduce job. This is fairly easy since |
---|
163 | the output of the job, typically, goes to distributed file-system and that |
---|
164 | can be used as the input for the next job.</p> |
---|
165 | |
---|
166 | <p>However, this also means that the onus on ensuring jobs are complete |
---|
167 | (success/failure) lies squarely on the clients. In such situations the |
---|
168 | various job-control options are: |
---|
169 | <ol> |
---|
170 | <li> |
---|
171 | <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#runJob(org.apache.hadoop.mapred.JobConf)"><CODE>runJob(JobConf)</CODE></A> : submits the job and returns only after |
---|
172 | the job has completed. |
---|
173 | </li> |
---|
174 | <li> |
---|
175 | <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#submitJob(org.apache.hadoop.mapred.JobConf)"><CODE>submitJob(JobConf)</CODE></A> : only submits the job, then poll the |
---|
176 | returned handle to the <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> to query status and make |
---|
177 | scheduling decisions. |
---|
178 | </li> |
---|
179 | <li> |
---|
180 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html#setJobEndNotificationURI(java.lang.String)"><CODE>JobConf.setJobEndNotificationURI(String)</CODE></A> : setup a notification |
---|
181 | on job-completion, thus avoiding polling. |
---|
182 | </li> |
---|
183 | </ol></p> |
---|
184 | <P> |
---|
185 | |
---|
186 | <P> |
---|
187 | <DL> |
---|
188 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred"><CODE>JobConf</CODE></A>, |
---|
189 | <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred"><CODE>ClusterStatus</CODE></A>, |
---|
190 | <A HREF="../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util"><CODE>Tool</CODE></A>, |
---|
191 | <A HREF="../../../../org/apache/hadoop/filecache/DistributedCache.html" title="class in org.apache.hadoop.filecache"><CODE>DistributedCache</CODE></A></DL> |
---|
192 | <HR> |
---|
193 | |
---|
194 | <P> |
---|
195 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
196 | |
---|
197 | <A NAME="nested_class_summary"><!-- --></A> |
---|
198 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
199 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
200 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
201 | <B>Nested Class Summary</B></FONT></TH> |
---|
202 | </TR> |
---|
203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
205 | <CODE>static class</CODE></FONT></TD> |
---|
206 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A></B></CODE> |
---|
207 | |
---|
208 | <BR> |
---|
209 | </TD> |
---|
210 | </TR> |
---|
211 | </TABLE> |
---|
212 | <!-- =========== FIELD SUMMARY =========== --> |
---|
213 | |
---|
214 | <A NAME="field_summary"><!-- --></A> |
---|
215 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
216 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
217 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
218 | <B>Field Summary</B></FONT></TH> |
---|
219 | </TR> |
---|
220 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
222 | <CODE>static int</CODE></FONT></TD> |
---|
223 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#CLUSTER_INCREMENT">CLUSTER_INCREMENT</A></B></CODE> |
---|
224 | |
---|
225 | <BR> |
---|
226 | </TD> |
---|
227 | </TR> |
---|
228 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
229 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
230 | <CODE>static long</CODE></FONT></TD> |
---|
231 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#COUNTER_UPDATE_INTERVAL">COUNTER_UPDATE_INTERVAL</A></B></CODE> |
---|
232 | |
---|
233 | <BR> |
---|
234 | </TD> |
---|
235 | </TR> |
---|
236 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
237 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
238 | <CODE>static int</CODE></FONT></TD> |
---|
239 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#FILE_NOT_FOUND">FILE_NOT_FOUND</A></B></CODE> |
---|
240 | |
---|
241 | <BR> |
---|
242 | </TD> |
---|
243 | </TR> |
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
245 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
246 | <CODE>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></CODE></FONT></TD> |
---|
247 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#FOR_REDUCE_TASK">FOR_REDUCE_TASK</A></B></CODE> |
---|
248 | |
---|
249 | <BR> |
---|
250 | The reduce task number for which this map output is being transferred</TD> |
---|
251 | </TR> |
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
253 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
254 | <CODE>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></CODE></FONT></TD> |
---|
255 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#FROM_MAP_TASK">FROM_MAP_TASK</A></B></CODE> |
---|
256 | |
---|
257 | <BR> |
---|
258 | The map task from which the map output data is being transferred</TD> |
---|
259 | </TR> |
---|
260 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
261 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
262 | <CODE>static int</CODE></FONT></TD> |
---|
263 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#HEARTBEAT_INTERVAL_MIN">HEARTBEAT_INTERVAL_MIN</A></B></CODE> |
---|
264 | |
---|
265 | <BR> |
---|
266 | </TD> |
---|
267 | </TR> |
---|
268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
270 | <CODE>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></CODE></FONT></TD> |
---|
271 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#MAP_OUTPUT_LENGTH">MAP_OUTPUT_LENGTH</A></B></CODE> |
---|
272 | |
---|
273 | <BR> |
---|
274 | The custom http header used for the map output length.</TD> |
---|
275 | </TR> |
---|
276 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
278 | <CODE>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></CODE></FONT></TD> |
---|
279 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#RAW_MAP_OUTPUT_LENGTH">RAW_MAP_OUTPUT_LENGTH</A></B></CODE> |
---|
280 | |
---|
281 | <BR> |
---|
282 | The custom http header used for the "raw" map output length.</TD> |
---|
283 | </TR> |
---|
284 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
286 | <CODE>static int</CODE></FONT></TD> |
---|
287 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#SUCCESS">SUCCESS</A></B></CODE> |
---|
288 | |
---|
289 | <BR> |
---|
290 | </TD> |
---|
291 | </TR> |
---|
292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
294 | <CODE>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></CODE></FONT></TD> |
---|
295 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#WORKDIR">WORKDIR</A></B></CODE> |
---|
296 | |
---|
297 | <BR> |
---|
298 | </TD> |
---|
299 | </TR> |
---|
300 | </TABLE> |
---|
301 | |
---|
302 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
303 | |
---|
304 | <A NAME="constructor_summary"><!-- --></A> |
---|
305 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
306 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
307 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
308 | <B>Constructor Summary</B></FONT></TH> |
---|
309 | </TR> |
---|
310 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
311 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#JobClient()">JobClient</A></B>()</CODE> |
---|
312 | |
---|
313 | <BR> |
---|
314 | Create a job client.</TD> |
---|
315 | </TR> |
---|
316 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
317 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#JobClient(java.net.InetSocketAddress, org.apache.hadoop.conf.Configuration)">JobClient</A></B>(<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> jobTrackAddr, |
---|
318 | <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</CODE> |
---|
319 | |
---|
320 | <BR> |
---|
321 | Build a job client, connect to the indicated job tracker.</TD> |
---|
322 | </TR> |
---|
323 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
324 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#JobClient(org.apache.hadoop.mapred.JobConf)">JobClient</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
325 | |
---|
326 | <BR> |
---|
327 | Build a job client with the given <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred"><CODE>JobConf</CODE></A>, and connect to the |
---|
328 | default <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>.</TD> |
---|
329 | </TR> |
---|
330 | </TABLE> |
---|
331 | |
---|
332 | <!-- ========== METHOD SUMMARY =========== --> |
---|
333 | |
---|
334 | <A NAME="method_summary"><!-- --></A> |
---|
335 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
336 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
337 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
338 | <B>Method Summary</B></FONT></TH> |
---|
339 | </TR> |
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
342 | <CODE> void</CODE></FONT></TD> |
---|
343 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#close()">close</A></B>()</CODE> |
---|
344 | |
---|
345 | <BR> |
---|
346 | Close the <code>JobClient</code>.</TD> |
---|
347 | </TR> |
---|
348 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
350 | <CODE> void</CODE></FONT></TD> |
---|
351 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#displayTasks(org.apache.hadoop.mapred.JobID, java.lang.String, java.lang.String)">displayTasks</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
352 | <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> type, |
---|
353 | <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> state)</CODE> |
---|
354 | |
---|
355 | <BR> |
---|
356 | Display the information about a job's tasks, of a particular type and |
---|
357 | in a particular state</TD> |
---|
358 | </TR> |
---|
359 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
360 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
361 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[]</CODE></FONT></TD> |
---|
362 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getAllJobs()">getAllJobs</A></B>()</CODE> |
---|
363 | |
---|
364 | <BR> |
---|
365 | Get the jobs that are submitted.</TD> |
---|
366 | </TR> |
---|
367 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
368 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
369 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD> |
---|
370 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> jobId)</CODE> |
---|
371 | |
---|
372 | <BR> |
---|
373 | Get the information of the current state of the cleanup tasks of a job.</TD> |
---|
374 | </TR> |
---|
375 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
376 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
377 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A></CODE></FONT></TD> |
---|
378 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getClusterStatus()">getClusterStatus</A></B>()</CODE> |
---|
379 | |
---|
380 | <BR> |
---|
381 | Get status information about the Map-Reduce cluster.</TD> |
---|
382 | </TR> |
---|
383 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
384 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
385 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A></CODE></FONT></TD> |
---|
386 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getClusterStatus(boolean)">getClusterStatus</A></B>(boolean detailed)</CODE> |
---|
387 | |
---|
388 | <BR> |
---|
389 | Get status information about the Map-Reduce cluster.</TD> |
---|
390 | </TR> |
---|
391 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
392 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
393 | <CODE> int</CODE></FONT></TD> |
---|
394 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getDefaultMaps()">getDefaultMaps</A></B>()</CODE> |
---|
395 | |
---|
396 | <BR> |
---|
397 | Get status information about the max available Maps in the cluster.</TD> |
---|
398 | </TR> |
---|
399 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
400 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
401 | <CODE> int</CODE></FONT></TD> |
---|
402 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getDefaultReduces()">getDefaultReduces</A></B>()</CODE> |
---|
403 | |
---|
404 | <BR> |
---|
405 | Get status information about the max available Reduces in the cluster.</TD> |
---|
406 | </TR> |
---|
407 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
408 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
409 | <CODE> <A HREF="../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></FONT></TD> |
---|
410 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getFs()">getFs</A></B>()</CODE> |
---|
411 | |
---|
412 | <BR> |
---|
413 | Get a filesystem handle.</TD> |
---|
414 | </TR> |
---|
415 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
416 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
417 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
418 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> jobid)</CODE> |
---|
419 | |
---|
420 | <BR> |
---|
421 | Get an <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> object to track an ongoing job.</TD> |
---|
422 | </TR> |
---|
423 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
424 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
425 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
426 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getJob(java.lang.String)">getJob</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> jobid)</CODE> |
---|
427 | |
---|
428 | <BR> |
---|
429 | <B>Deprecated.</B> <I>Applications should rather use <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getJob(org.apache.hadoop.mapred.JobID)"><CODE>getJob(JobID)</CODE></A>.</I></TD> |
---|
430 | </TR> |
---|
431 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
432 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
433 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[]</CODE></FONT></TD> |
---|
434 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> queueName)</CODE> |
---|
435 | |
---|
436 | <BR> |
---|
437 | Gets all the jobs which were added to particular Job Queue</TD> |
---|
438 | </TR> |
---|
439 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
440 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
441 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD> |
---|
442 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> jobId)</CODE> |
---|
443 | |
---|
444 | <BR> |
---|
445 | Get the information of the current state of the map tasks of a job.</TD> |
---|
446 | </TR> |
---|
447 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
448 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
449 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD> |
---|
450 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getMapTaskReports(java.lang.String)">getMapTaskReports</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> jobId)</CODE> |
---|
451 | |
---|
452 | <BR> |
---|
453 | <B>Deprecated.</B> <I>Applications should rather use <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getMapTaskReports(org.apache.hadoop.mapred.JobID)"><CODE>getMapTaskReports(JobID)</CODE></A></I></TD> |
---|
454 | </TR> |
---|
455 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
456 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
457 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A></CODE></FONT></TD> |
---|
458 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> queueName)</CODE> |
---|
459 | |
---|
460 | <BR> |
---|
461 | Gets the queue information associated to a particular Job Queue</TD> |
---|
462 | </TR> |
---|
463 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
464 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
465 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A>[]</CODE></FONT></TD> |
---|
466 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getQueues()">getQueues</A></B>()</CODE> |
---|
467 | |
---|
468 | <BR> |
---|
469 | Return an array of queue information objects about all the Job Queues |
---|
470 | configured.</TD> |
---|
471 | </TR> |
---|
472 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
473 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
474 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD> |
---|
475 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> jobId)</CODE> |
---|
476 | |
---|
477 | <BR> |
---|
478 | Get the information of the current state of the reduce tasks of a job.</TD> |
---|
479 | </TR> |
---|
480 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
481 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
482 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD> |
---|
483 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getReduceTaskReports(java.lang.String)">getReduceTaskReports</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> jobId)</CODE> |
---|
484 | |
---|
485 | <BR> |
---|
486 | <B>Deprecated.</B> <I>Applications should rather use <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getReduceTaskReports(org.apache.hadoop.mapred.JobID)"><CODE>getReduceTaskReports(JobID)</CODE></A></I></TD> |
---|
487 | </TR> |
---|
488 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
489 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
490 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[]</CODE></FONT></TD> |
---|
491 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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> jobId)</CODE> |
---|
492 | |
---|
493 | <BR> |
---|
494 | Get the information of the current state of the setup tasks of a job.</TD> |
---|
495 | </TR> |
---|
496 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
497 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
498 | <CODE> <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
499 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getSystemDir()">getSystemDir</A></B>()</CODE> |
---|
500 | |
---|
501 | <BR> |
---|
502 | Grab the jobtracker system directory path where job-specific files are to be placed.</TD> |
---|
503 | </TR> |
---|
504 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
505 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
506 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A></CODE></FONT></TD> |
---|
507 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getTaskOutputFilter()">getTaskOutputFilter</A></B>()</CODE> |
---|
508 | |
---|
509 | <BR> |
---|
510 | <B>Deprecated.</B> </TD> |
---|
511 | </TR> |
---|
512 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
513 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
514 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A></CODE></FONT></TD> |
---|
515 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getTaskOutputFilter(org.apache.hadoop.mapred.JobConf)">getTaskOutputFilter</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
516 | |
---|
517 | <BR> |
---|
518 | Get the task output filter out of the JobConf.</TD> |
---|
519 | </TR> |
---|
520 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
521 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
522 | <CODE> void</CODE></FONT></TD> |
---|
523 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#init(org.apache.hadoop.mapred.JobConf)">init</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
524 | |
---|
525 | <BR> |
---|
526 | Connect to the default <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>.</TD> |
---|
527 | </TR> |
---|
528 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
529 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
530 | <CODE>static boolean</CODE></FONT></TD> |
---|
531 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#isJobDirValid(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.FileSystem)">isJobDirValid</A></B>(<A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> jobDirPath, |
---|
532 | <A HREF="../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A> fs)</CODE> |
---|
533 | |
---|
534 | <BR> |
---|
535 | Checks if the job directory is clean and has all the required components |
---|
536 | for (re) starting the job</TD> |
---|
537 | </TR> |
---|
538 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
539 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
540 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[]</CODE></FONT></TD> |
---|
541 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#jobsToComplete()">jobsToComplete</A></B>()</CODE> |
---|
542 | |
---|
543 | <BR> |
---|
544 | Get the jobs that are not completed and not failed.</TD> |
---|
545 | </TR> |
---|
546 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
547 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
548 | <CODE>static void</CODE></FONT></TD> |
---|
549 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.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>[] argv)</CODE> |
---|
550 | |
---|
551 | <BR> |
---|
552 | </TD> |
---|
553 | </TR> |
---|
554 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
555 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
556 | <CODE> boolean</CODE></FONT></TD> |
---|
557 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#monitorAndPrintJob(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.RunningJob)">monitorAndPrintJob</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
558 | <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> job)</CODE> |
---|
559 | |
---|
560 | <BR> |
---|
561 | Monitor a job and print status in real-time as progress is made and tasks |
---|
562 | fail.</TD> |
---|
563 | </TR> |
---|
564 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
565 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
566 | <CODE> int</CODE></FONT></TD> |
---|
567 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#run(java.lang.String[])">run</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>[] argv)</CODE> |
---|
568 | |
---|
569 | <BR> |
---|
570 | Execute the command with the given arguments.</TD> |
---|
571 | </TR> |
---|
572 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
573 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
574 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
575 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#runJob(org.apache.hadoop.mapred.JobConf)">runJob</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
576 | |
---|
577 | <BR> |
---|
578 | Utility that submits a job, then polls for progress until the job is |
---|
579 | complete.</TD> |
---|
580 | </TR> |
---|
581 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
582 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
583 | <CODE> void</CODE></FONT></TD> |
---|
584 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#setTaskOutputFilter(org.apache.hadoop.mapred.JobClient.TaskStatusFilter)">setTaskOutputFilter</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A> newValue)</CODE> |
---|
585 | |
---|
586 | <BR> |
---|
587 | <B>Deprecated.</B> </TD> |
---|
588 | </TR> |
---|
589 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
590 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
591 | <CODE>static void</CODE></FONT></TD> |
---|
592 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#setTaskOutputFilter(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.JobClient.TaskStatusFilter)">setTaskOutputFilter</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job, |
---|
593 | <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A> newValue)</CODE> |
---|
594 | |
---|
595 | <BR> |
---|
596 | Modify the JobConf to set the task output filter.</TD> |
---|
597 | </TR> |
---|
598 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
599 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
600 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
601 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#submitJob(org.apache.hadoop.mapred.JobConf)">submitJob</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
602 | |
---|
603 | <BR> |
---|
604 | Submit a job to the MR system.</TD> |
---|
605 | </TR> |
---|
606 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
607 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
608 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
609 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#submitJob(java.lang.String)">submitJob</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> jobFile)</CODE> |
---|
610 | |
---|
611 | <BR> |
---|
612 | Submit a job to the MR system.</TD> |
---|
613 | </TR> |
---|
614 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
615 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
616 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
617 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#submitJobInternal(org.apache.hadoop.mapred.JobConf)">submitJobInternal</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
618 | |
---|
619 | <BR> |
---|
620 | Internal method for submitting jobs to the system.</TD> |
---|
621 | </TR> |
---|
622 | </TABLE> |
---|
623 | <A NAME="methods_inherited_from_class_org.apache.hadoop.conf.Configured"><!-- --></A> |
---|
624 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
625 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
626 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.conf.<A HREF="../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">Configured</A></B></TH> |
---|
627 | </TR> |
---|
628 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
629 | <TD><CODE><A HREF="../../../../org/apache/hadoop/conf/Configured.html#getConf()">getConf</A>, <A HREF="../../../../org/apache/hadoop/conf/Configured.html#setConf(org.apache.hadoop.conf.Configuration)">setConf</A></CODE></TD> |
---|
630 | </TR> |
---|
631 | </TABLE> |
---|
632 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
633 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
634 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
635 | <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> |
---|
636 | </TR> |
---|
637 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
638 | <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> |
---|
639 | </TR> |
---|
640 | </TABLE> |
---|
641 | <A NAME="methods_inherited_from_class_org.apache.hadoop.conf.Configurable"><!-- --></A> |
---|
642 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
643 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
644 | <TH ALIGN="left"><B>Methods inherited from interface org.apache.hadoop.conf.<A HREF="../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</A></B></TH> |
---|
645 | </TR> |
---|
646 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
647 | <TD><CODE><A HREF="../../../../org/apache/hadoop/conf/Configurable.html#getConf()">getConf</A>, <A HREF="../../../../org/apache/hadoop/conf/Configurable.html#setConf(org.apache.hadoop.conf.Configuration)">setConf</A></CODE></TD> |
---|
648 | </TR> |
---|
649 | </TABLE> |
---|
650 | |
---|
651 | <P> |
---|
652 | |
---|
653 | <!-- ============ FIELD DETAIL =========== --> |
---|
654 | |
---|
655 | <A NAME="field_detail"><!-- --></A> |
---|
656 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
657 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
658 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
659 | <B>Field Detail</B></FONT></TH> |
---|
660 | </TR> |
---|
661 | </TABLE> |
---|
662 | |
---|
663 | <A NAME="HEARTBEAT_INTERVAL_MIN"><!-- --></A><H3> |
---|
664 | HEARTBEAT_INTERVAL_MIN</H3> |
---|
665 | <PRE> |
---|
666 | public static final int <B>HEARTBEAT_INTERVAL_MIN</B></PRE> |
---|
667 | <DL> |
---|
668 | <DL> |
---|
669 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.HEARTBEAT_INTERVAL_MIN">Constant Field Values</A></DL> |
---|
670 | </DL> |
---|
671 | <HR> |
---|
672 | |
---|
673 | <A NAME="CLUSTER_INCREMENT"><!-- --></A><H3> |
---|
674 | CLUSTER_INCREMENT</H3> |
---|
675 | <PRE> |
---|
676 | public static final int <B>CLUSTER_INCREMENT</B></PRE> |
---|
677 | <DL> |
---|
678 | <DL> |
---|
679 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.CLUSTER_INCREMENT">Constant Field Values</A></DL> |
---|
680 | </DL> |
---|
681 | <HR> |
---|
682 | |
---|
683 | <A NAME="COUNTER_UPDATE_INTERVAL"><!-- --></A><H3> |
---|
684 | COUNTER_UPDATE_INTERVAL</H3> |
---|
685 | <PRE> |
---|
686 | public static final long <B>COUNTER_UPDATE_INTERVAL</B></PRE> |
---|
687 | <DL> |
---|
688 | <DL> |
---|
689 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.COUNTER_UPDATE_INTERVAL">Constant Field Values</A></DL> |
---|
690 | </DL> |
---|
691 | <HR> |
---|
692 | |
---|
693 | <A NAME="SUCCESS"><!-- --></A><H3> |
---|
694 | SUCCESS</H3> |
---|
695 | <PRE> |
---|
696 | public static final int <B>SUCCESS</B></PRE> |
---|
697 | <DL> |
---|
698 | <DL> |
---|
699 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.SUCCESS">Constant Field Values</A></DL> |
---|
700 | </DL> |
---|
701 | <HR> |
---|
702 | |
---|
703 | <A NAME="FILE_NOT_FOUND"><!-- --></A><H3> |
---|
704 | FILE_NOT_FOUND</H3> |
---|
705 | <PRE> |
---|
706 | public static final int <B>FILE_NOT_FOUND</B></PRE> |
---|
707 | <DL> |
---|
708 | <DL> |
---|
709 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.FILE_NOT_FOUND">Constant Field Values</A></DL> |
---|
710 | </DL> |
---|
711 | <HR> |
---|
712 | |
---|
713 | <A NAME="MAP_OUTPUT_LENGTH"><!-- --></A><H3> |
---|
714 | MAP_OUTPUT_LENGTH</H3> |
---|
715 | <PRE> |
---|
716 | public 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> |
---|
717 | <DL> |
---|
718 | <DD>The custom http header used for the map output length. |
---|
719 | <P> |
---|
720 | <DL> |
---|
721 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.MAP_OUTPUT_LENGTH">Constant Field Values</A></DL> |
---|
722 | </DL> |
---|
723 | <HR> |
---|
724 | |
---|
725 | <A NAME="RAW_MAP_OUTPUT_LENGTH"><!-- --></A><H3> |
---|
726 | RAW_MAP_OUTPUT_LENGTH</H3> |
---|
727 | <PRE> |
---|
728 | public 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> |
---|
729 | <DL> |
---|
730 | <DD>The custom http header used for the "raw" map output length. |
---|
731 | <P> |
---|
732 | <DL> |
---|
733 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.RAW_MAP_OUTPUT_LENGTH">Constant Field Values</A></DL> |
---|
734 | </DL> |
---|
735 | <HR> |
---|
736 | |
---|
737 | <A NAME="FROM_MAP_TASK"><!-- --></A><H3> |
---|
738 | FROM_MAP_TASK</H3> |
---|
739 | <PRE> |
---|
740 | public 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> |
---|
741 | <DL> |
---|
742 | <DD>The map task from which the map output data is being transferred |
---|
743 | <P> |
---|
744 | <DL> |
---|
745 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.FROM_MAP_TASK">Constant Field Values</A></DL> |
---|
746 | </DL> |
---|
747 | <HR> |
---|
748 | |
---|
749 | <A NAME="FOR_REDUCE_TASK"><!-- --></A><H3> |
---|
750 | FOR_REDUCE_TASK</H3> |
---|
751 | <PRE> |
---|
752 | public 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> |
---|
753 | <DL> |
---|
754 | <DD>The reduce task number for which this map output is being transferred |
---|
755 | <P> |
---|
756 | <DL> |
---|
757 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.FOR_REDUCE_TASK">Constant Field Values</A></DL> |
---|
758 | </DL> |
---|
759 | <HR> |
---|
760 | |
---|
761 | <A NAME="WORKDIR"><!-- --></A><H3> |
---|
762 | WORKDIR</H3> |
---|
763 | <PRE> |
---|
764 | public 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> |
---|
765 | <DL> |
---|
766 | <DL> |
---|
767 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.JobClient.WORKDIR">Constant Field Values</A></DL> |
---|
768 | </DL> |
---|
769 | |
---|
770 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
771 | |
---|
772 | <A NAME="constructor_detail"><!-- --></A> |
---|
773 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
774 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
775 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
776 | <B>Constructor Detail</B></FONT></TH> |
---|
777 | </TR> |
---|
778 | </TABLE> |
---|
779 | |
---|
780 | <A NAME="JobClient()"><!-- --></A><H3> |
---|
781 | JobClient</H3> |
---|
782 | <PRE> |
---|
783 | public <B>JobClient</B>()</PRE> |
---|
784 | <DL> |
---|
785 | <DD>Create a job client. |
---|
786 | <P> |
---|
787 | </DL> |
---|
788 | <HR> |
---|
789 | |
---|
790 | <A NAME="JobClient(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
791 | JobClient</H3> |
---|
792 | <PRE> |
---|
793 | public <B>JobClient</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf) |
---|
794 | 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> |
---|
795 | <DL> |
---|
796 | <DD>Build a job client with the given <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred"><CODE>JobConf</CODE></A>, and connect to the |
---|
797 | default <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>. |
---|
798 | <P> |
---|
799 | <DL> |
---|
800 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the job configuration. |
---|
801 | <DT><B>Throws:</B> |
---|
802 | <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> |
---|
803 | </DL> |
---|
804 | <HR> |
---|
805 | |
---|
806 | <A NAME="JobClient(java.net.InetSocketAddress, org.apache.hadoop.conf.Configuration)"><!-- --></A><H3> |
---|
807 | JobClient</H3> |
---|
808 | <PRE> |
---|
809 | public <B>JobClient</B>(<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> jobTrackAddr, |
---|
810 | <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf) |
---|
811 | 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> |
---|
812 | <DL> |
---|
813 | <DD>Build a job client, connect to the indicated job tracker. |
---|
814 | <P> |
---|
815 | <DL> |
---|
816 | <DT><B>Parameters:</B><DD><CODE>jobTrackAddr</CODE> - the job tracker to connect to.<DD><CODE>conf</CODE> - configuration. |
---|
817 | <DT><B>Throws:</B> |
---|
818 | <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> |
---|
819 | </DL> |
---|
820 | |
---|
821 | <!-- ============ METHOD DETAIL ========== --> |
---|
822 | |
---|
823 | <A NAME="method_detail"><!-- --></A> |
---|
824 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
825 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
826 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
827 | <B>Method Detail</B></FONT></TH> |
---|
828 | </TR> |
---|
829 | </TABLE> |
---|
830 | |
---|
831 | <A NAME="init(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
832 | init</H3> |
---|
833 | <PRE> |
---|
834 | public void <B>init</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf) |
---|
835 | 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> |
---|
836 | <DL> |
---|
837 | <DD>Connect to the default <A HREF="../../../../org/apache/hadoop/mapred/JobTracker.html" title="class in org.apache.hadoop.mapred"><CODE>JobTracker</CODE></A>. |
---|
838 | <P> |
---|
839 | <DD><DL> |
---|
840 | </DL> |
---|
841 | </DD> |
---|
842 | <DD><DL> |
---|
843 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the job configuration. |
---|
844 | <DT><B>Throws:</B> |
---|
845 | <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> |
---|
846 | </DD> |
---|
847 | </DL> |
---|
848 | <HR> |
---|
849 | |
---|
850 | <A NAME="close()"><!-- --></A><H3> |
---|
851 | close</H3> |
---|
852 | <PRE> |
---|
853 | public void <B>close</B>() |
---|
854 | 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> |
---|
855 | <DL> |
---|
856 | <DD>Close the <code>JobClient</code>. |
---|
857 | <P> |
---|
858 | <DD><DL> |
---|
859 | </DL> |
---|
860 | </DD> |
---|
861 | <DD><DL> |
---|
862 | |
---|
863 | <DT><B>Throws:</B> |
---|
864 | <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> |
---|
865 | </DD> |
---|
866 | </DL> |
---|
867 | <HR> |
---|
868 | |
---|
869 | <A NAME="getFs()"><!-- --></A><H3> |
---|
870 | getFs</H3> |
---|
871 | <PRE> |
---|
872 | public <A HREF="../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A> <B>getFs</B>() |
---|
873 | 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> |
---|
874 | <DL> |
---|
875 | <DD>Get a filesystem handle. We need this to prepare jobs |
---|
876 | for submission to the MapReduce system. |
---|
877 | <P> |
---|
878 | <DD><DL> |
---|
879 | </DL> |
---|
880 | </DD> |
---|
881 | <DD><DL> |
---|
882 | |
---|
883 | <DT><B>Returns:</B><DD>the filesystem handle. |
---|
884 | <DT><B>Throws:</B> |
---|
885 | <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> |
---|
886 | </DD> |
---|
887 | </DL> |
---|
888 | <HR> |
---|
889 | |
---|
890 | <A NAME="submitJob(java.lang.String)"><!-- --></A><H3> |
---|
891 | submitJob</H3> |
---|
892 | <PRE> |
---|
893 | public <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>submitJob</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> jobFile) |
---|
894 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A>, |
---|
895 | <A HREF="../../../../org/apache/hadoop/mapred/InvalidJobConfException.html" title="class in org.apache.hadoop.mapred">InvalidJobConfException</A>, |
---|
896 | <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> |
---|
897 | <DL> |
---|
898 | <DD>Submit a job to the MR system. |
---|
899 | |
---|
900 | This returns a handle to the <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> which can be used to track |
---|
901 | the running-job. |
---|
902 | <P> |
---|
903 | <DD><DL> |
---|
904 | </DL> |
---|
905 | </DD> |
---|
906 | <DD><DL> |
---|
907 | <DT><B>Parameters:</B><DD><CODE>jobFile</CODE> - the job configuration. |
---|
908 | <DT><B>Returns:</B><DD>a handle to the <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> which can be used to track the |
---|
909 | running-job. |
---|
910 | <DT><B>Throws:</B> |
---|
911 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A></CODE> |
---|
912 | <DD><CODE><A HREF="../../../../org/apache/hadoop/mapred/InvalidJobConfException.html" title="class in org.apache.hadoop.mapred">InvalidJobConfException</A></CODE> |
---|
913 | <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> |
---|
914 | </DD> |
---|
915 | </DL> |
---|
916 | <HR> |
---|
917 | |
---|
918 | <A NAME="submitJob(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
919 | submitJob</H3> |
---|
920 | <PRE> |
---|
921 | public <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>submitJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job) |
---|
922 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A>, |
---|
923 | <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> |
---|
924 | <DL> |
---|
925 | <DD>Submit a job to the MR system. |
---|
926 | This returns a handle to the <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> which can be used to track |
---|
927 | the running-job. |
---|
928 | <P> |
---|
929 | <DD><DL> |
---|
930 | </DL> |
---|
931 | </DD> |
---|
932 | <DD><DL> |
---|
933 | <DT><B>Parameters:</B><DD><CODE>job</CODE> - the job configuration. |
---|
934 | <DT><B>Returns:</B><DD>a handle to the <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> which can be used to track the |
---|
935 | running-job. |
---|
936 | <DT><B>Throws:</B> |
---|
937 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A></CODE> |
---|
938 | <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> |
---|
939 | </DD> |
---|
940 | </DL> |
---|
941 | <HR> |
---|
942 | |
---|
943 | <A NAME="submitJobInternal(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
944 | submitJobInternal</H3> |
---|
945 | <PRE> |
---|
946 | public <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>submitJobInternal</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job) |
---|
947 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A>, |
---|
948 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A>, |
---|
949 | <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>, |
---|
950 | <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> |
---|
951 | <DL> |
---|
952 | <DD>Internal method for submitting jobs to the system. |
---|
953 | <P> |
---|
954 | <DD><DL> |
---|
955 | </DL> |
---|
956 | </DD> |
---|
957 | <DD><DL> |
---|
958 | <DT><B>Parameters:</B><DD><CODE>job</CODE> - the configuration to submit |
---|
959 | <DT><B>Returns:</B><DD>a proxy object for the running job |
---|
960 | <DT><B>Throws:</B> |
---|
961 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A></CODE> |
---|
962 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></CODE> |
---|
963 | <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> |
---|
964 | <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> |
---|
965 | </DD> |
---|
966 | </DL> |
---|
967 | <HR> |
---|
968 | |
---|
969 | <A NAME="isJobDirValid(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.FileSystem)"><!-- --></A><H3> |
---|
970 | isJobDirValid</H3> |
---|
971 | <PRE> |
---|
972 | public static boolean <B>isJobDirValid</B>(<A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> jobDirPath, |
---|
973 | <A HREF="../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A> fs) |
---|
974 | 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> |
---|
975 | <DL> |
---|
976 | <DD>Checks if the job directory is clean and has all the required components |
---|
977 | for (re) starting the job |
---|
978 | <P> |
---|
979 | <DD><DL> |
---|
980 | </DL> |
---|
981 | </DD> |
---|
982 | <DD><DL> |
---|
983 | |
---|
984 | <DT><B>Throws:</B> |
---|
985 | <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> |
---|
986 | </DD> |
---|
987 | </DL> |
---|
988 | <HR> |
---|
989 | |
---|
990 | <A NAME="getJob(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
991 | getJob</H3> |
---|
992 | <PRE> |
---|
993 | public <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>getJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid) |
---|
994 | 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> |
---|
995 | <DL> |
---|
996 | <DD>Get an <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> object to track an ongoing job. Returns |
---|
997 | null if the id does not correspond to any known job. |
---|
998 | <P> |
---|
999 | <DD><DL> |
---|
1000 | </DL> |
---|
1001 | </DD> |
---|
1002 | <DD><DL> |
---|
1003 | <DT><B>Parameters:</B><DD><CODE>jobid</CODE> - the jobid of the job. |
---|
1004 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> handle to track the job, null if the |
---|
1005 | <code>jobid</code> doesn't correspond to any known job. |
---|
1006 | <DT><B>Throws:</B> |
---|
1007 | <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> |
---|
1008 | </DD> |
---|
1009 | </DL> |
---|
1010 | <HR> |
---|
1011 | |
---|
1012 | <A NAME="getJob(java.lang.String)"><!-- --></A><H3> |
---|
1013 | getJob</H3> |
---|
1014 | <PRE> |
---|
1015 | <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> |
---|
1016 | </FONT>public <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>getJob</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> jobid) |
---|
1017 | 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> |
---|
1018 | <DL> |
---|
1019 | <DD><B>Deprecated.</B> <I>Applications should rather use <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getJob(org.apache.hadoop.mapred.JobID)"><CODE>getJob(JobID)</CODE></A>.</I> |
---|
1020 | <P> |
---|
1021 | <DD><DL> |
---|
1022 | </DL> |
---|
1023 | </DD> |
---|
1024 | <DD><DL> |
---|
1025 | |
---|
1026 | <DT><B>Throws:</B> |
---|
1027 | <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> |
---|
1028 | </DD> |
---|
1029 | </DL> |
---|
1030 | <HR> |
---|
1031 | |
---|
1032 | <A NAME="getMapTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
1033 | getMapTaskReports</H3> |
---|
1034 | <PRE> |
---|
1035 | public <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> jobId) |
---|
1036 | 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> |
---|
1037 | <DL> |
---|
1038 | <DD>Get the information of the current state of the map tasks of a job. |
---|
1039 | <P> |
---|
1040 | <DD><DL> |
---|
1041 | </DL> |
---|
1042 | </DD> |
---|
1043 | <DD><DL> |
---|
1044 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the job to query. |
---|
1045 | <DT><B>Returns:</B><DD>the list of all of the map tips. |
---|
1046 | <DT><B>Throws:</B> |
---|
1047 | <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> |
---|
1048 | </DD> |
---|
1049 | </DL> |
---|
1050 | <HR> |
---|
1051 | |
---|
1052 | <A NAME="getMapTaskReports(java.lang.String)"><!-- --></A><H3> |
---|
1053 | getMapTaskReports</H3> |
---|
1054 | <PRE> |
---|
1055 | <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> |
---|
1056 | </FONT>public <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[] <B>getMapTaskReports</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> jobId) |
---|
1057 | 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> |
---|
1058 | <DL> |
---|
1059 | <DD><B>Deprecated.</B> <I>Applications should rather use <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getMapTaskReports(org.apache.hadoop.mapred.JobID)"><CODE>getMapTaskReports(JobID)</CODE></A></I> |
---|
1060 | <P> |
---|
1061 | <DD><DL> |
---|
1062 | </DL> |
---|
1063 | </DD> |
---|
1064 | <DD><DL> |
---|
1065 | |
---|
1066 | <DT><B>Throws:</B> |
---|
1067 | <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> |
---|
1068 | </DD> |
---|
1069 | </DL> |
---|
1070 | <HR> |
---|
1071 | |
---|
1072 | <A NAME="getReduceTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
1073 | getReduceTaskReports</H3> |
---|
1074 | <PRE> |
---|
1075 | public <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> jobId) |
---|
1076 | 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> |
---|
1077 | <DL> |
---|
1078 | <DD>Get the information of the current state of the reduce tasks of a job. |
---|
1079 | <P> |
---|
1080 | <DD><DL> |
---|
1081 | </DL> |
---|
1082 | </DD> |
---|
1083 | <DD><DL> |
---|
1084 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the job to query. |
---|
1085 | <DT><B>Returns:</B><DD>the list of all of the reduce tips. |
---|
1086 | <DT><B>Throws:</B> |
---|
1087 | <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> |
---|
1088 | </DD> |
---|
1089 | </DL> |
---|
1090 | <HR> |
---|
1091 | |
---|
1092 | <A NAME="getCleanupTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
1093 | getCleanupTaskReports</H3> |
---|
1094 | <PRE> |
---|
1095 | public <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> jobId) |
---|
1096 | 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> |
---|
1097 | <DL> |
---|
1098 | <DD>Get the information of the current state of the cleanup tasks of a job. |
---|
1099 | <P> |
---|
1100 | <DD><DL> |
---|
1101 | </DL> |
---|
1102 | </DD> |
---|
1103 | <DD><DL> |
---|
1104 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the job to query. |
---|
1105 | <DT><B>Returns:</B><DD>the list of all of the cleanup tips. |
---|
1106 | <DT><B>Throws:</B> |
---|
1107 | <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> |
---|
1108 | </DD> |
---|
1109 | </DL> |
---|
1110 | <HR> |
---|
1111 | |
---|
1112 | <A NAME="getSetupTaskReports(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
1113 | getSetupTaskReports</H3> |
---|
1114 | <PRE> |
---|
1115 | public <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> jobId) |
---|
1116 | 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> |
---|
1117 | <DL> |
---|
1118 | <DD>Get the information of the current state of the setup tasks of a job. |
---|
1119 | <P> |
---|
1120 | <DD><DL> |
---|
1121 | </DL> |
---|
1122 | </DD> |
---|
1123 | <DD><DL> |
---|
1124 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the job to query. |
---|
1125 | <DT><B>Returns:</B><DD>the list of all of the setup tips. |
---|
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></DL> |
---|
1128 | </DD> |
---|
1129 | </DL> |
---|
1130 | <HR> |
---|
1131 | |
---|
1132 | <A NAME="getReduceTaskReports(java.lang.String)"><!-- --></A><H3> |
---|
1133 | getReduceTaskReports</H3> |
---|
1134 | <PRE> |
---|
1135 | <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> |
---|
1136 | </FONT>public <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred">TaskReport</A>[] <B>getReduceTaskReports</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> jobId) |
---|
1137 | 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> |
---|
1138 | <DL> |
---|
1139 | <DD><B>Deprecated.</B> <I>Applications should rather use <A HREF="../../../../org/apache/hadoop/mapred/JobClient.html#getReduceTaskReports(org.apache.hadoop.mapred.JobID)"><CODE>getReduceTaskReports(JobID)</CODE></A></I> |
---|
1140 | <P> |
---|
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></DL> |
---|
1148 | </DD> |
---|
1149 | </DL> |
---|
1150 | <HR> |
---|
1151 | |
---|
1152 | <A NAME="displayTasks(org.apache.hadoop.mapred.JobID, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
1153 | displayTasks</H3> |
---|
1154 | <PRE> |
---|
1155 | public void <B>displayTasks</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
1156 | <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> type, |
---|
1157 | <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> state) |
---|
1158 | 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> |
---|
1159 | <DL> |
---|
1160 | <DD>Display the information about a job's tasks, of a particular type and |
---|
1161 | in a particular state |
---|
1162 | <P> |
---|
1163 | <DD><DL> |
---|
1164 | </DL> |
---|
1165 | </DD> |
---|
1166 | <DD><DL> |
---|
1167 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the ID of the job<DD><CODE>type</CODE> - the type of the task (map/reduce/setup/cleanup)<DD><CODE>state</CODE> - the state of the task |
---|
1168 | (pending/running/completed/failed/killed) |
---|
1169 | <DT><B>Throws:</B> |
---|
1170 | <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> |
---|
1171 | </DD> |
---|
1172 | </DL> |
---|
1173 | <HR> |
---|
1174 | |
---|
1175 | <A NAME="getClusterStatus()"><!-- --></A><H3> |
---|
1176 | getClusterStatus</H3> |
---|
1177 | <PRE> |
---|
1178 | public <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A> <B>getClusterStatus</B>() |
---|
1179 | 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> |
---|
1180 | <DL> |
---|
1181 | <DD>Get status information about the Map-Reduce cluster. |
---|
1182 | <P> |
---|
1183 | <DD><DL> |
---|
1184 | </DL> |
---|
1185 | </DD> |
---|
1186 | <DD><DL> |
---|
1187 | |
---|
1188 | <DT><B>Returns:</B><DD>the status information about the Map-Reduce cluster as an object |
---|
1189 | of <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred"><CODE>ClusterStatus</CODE></A>. |
---|
1190 | <DT><B>Throws:</B> |
---|
1191 | <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> |
---|
1192 | </DD> |
---|
1193 | </DL> |
---|
1194 | <HR> |
---|
1195 | |
---|
1196 | <A NAME="getClusterStatus(boolean)"><!-- --></A><H3> |
---|
1197 | getClusterStatus</H3> |
---|
1198 | <PRE> |
---|
1199 | public <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred">ClusterStatus</A> <B>getClusterStatus</B>(boolean detailed) |
---|
1200 | 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> |
---|
1201 | <DL> |
---|
1202 | <DD>Get status information about the Map-Reduce cluster. |
---|
1203 | <P> |
---|
1204 | <DD><DL> |
---|
1205 | </DL> |
---|
1206 | </DD> |
---|
1207 | <DD><DL> |
---|
1208 | <DT><B>Parameters:</B><DD><CODE>detailed</CODE> - if true then get a detailed status including the |
---|
1209 | tracker names |
---|
1210 | <DT><B>Returns:</B><DD>the status information about the Map-Reduce cluster as an object |
---|
1211 | of <A HREF="../../../../org/apache/hadoop/mapred/ClusterStatus.html" title="class in org.apache.hadoop.mapred"><CODE>ClusterStatus</CODE></A>. |
---|
1212 | <DT><B>Throws:</B> |
---|
1213 | <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> |
---|
1214 | </DD> |
---|
1215 | </DL> |
---|
1216 | <HR> |
---|
1217 | |
---|
1218 | <A NAME="jobsToComplete()"><!-- --></A><H3> |
---|
1219 | jobsToComplete</H3> |
---|
1220 | <PRE> |
---|
1221 | public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[] <B>jobsToComplete</B>() |
---|
1222 | 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> |
---|
1223 | <DL> |
---|
1224 | <DD>Get the jobs that are not completed and not failed. |
---|
1225 | <P> |
---|
1226 | <DD><DL> |
---|
1227 | </DL> |
---|
1228 | </DD> |
---|
1229 | <DD><DL> |
---|
1230 | |
---|
1231 | <DT><B>Returns:</B><DD>array of <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred"><CODE>JobStatus</CODE></A> for the running/to-be-run jobs. |
---|
1232 | <DT><B>Throws:</B> |
---|
1233 | <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> |
---|
1234 | </DD> |
---|
1235 | </DL> |
---|
1236 | <HR> |
---|
1237 | |
---|
1238 | <A NAME="getAllJobs()"><!-- --></A><H3> |
---|
1239 | getAllJobs</H3> |
---|
1240 | <PRE> |
---|
1241 | public <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred">JobStatus</A>[] <B>getAllJobs</B>() |
---|
1242 | 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> |
---|
1243 | <DL> |
---|
1244 | <DD>Get the jobs that are submitted. |
---|
1245 | <P> |
---|
1246 | <DD><DL> |
---|
1247 | </DL> |
---|
1248 | </DD> |
---|
1249 | <DD><DL> |
---|
1250 | |
---|
1251 | <DT><B>Returns:</B><DD>array of <A HREF="../../../../org/apache/hadoop/mapred/JobStatus.html" title="class in org.apache.hadoop.mapred"><CODE>JobStatus</CODE></A> for the submitted jobs. |
---|
1252 | <DT><B>Throws:</B> |
---|
1253 | <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> |
---|
1254 | </DD> |
---|
1255 | </DL> |
---|
1256 | <HR> |
---|
1257 | |
---|
1258 | <A NAME="runJob(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
1259 | runJob</H3> |
---|
1260 | <PRE> |
---|
1261 | public static <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>runJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job) |
---|
1262 | 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> |
---|
1263 | <DL> |
---|
1264 | <DD>Utility that submits a job, then polls for progress until the job is |
---|
1265 | complete. |
---|
1266 | <P> |
---|
1267 | <DD><DL> |
---|
1268 | </DL> |
---|
1269 | </DD> |
---|
1270 | <DD><DL> |
---|
1271 | <DT><B>Parameters:</B><DD><CODE>job</CODE> - the job configuration. |
---|
1272 | <DT><B>Throws:</B> |
---|
1273 | <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 the job fails</DL> |
---|
1274 | </DD> |
---|
1275 | </DL> |
---|
1276 | <HR> |
---|
1277 | |
---|
1278 | <A NAME="monitorAndPrintJob(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.RunningJob)"><!-- --></A><H3> |
---|
1279 | monitorAndPrintJob</H3> |
---|
1280 | <PRE> |
---|
1281 | public boolean <B>monitorAndPrintJob</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
1282 | <A HREF="../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> job) |
---|
1283 | 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>, |
---|
1284 | <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> |
---|
1285 | <DL> |
---|
1286 | <DD>Monitor a job and print status in real-time as progress is made and tasks |
---|
1287 | fail. |
---|
1288 | <P> |
---|
1289 | <DD><DL> |
---|
1290 | </DL> |
---|
1291 | </DD> |
---|
1292 | <DD><DL> |
---|
1293 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the job's configuration<DD><CODE>job</CODE> - the job to track |
---|
1294 | <DT><B>Returns:</B><DD>true if the job succeeded |
---|
1295 | <DT><B>Throws:</B> |
---|
1296 | <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 communication to the JobTracker fails |
---|
1297 | <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> |
---|
1298 | </DD> |
---|
1299 | </DL> |
---|
1300 | <HR> |
---|
1301 | |
---|
1302 | <A NAME="setTaskOutputFilter(org.apache.hadoop.mapred.JobClient.TaskStatusFilter)"><!-- --></A><H3> |
---|
1303 | setTaskOutputFilter</H3> |
---|
1304 | <PRE> |
---|
1305 | <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> |
---|
1306 | </FONT>public void <B>setTaskOutputFilter</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A> newValue)</PRE> |
---|
1307 | <DL> |
---|
1308 | <DD><B>Deprecated.</B> |
---|
1309 | <P> |
---|
1310 | <DD>Sets the output filter for tasks. only those tasks are printed whose |
---|
1311 | output matches the filter. |
---|
1312 | <P> |
---|
1313 | <DD><DL> |
---|
1314 | </DL> |
---|
1315 | </DD> |
---|
1316 | <DD><DL> |
---|
1317 | <DT><B>Parameters:</B><DD><CODE>newValue</CODE> - task filter.</DL> |
---|
1318 | </DD> |
---|
1319 | </DL> |
---|
1320 | <HR> |
---|
1321 | |
---|
1322 | <A NAME="getTaskOutputFilter(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
1323 | getTaskOutputFilter</H3> |
---|
1324 | <PRE> |
---|
1325 | public static <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A> <B>getTaskOutputFilter</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</PRE> |
---|
1326 | <DL> |
---|
1327 | <DD>Get the task output filter out of the JobConf. |
---|
1328 | <P> |
---|
1329 | <DD><DL> |
---|
1330 | </DL> |
---|
1331 | </DD> |
---|
1332 | <DD><DL> |
---|
1333 | <DT><B>Parameters:</B><DD><CODE>job</CODE> - the JobConf to examine. |
---|
1334 | <DT><B>Returns:</B><DD>the filter level.</DL> |
---|
1335 | </DD> |
---|
1336 | </DL> |
---|
1337 | <HR> |
---|
1338 | |
---|
1339 | <A NAME="setTaskOutputFilter(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.JobClient.TaskStatusFilter)"><!-- --></A><H3> |
---|
1340 | setTaskOutputFilter</H3> |
---|
1341 | <PRE> |
---|
1342 | public static void <B>setTaskOutputFilter</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job, |
---|
1343 | <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A> newValue)</PRE> |
---|
1344 | <DL> |
---|
1345 | <DD>Modify the JobConf to set the task output filter. |
---|
1346 | <P> |
---|
1347 | <DD><DL> |
---|
1348 | </DL> |
---|
1349 | </DD> |
---|
1350 | <DD><DL> |
---|
1351 | <DT><B>Parameters:</B><DD><CODE>job</CODE> - the JobConf to modify.<DD><CODE>newValue</CODE> - the value to set.</DL> |
---|
1352 | </DD> |
---|
1353 | </DL> |
---|
1354 | <HR> |
---|
1355 | |
---|
1356 | <A NAME="getTaskOutputFilter()"><!-- --></A><H3> |
---|
1357 | getTaskOutputFilter</H3> |
---|
1358 | <PRE> |
---|
1359 | <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> |
---|
1360 | </FONT>public <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred">JobClient.TaskStatusFilter</A> <B>getTaskOutputFilter</B>()</PRE> |
---|
1361 | <DL> |
---|
1362 | <DD><B>Deprecated.</B> |
---|
1363 | <P> |
---|
1364 | <DD>Returns task output filter. |
---|
1365 | <P> |
---|
1366 | <DD><DL> |
---|
1367 | </DL> |
---|
1368 | </DD> |
---|
1369 | <DD><DL> |
---|
1370 | |
---|
1371 | <DT><B>Returns:</B><DD>task filter.</DL> |
---|
1372 | </DD> |
---|
1373 | </DL> |
---|
1374 | <HR> |
---|
1375 | |
---|
1376 | <A NAME="run(java.lang.String[])"><!-- --></A><H3> |
---|
1377 | run</H3> |
---|
1378 | <PRE> |
---|
1379 | public int <B>run</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>[] argv) |
---|
1380 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
1381 | <DL> |
---|
1382 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/util/Tool.html#run(java.lang.String[])">Tool</A></CODE></B></DD> |
---|
1383 | <DD>Execute the command with the given arguments. |
---|
1384 | <P> |
---|
1385 | <DD><DL> |
---|
1386 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/util/Tool.html#run(java.lang.String[])">run</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util">Tool</A></CODE></DL> |
---|
1387 | </DD> |
---|
1388 | <DD><DL> |
---|
1389 | <DT><B>Parameters:</B><DD><CODE>argv</CODE> - command specific arguments. |
---|
1390 | <DT><B>Returns:</B><DD>exit code. |
---|
1391 | <DT><B>Throws:</B> |
---|
1392 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
1393 | </DD> |
---|
1394 | </DL> |
---|
1395 | <HR> |
---|
1396 | |
---|
1397 | <A NAME="getDefaultMaps()"><!-- --></A><H3> |
---|
1398 | getDefaultMaps</H3> |
---|
1399 | <PRE> |
---|
1400 | public int <B>getDefaultMaps</B>() |
---|
1401 | 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> |
---|
1402 | <DL> |
---|
1403 | <DD>Get status information about the max available Maps in the cluster. |
---|
1404 | <P> |
---|
1405 | <DD><DL> |
---|
1406 | </DL> |
---|
1407 | </DD> |
---|
1408 | <DD><DL> |
---|
1409 | |
---|
1410 | <DT><B>Returns:</B><DD>the max available Maps in the cluster |
---|
1411 | <DT><B>Throws:</B> |
---|
1412 | <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> |
---|
1413 | </DD> |
---|
1414 | </DL> |
---|
1415 | <HR> |
---|
1416 | |
---|
1417 | <A NAME="getDefaultReduces()"><!-- --></A><H3> |
---|
1418 | getDefaultReduces</H3> |
---|
1419 | <PRE> |
---|
1420 | public int <B>getDefaultReduces</B>() |
---|
1421 | 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> |
---|
1422 | <DL> |
---|
1423 | <DD>Get status information about the max available Reduces in the cluster. |
---|
1424 | <P> |
---|
1425 | <DD><DL> |
---|
1426 | </DL> |
---|
1427 | </DD> |
---|
1428 | <DD><DL> |
---|
1429 | |
---|
1430 | <DT><B>Returns:</B><DD>the max available Reduces in the cluster |
---|
1431 | <DT><B>Throws:</B> |
---|
1432 | <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> |
---|
1433 | </DD> |
---|
1434 | </DL> |
---|
1435 | <HR> |
---|
1436 | |
---|
1437 | <A NAME="getSystemDir()"><!-- --></A><H3> |
---|
1438 | getSystemDir</H3> |
---|
1439 | <PRE> |
---|
1440 | public <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getSystemDir</B>()</PRE> |
---|
1441 | <DL> |
---|
1442 | <DD>Grab the jobtracker system directory path where job-specific files are to be placed. |
---|
1443 | <P> |
---|
1444 | <DD><DL> |
---|
1445 | </DL> |
---|
1446 | </DD> |
---|
1447 | <DD><DL> |
---|
1448 | |
---|
1449 | <DT><B>Returns:</B><DD>the system directory where job-specific files are to be placed.</DL> |
---|
1450 | </DD> |
---|
1451 | </DL> |
---|
1452 | <HR> |
---|
1453 | |
---|
1454 | <A NAME="getQueues()"><!-- --></A><H3> |
---|
1455 | getQueues</H3> |
---|
1456 | <PRE> |
---|
1457 | public <A HREF="../../../../org/apache/hadoop/mapred/JobQueueInfo.html" title="class in org.apache.hadoop.mapred">JobQueueInfo</A>[] <B>getQueues</B>() |
---|
1458 | 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> |
---|
1459 | <DL> |
---|
1460 | <DD>Return an array of queue information objects about all the Job Queues |
---|
1461 | configured. |
---|
1462 | <P> |
---|
1463 | <DD><DL> |
---|
1464 | </DL> |
---|
1465 | </DD> |
---|
1466 | <DD><DL> |
---|
1467 | |
---|
1468 | <DT><B>Returns:</B><DD>Array of JobQueueInfo objects |
---|
1469 | <DT><B>Throws:</B> |
---|
1470 | <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> |
---|
1471 | </DD> |
---|
1472 | </DL> |
---|
1473 | <HR> |
---|
1474 | |
---|
1475 | <A NAME="getJobsFromQueue(java.lang.String)"><!-- --></A><H3> |
---|
1476 | getJobsFromQueue</H3> |
---|
1477 | <PRE> |
---|
1478 | public <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> queueName) |
---|
1479 | 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> |
---|
1480 | <DL> |
---|
1481 | <DD>Gets all the jobs which were added to particular Job Queue |
---|
1482 | <P> |
---|
1483 | <DD><DL> |
---|
1484 | </DL> |
---|
1485 | </DD> |
---|
1486 | <DD><DL> |
---|
1487 | <DT><B>Parameters:</B><DD><CODE>queueName</CODE> - name of the Job Queue |
---|
1488 | <DT><B>Returns:</B><DD>Array of jobs present in the job queue |
---|
1489 | <DT><B>Throws:</B> |
---|
1490 | <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> |
---|
1491 | </DD> |
---|
1492 | </DL> |
---|
1493 | <HR> |
---|
1494 | |
---|
1495 | <A NAME="getQueueInfo(java.lang.String)"><!-- --></A><H3> |
---|
1496 | getQueueInfo</H3> |
---|
1497 | <PRE> |
---|
1498 | public <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> queueName) |
---|
1499 | 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> |
---|
1500 | <DL> |
---|
1501 | <DD>Gets the queue information associated to a particular Job Queue |
---|
1502 | <P> |
---|
1503 | <DD><DL> |
---|
1504 | </DL> |
---|
1505 | </DD> |
---|
1506 | <DD><DL> |
---|
1507 | <DT><B>Parameters:</B><DD><CODE>queueName</CODE> - name of the job queue. |
---|
1508 | <DT><B>Returns:</B><DD>Queue information associated to particular queue. |
---|
1509 | <DT><B>Throws:</B> |
---|
1510 | <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> |
---|
1511 | </DD> |
---|
1512 | </DL> |
---|
1513 | <HR> |
---|
1514 | |
---|
1515 | <A NAME="main(java.lang.String[])"><!-- --></A><H3> |
---|
1516 | main</H3> |
---|
1517 | <PRE> |
---|
1518 | public 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>[] argv) |
---|
1519 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
1520 | <DL> |
---|
1521 | <DD><DL> |
---|
1522 | </DL> |
---|
1523 | </DD> |
---|
1524 | <DD><DL> |
---|
1525 | |
---|
1526 | <DT><B>Throws:</B> |
---|
1527 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
1528 | </DD> |
---|
1529 | </DL> |
---|
1530 | <!-- ========= END OF CLASS DATA ========= --> |
---|
1531 | <HR> |
---|
1532 | |
---|
1533 | |
---|
1534 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
1535 | <A NAME="navbar_bottom"><!-- --></A> |
---|
1536 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
1537 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
1538 | <TR> |
---|
1539 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
1540 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
1541 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
1542 | <TR ALIGN="center" VALIGN="top"> |
---|
1543 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
1544 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
1545 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
1546 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JobClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
1547 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
1548 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
1549 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
1550 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
1551 | </TR> |
---|
1552 | </TABLE> |
---|
1553 | </TD> |
---|
1554 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
1555 | </EM> |
---|
1556 | </TD> |
---|
1557 | </TR> |
---|
1558 | |
---|
1559 | <TR> |
---|
1560 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1561 | <A HREF="../../../../org/apache/hadoop/mapred/IsolationRunner.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
1562 | <A HREF="../../../../org/apache/hadoop/mapred/JobClient.TaskStatusFilter.html" title="enum in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
1563 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1564 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/JobClient.html" target="_top"><B>FRAMES</B></A> |
---|
1565 | <A HREF="JobClient.html" target="_top"><B>NO FRAMES</B></A> |
---|
1566 | <SCRIPT type="text/javascript"> |
---|
1567 | <!-- |
---|
1568 | if(window==top) { |
---|
1569 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
1570 | } |
---|
1571 | //--> |
---|
1572 | </SCRIPT> |
---|
1573 | <NOSCRIPT> |
---|
1574 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
1575 | </NOSCRIPT> |
---|
1576 | |
---|
1577 | |
---|
1578 | </FONT></TD> |
---|
1579 | </TR> |
---|
1580 | <TR> |
---|
1581 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1582 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
1583 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1584 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
1585 | </TR> |
---|
1586 | </TABLE> |
---|
1587 | <A NAME="skip-navbar_bottom"></A> |
---|
1588 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
1589 | |
---|
1590 | <HR> |
---|
1591 | Copyright © 2009 The Apache Software Foundation |
---|
1592 | </BODY> |
---|
1593 | </HTML> |
---|