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:58 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | JobContext (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="JobContext (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/JobContext.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/mapreduce/Job.JobState.html" title="enum in org.apache.hadoop.mapreduce"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/hadoop/mapreduce/JobContext.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="JobContext.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: NESTED | <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.mapreduce</FONT> |
---|
92 | <BR> |
---|
93 | Class JobContext</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapreduce.JobContext</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/hadoop/mapreduce/Job.html" title="class in org.apache.hadoop.mapreduce">Job</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobContext.html" title="class in org.apache.hadoop.mapred">JobContext</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptContext.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptContext</A></DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public class <B>JobContext</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
---|
104 | </PRE> |
---|
105 | |
---|
106 | <P> |
---|
107 | A read-only view of the job that is provided to the tasks while they |
---|
108 | are running. |
---|
109 | <P> |
---|
110 | |
---|
111 | <P> |
---|
112 | <HR> |
---|
113 | |
---|
114 | <P> |
---|
115 | <!-- =========== FIELD SUMMARY =========== --> |
---|
116 | |
---|
117 | <A NAME="field_summary"><!-- --></A> |
---|
118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
120 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
121 | <B>Field Summary</B></FONT></TH> |
---|
122 | </TR> |
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
124 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
125 | <CODE>protected 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> |
---|
126 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#COMBINE_CLASS_ATTR">COMBINE_CLASS_ATTR</A></B></CODE> |
---|
127 | |
---|
128 | <BR> |
---|
129 | </TD> |
---|
130 | </TR> |
---|
131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
133 | <CODE>protected <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A></CODE></FONT></TD> |
---|
134 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#conf">conf</A></B></CODE> |
---|
135 | |
---|
136 | <BR> |
---|
137 | </TD> |
---|
138 | </TR> |
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
141 | <CODE>protected 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> |
---|
142 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#INPUT_FORMAT_CLASS_ATTR">INPUT_FORMAT_CLASS_ATTR</A></B></CODE> |
---|
143 | |
---|
144 | <BR> |
---|
145 | </TD> |
---|
146 | </TR> |
---|
147 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
149 | <CODE>protected 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> |
---|
150 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#MAP_CLASS_ATTR">MAP_CLASS_ATTR</A></B></CODE> |
---|
151 | |
---|
152 | <BR> |
---|
153 | </TD> |
---|
154 | </TR> |
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
157 | <CODE>protected 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> |
---|
158 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#OUTPUT_FORMAT_CLASS_ATTR">OUTPUT_FORMAT_CLASS_ATTR</A></B></CODE> |
---|
159 | |
---|
160 | <BR> |
---|
161 | </TD> |
---|
162 | </TR> |
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
165 | <CODE>protected 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> |
---|
166 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#PARTITIONER_CLASS_ATTR">PARTITIONER_CLASS_ATTR</A></B></CODE> |
---|
167 | |
---|
168 | <BR> |
---|
169 | </TD> |
---|
170 | </TR> |
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
173 | <CODE>protected 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> |
---|
174 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#REDUCE_CLASS_ATTR">REDUCE_CLASS_ATTR</A></B></CODE> |
---|
175 | |
---|
176 | <BR> |
---|
177 | </TD> |
---|
178 | </TR> |
---|
179 | </TABLE> |
---|
180 | |
---|
181 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
182 | |
---|
183 | <A NAME="constructor_summary"><!-- --></A> |
---|
184 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
185 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
186 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
187 | <B>Constructor Summary</B></FONT></TH> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#JobContext(org.apache.hadoop.conf.Configuration, org.apache.hadoop.mapreduce.JobID)">JobContext</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
191 | <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce">JobID</A> jobId)</CODE> |
---|
192 | |
---|
193 | <BR> |
---|
194 | </TD> |
---|
195 | </TR> |
---|
196 | </TABLE> |
---|
197 | |
---|
198 | <!-- ========== METHOD SUMMARY =========== --> |
---|
199 | |
---|
200 | <A NAME="method_summary"><!-- --></A> |
---|
201 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
202 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
203 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
204 | <B>Method Summary</B></FONT></TH> |
---|
205 | </TR> |
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
208 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce">Reducer</A><?,?,?,?>></CODE></FONT></TD> |
---|
209 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getCombinerClass()">getCombinerClass</A></B>()</CODE> |
---|
210 | |
---|
211 | <BR> |
---|
212 | Get the combiner class for the job.</TD> |
---|
213 | </TR> |
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
216 | <CODE> <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A></CODE></FONT></TD> |
---|
217 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getConfiguration()">getConfiguration</A></B>()</CODE> |
---|
218 | |
---|
219 | <BR> |
---|
220 | Return the configuration for the job.</TD> |
---|
221 | </TR> |
---|
222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
224 | <CODE> <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io">RawComparator</A><?></CODE></FONT></TD> |
---|
225 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getGroupingComparator()">getGroupingComparator</A></B>()</CODE> |
---|
226 | |
---|
227 | <BR> |
---|
228 | Get the user defined <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io"><CODE>RawComparator</CODE></A> comparator for |
---|
229 | grouping keys of inputs to the reduce.</TD> |
---|
230 | </TR> |
---|
231 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
233 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/InputFormat.html" title="class in org.apache.hadoop.mapreduce">InputFormat</A><?,?>></CODE></FONT></TD> |
---|
234 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getInputFormatClass()">getInputFormatClass</A></B>()</CODE> |
---|
235 | |
---|
236 | <BR> |
---|
237 | Get the <A HREF="../../../../org/apache/hadoop/mapreduce/InputFormat.html" title="class in org.apache.hadoop.mapreduce"><CODE>InputFormat</CODE></A> class for the job.</TD> |
---|
238 | </TR> |
---|
239 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
241 | <CODE> <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> |
---|
242 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getJar()">getJar</A></B>()</CODE> |
---|
243 | |
---|
244 | <BR> |
---|
245 | Get the pathname of the job's jar.</TD> |
---|
246 | </TR> |
---|
247 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
249 | <CODE> <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce">JobID</A></CODE></FONT></TD> |
---|
250 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getJobID()">getJobID</A></B>()</CODE> |
---|
251 | |
---|
252 | <BR> |
---|
253 | Get the unique ID for the job.</TD> |
---|
254 | </TR> |
---|
255 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
257 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
258 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getJobName()">getJobName</A></B>()</CODE> |
---|
259 | |
---|
260 | <BR> |
---|
261 | Get the user-specified job name.</TD> |
---|
262 | </TR> |
---|
263 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
264 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
265 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?></CODE></FONT></TD> |
---|
266 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getMapOutputKeyClass()">getMapOutputKeyClass</A></B>()</CODE> |
---|
267 | |
---|
268 | <BR> |
---|
269 | Get the key class for the map output data.</TD> |
---|
270 | </TR> |
---|
271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
273 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?></CODE></FONT></TD> |
---|
274 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getMapOutputValueClass()">getMapOutputValueClass</A></B>()</CODE> |
---|
275 | |
---|
276 | <BR> |
---|
277 | Get the value class for the map output data.</TD> |
---|
278 | </TR> |
---|
279 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
280 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
281 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Mapper.html" title="class in org.apache.hadoop.mapreduce">Mapper</A><?,?,?,?>></CODE></FONT></TD> |
---|
282 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getMapperClass()">getMapperClass</A></B>()</CODE> |
---|
283 | |
---|
284 | <BR> |
---|
285 | Get the <A HREF="../../../../org/apache/hadoop/mapreduce/Mapper.html" title="class in org.apache.hadoop.mapreduce"><CODE>Mapper</CODE></A> class for the job.</TD> |
---|
286 | </TR> |
---|
287 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
288 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
289 | <CODE> int</CODE></FONT></TD> |
---|
290 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getNumReduceTasks()">getNumReduceTasks</A></B>()</CODE> |
---|
291 | |
---|
292 | <BR> |
---|
293 | Get configured the number of reduce tasks for this job.</TD> |
---|
294 | </TR> |
---|
295 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
296 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
297 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/OutputFormat.html" title="class in org.apache.hadoop.mapreduce">OutputFormat</A><?,?>></CODE></FONT></TD> |
---|
298 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getOutputFormatClass()">getOutputFormatClass</A></B>()</CODE> |
---|
299 | |
---|
300 | <BR> |
---|
301 | Get the <A HREF="../../../../org/apache/hadoop/mapreduce/OutputFormat.html" title="class in org.apache.hadoop.mapreduce"><CODE>OutputFormat</CODE></A> class for the job.</TD> |
---|
302 | </TR> |
---|
303 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
304 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
305 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?></CODE></FONT></TD> |
---|
306 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getOutputKeyClass()">getOutputKeyClass</A></B>()</CODE> |
---|
307 | |
---|
308 | <BR> |
---|
309 | Get the key class for the job output data.</TD> |
---|
310 | </TR> |
---|
311 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
312 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
313 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?></CODE></FONT></TD> |
---|
314 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getOutputValueClass()">getOutputValueClass</A></B>()</CODE> |
---|
315 | |
---|
316 | <BR> |
---|
317 | Get the value class for job outputs.</TD> |
---|
318 | </TR> |
---|
319 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
320 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
321 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Partitioner.html" title="class in org.apache.hadoop.mapreduce">Partitioner</A><?,?>></CODE></FONT></TD> |
---|
322 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getPartitionerClass()">getPartitionerClass</A></B>()</CODE> |
---|
323 | |
---|
324 | <BR> |
---|
325 | Get the <A HREF="../../../../org/apache/hadoop/mapreduce/Partitioner.html" title="class in org.apache.hadoop.mapreduce"><CODE>Partitioner</CODE></A> class for the job.</TD> |
---|
326 | </TR> |
---|
327 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
328 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
329 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce">Reducer</A><?,?,?,?>></CODE></FONT></TD> |
---|
330 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getReducerClass()">getReducerClass</A></B>()</CODE> |
---|
331 | |
---|
332 | <BR> |
---|
333 | Get the <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce"><CODE>Reducer</CODE></A> class for the job.</TD> |
---|
334 | </TR> |
---|
335 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
336 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
337 | <CODE> <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io">RawComparator</A><?></CODE></FONT></TD> |
---|
338 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getSortComparator()">getSortComparator</A></B>()</CODE> |
---|
339 | |
---|
340 | <BR> |
---|
341 | Get the <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io"><CODE>RawComparator</CODE></A> comparator used to compare keys.</TD> |
---|
342 | </TR> |
---|
343 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
344 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
345 | <CODE> <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
346 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapreduce/JobContext.html#getWorkingDirectory()">getWorkingDirectory</A></B>()</CODE> |
---|
347 | |
---|
348 | <BR> |
---|
349 | Get the current working directory for the default file system.</TD> |
---|
350 | </TR> |
---|
351 | </TABLE> |
---|
352 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
353 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
354 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
355 | <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> |
---|
356 | </TR> |
---|
357 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
358 | <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> |
---|
359 | </TR> |
---|
360 | </TABLE> |
---|
361 | |
---|
362 | <P> |
---|
363 | |
---|
364 | <!-- ============ FIELD DETAIL =========== --> |
---|
365 | |
---|
366 | <A NAME="field_detail"><!-- --></A> |
---|
367 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
368 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
369 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
370 | <B>Field Detail</B></FONT></TH> |
---|
371 | </TR> |
---|
372 | </TABLE> |
---|
373 | |
---|
374 | <A NAME="INPUT_FORMAT_CLASS_ATTR"><!-- --></A><H3> |
---|
375 | INPUT_FORMAT_CLASS_ATTR</H3> |
---|
376 | <PRE> |
---|
377 | protected 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>INPUT_FORMAT_CLASS_ATTR</B></PRE> |
---|
378 | <DL> |
---|
379 | <DL> |
---|
380 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapreduce.JobContext.INPUT_FORMAT_CLASS_ATTR">Constant Field Values</A></DL> |
---|
381 | </DL> |
---|
382 | <HR> |
---|
383 | |
---|
384 | <A NAME="MAP_CLASS_ATTR"><!-- --></A><H3> |
---|
385 | MAP_CLASS_ATTR</H3> |
---|
386 | <PRE> |
---|
387 | protected 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_CLASS_ATTR</B></PRE> |
---|
388 | <DL> |
---|
389 | <DL> |
---|
390 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapreduce.JobContext.MAP_CLASS_ATTR">Constant Field Values</A></DL> |
---|
391 | </DL> |
---|
392 | <HR> |
---|
393 | |
---|
394 | <A NAME="COMBINE_CLASS_ATTR"><!-- --></A><H3> |
---|
395 | COMBINE_CLASS_ATTR</H3> |
---|
396 | <PRE> |
---|
397 | protected 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>COMBINE_CLASS_ATTR</B></PRE> |
---|
398 | <DL> |
---|
399 | <DL> |
---|
400 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapreduce.JobContext.COMBINE_CLASS_ATTR">Constant Field Values</A></DL> |
---|
401 | </DL> |
---|
402 | <HR> |
---|
403 | |
---|
404 | <A NAME="REDUCE_CLASS_ATTR"><!-- --></A><H3> |
---|
405 | REDUCE_CLASS_ATTR</H3> |
---|
406 | <PRE> |
---|
407 | protected 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>REDUCE_CLASS_ATTR</B></PRE> |
---|
408 | <DL> |
---|
409 | <DL> |
---|
410 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapreduce.JobContext.REDUCE_CLASS_ATTR">Constant Field Values</A></DL> |
---|
411 | </DL> |
---|
412 | <HR> |
---|
413 | |
---|
414 | <A NAME="OUTPUT_FORMAT_CLASS_ATTR"><!-- --></A><H3> |
---|
415 | OUTPUT_FORMAT_CLASS_ATTR</H3> |
---|
416 | <PRE> |
---|
417 | protected 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>OUTPUT_FORMAT_CLASS_ATTR</B></PRE> |
---|
418 | <DL> |
---|
419 | <DL> |
---|
420 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapreduce.JobContext.OUTPUT_FORMAT_CLASS_ATTR">Constant Field Values</A></DL> |
---|
421 | </DL> |
---|
422 | <HR> |
---|
423 | |
---|
424 | <A NAME="PARTITIONER_CLASS_ATTR"><!-- --></A><H3> |
---|
425 | PARTITIONER_CLASS_ATTR</H3> |
---|
426 | <PRE> |
---|
427 | protected 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>PARTITIONER_CLASS_ATTR</B></PRE> |
---|
428 | <DL> |
---|
429 | <DL> |
---|
430 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapreduce.JobContext.PARTITIONER_CLASS_ATTR">Constant Field Values</A></DL> |
---|
431 | </DL> |
---|
432 | <HR> |
---|
433 | |
---|
434 | <A NAME="conf"><!-- --></A><H3> |
---|
435 | conf</H3> |
---|
436 | <PRE> |
---|
437 | protected final <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> <B>conf</B></PRE> |
---|
438 | <DL> |
---|
439 | <DL> |
---|
440 | </DL> |
---|
441 | </DL> |
---|
442 | |
---|
443 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
444 | |
---|
445 | <A NAME="constructor_detail"><!-- --></A> |
---|
446 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
447 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
448 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
449 | <B>Constructor Detail</B></FONT></TH> |
---|
450 | </TR> |
---|
451 | </TABLE> |
---|
452 | |
---|
453 | <A NAME="JobContext(org.apache.hadoop.conf.Configuration, org.apache.hadoop.mapreduce.JobID)"><!-- --></A><H3> |
---|
454 | JobContext</H3> |
---|
455 | <PRE> |
---|
456 | public <B>JobContext</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
457 | <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce">JobID</A> jobId)</PRE> |
---|
458 | <DL> |
---|
459 | </DL> |
---|
460 | |
---|
461 | <!-- ============ METHOD DETAIL ========== --> |
---|
462 | |
---|
463 | <A NAME="method_detail"><!-- --></A> |
---|
464 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
465 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
466 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
467 | <B>Method Detail</B></FONT></TH> |
---|
468 | </TR> |
---|
469 | </TABLE> |
---|
470 | |
---|
471 | <A NAME="getConfiguration()"><!-- --></A><H3> |
---|
472 | getConfiguration</H3> |
---|
473 | <PRE> |
---|
474 | public <A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> <B>getConfiguration</B>()</PRE> |
---|
475 | <DL> |
---|
476 | <DD>Return the configuration for the job. |
---|
477 | <P> |
---|
478 | <DD><DL> |
---|
479 | |
---|
480 | <DT><B>Returns:</B><DD>the shared configuration object</DL> |
---|
481 | </DD> |
---|
482 | </DL> |
---|
483 | <HR> |
---|
484 | |
---|
485 | <A NAME="getJobID()"><!-- --></A><H3> |
---|
486 | getJobID</H3> |
---|
487 | <PRE> |
---|
488 | public <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce">JobID</A> <B>getJobID</B>()</PRE> |
---|
489 | <DL> |
---|
490 | <DD>Get the unique ID for the job. |
---|
491 | <P> |
---|
492 | <DD><DL> |
---|
493 | |
---|
494 | <DT><B>Returns:</B><DD>the object with the job id</DL> |
---|
495 | </DD> |
---|
496 | </DL> |
---|
497 | <HR> |
---|
498 | |
---|
499 | <A NAME="getNumReduceTasks()"><!-- --></A><H3> |
---|
500 | getNumReduceTasks</H3> |
---|
501 | <PRE> |
---|
502 | public int <B>getNumReduceTasks</B>()</PRE> |
---|
503 | <DL> |
---|
504 | <DD>Get configured the number of reduce tasks for this job. Defaults to |
---|
505 | <code>1</code>. |
---|
506 | <P> |
---|
507 | <DD><DL> |
---|
508 | |
---|
509 | <DT><B>Returns:</B><DD>the number of reduce tasks for this job.</DL> |
---|
510 | </DD> |
---|
511 | </DL> |
---|
512 | <HR> |
---|
513 | |
---|
514 | <A NAME="getWorkingDirectory()"><!-- --></A><H3> |
---|
515 | getWorkingDirectory</H3> |
---|
516 | <PRE> |
---|
517 | public <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getWorkingDirectory</B>() |
---|
518 | 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> |
---|
519 | <DL> |
---|
520 | <DD>Get the current working directory for the default file system. |
---|
521 | <P> |
---|
522 | <DD><DL> |
---|
523 | |
---|
524 | <DT><B>Returns:</B><DD>the directory name. |
---|
525 | <DT><B>Throws:</B> |
---|
526 | <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> |
---|
527 | </DD> |
---|
528 | </DL> |
---|
529 | <HR> |
---|
530 | |
---|
531 | <A NAME="getOutputKeyClass()"><!-- --></A><H3> |
---|
532 | getOutputKeyClass</H3> |
---|
533 | <PRE> |
---|
534 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> <B>getOutputKeyClass</B>()</PRE> |
---|
535 | <DL> |
---|
536 | <DD>Get the key class for the job output data. |
---|
537 | <P> |
---|
538 | <DD><DL> |
---|
539 | |
---|
540 | <DT><B>Returns:</B><DD>the key class for the job output data.</DL> |
---|
541 | </DD> |
---|
542 | </DL> |
---|
543 | <HR> |
---|
544 | |
---|
545 | <A NAME="getOutputValueClass()"><!-- --></A><H3> |
---|
546 | getOutputValueClass</H3> |
---|
547 | <PRE> |
---|
548 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> <B>getOutputValueClass</B>()</PRE> |
---|
549 | <DL> |
---|
550 | <DD>Get the value class for job outputs. |
---|
551 | <P> |
---|
552 | <DD><DL> |
---|
553 | |
---|
554 | <DT><B>Returns:</B><DD>the value class for job outputs.</DL> |
---|
555 | </DD> |
---|
556 | </DL> |
---|
557 | <HR> |
---|
558 | |
---|
559 | <A NAME="getMapOutputKeyClass()"><!-- --></A><H3> |
---|
560 | getMapOutputKeyClass</H3> |
---|
561 | <PRE> |
---|
562 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> <B>getMapOutputKeyClass</B>()</PRE> |
---|
563 | <DL> |
---|
564 | <DD>Get the key class for the map output data. If it is not set, use the |
---|
565 | (final) output key class. This allows the map output key class to be |
---|
566 | different than the final output key class. |
---|
567 | <P> |
---|
568 | <DD><DL> |
---|
569 | |
---|
570 | <DT><B>Returns:</B><DD>the map output key class.</DL> |
---|
571 | </DD> |
---|
572 | </DL> |
---|
573 | <HR> |
---|
574 | |
---|
575 | <A NAME="getMapOutputValueClass()"><!-- --></A><H3> |
---|
576 | getMapOutputValueClass</H3> |
---|
577 | <PRE> |
---|
578 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> <B>getMapOutputValueClass</B>()</PRE> |
---|
579 | <DL> |
---|
580 | <DD>Get the value class for the map output data. If it is not set, use the |
---|
581 | (final) output value class This allows the map output value class to be |
---|
582 | different than the final output value class. |
---|
583 | <P> |
---|
584 | <DD><DL> |
---|
585 | |
---|
586 | <DT><B>Returns:</B><DD>the map output value class.</DL> |
---|
587 | </DD> |
---|
588 | </DL> |
---|
589 | <HR> |
---|
590 | |
---|
591 | <A NAME="getJobName()"><!-- --></A><H3> |
---|
592 | getJobName</H3> |
---|
593 | <PRE> |
---|
594 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getJobName</B>()</PRE> |
---|
595 | <DL> |
---|
596 | <DD>Get the user-specified job name. This is only used to identify the |
---|
597 | job to the user. |
---|
598 | <P> |
---|
599 | <DD><DL> |
---|
600 | |
---|
601 | <DT><B>Returns:</B><DD>the job's name, defaulting to "".</DL> |
---|
602 | </DD> |
---|
603 | </DL> |
---|
604 | <HR> |
---|
605 | |
---|
606 | <A NAME="getInputFormatClass()"><!-- --></A><H3> |
---|
607 | getInputFormatClass</H3> |
---|
608 | <PRE> |
---|
609 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/InputFormat.html" title="class in org.apache.hadoop.mapreduce">InputFormat</A><?,?>> <B>getInputFormatClass</B>() |
---|
610 | throws <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></PRE> |
---|
611 | <DL> |
---|
612 | <DD>Get the <A HREF="../../../../org/apache/hadoop/mapreduce/InputFormat.html" title="class in org.apache.hadoop.mapreduce"><CODE>InputFormat</CODE></A> class for the job. |
---|
613 | <P> |
---|
614 | <DD><DL> |
---|
615 | |
---|
616 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/mapreduce/InputFormat.html" title="class in org.apache.hadoop.mapreduce"><CODE>InputFormat</CODE></A> class for the job. |
---|
617 | <DT><B>Throws:</B> |
---|
618 | <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></DL> |
---|
619 | </DD> |
---|
620 | </DL> |
---|
621 | <HR> |
---|
622 | |
---|
623 | <A NAME="getMapperClass()"><!-- --></A><H3> |
---|
624 | getMapperClass</H3> |
---|
625 | <PRE> |
---|
626 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Mapper.html" title="class in org.apache.hadoop.mapreduce">Mapper</A><?,?,?,?>> <B>getMapperClass</B>() |
---|
627 | throws <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></PRE> |
---|
628 | <DL> |
---|
629 | <DD>Get the <A HREF="../../../../org/apache/hadoop/mapreduce/Mapper.html" title="class in org.apache.hadoop.mapreduce"><CODE>Mapper</CODE></A> class for the job. |
---|
630 | <P> |
---|
631 | <DD><DL> |
---|
632 | |
---|
633 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/mapreduce/Mapper.html" title="class in org.apache.hadoop.mapreduce"><CODE>Mapper</CODE></A> class for the job. |
---|
634 | <DT><B>Throws:</B> |
---|
635 | <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></DL> |
---|
636 | </DD> |
---|
637 | </DL> |
---|
638 | <HR> |
---|
639 | |
---|
640 | <A NAME="getCombinerClass()"><!-- --></A><H3> |
---|
641 | getCombinerClass</H3> |
---|
642 | <PRE> |
---|
643 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce">Reducer</A><?,?,?,?>> <B>getCombinerClass</B>() |
---|
644 | throws <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></PRE> |
---|
645 | <DL> |
---|
646 | <DD>Get the combiner class for the job. |
---|
647 | <P> |
---|
648 | <DD><DL> |
---|
649 | |
---|
650 | <DT><B>Returns:</B><DD>the combiner class for the job. |
---|
651 | <DT><B>Throws:</B> |
---|
652 | <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></DL> |
---|
653 | </DD> |
---|
654 | </DL> |
---|
655 | <HR> |
---|
656 | |
---|
657 | <A NAME="getReducerClass()"><!-- --></A><H3> |
---|
658 | getReducerClass</H3> |
---|
659 | <PRE> |
---|
660 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce">Reducer</A><?,?,?,?>> <B>getReducerClass</B>() |
---|
661 | throws <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></PRE> |
---|
662 | <DL> |
---|
663 | <DD>Get the <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce"><CODE>Reducer</CODE></A> class for the job. |
---|
664 | <P> |
---|
665 | <DD><DL> |
---|
666 | |
---|
667 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/mapreduce/Reducer.html" title="class in org.apache.hadoop.mapreduce"><CODE>Reducer</CODE></A> class for the job. |
---|
668 | <DT><B>Throws:</B> |
---|
669 | <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></DL> |
---|
670 | </DD> |
---|
671 | </DL> |
---|
672 | <HR> |
---|
673 | |
---|
674 | <A NAME="getOutputFormatClass()"><!-- --></A><H3> |
---|
675 | getOutputFormatClass</H3> |
---|
676 | <PRE> |
---|
677 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/OutputFormat.html" title="class in org.apache.hadoop.mapreduce">OutputFormat</A><?,?>> <B>getOutputFormatClass</B>() |
---|
678 | throws <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></PRE> |
---|
679 | <DL> |
---|
680 | <DD>Get the <A HREF="../../../../org/apache/hadoop/mapreduce/OutputFormat.html" title="class in org.apache.hadoop.mapreduce"><CODE>OutputFormat</CODE></A> class for the job. |
---|
681 | <P> |
---|
682 | <DD><DL> |
---|
683 | |
---|
684 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/mapreduce/OutputFormat.html" title="class in org.apache.hadoop.mapreduce"><CODE>OutputFormat</CODE></A> class for the job. |
---|
685 | <DT><B>Throws:</B> |
---|
686 | <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></DL> |
---|
687 | </DD> |
---|
688 | </DL> |
---|
689 | <HR> |
---|
690 | |
---|
691 | <A NAME="getPartitionerClass()"><!-- --></A><H3> |
---|
692 | getPartitionerClass</H3> |
---|
693 | <PRE> |
---|
694 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/hadoop/mapreduce/Partitioner.html" title="class in org.apache.hadoop.mapreduce">Partitioner</A><?,?>> <B>getPartitionerClass</B>() |
---|
695 | throws <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></PRE> |
---|
696 | <DL> |
---|
697 | <DD>Get the <A HREF="../../../../org/apache/hadoop/mapreduce/Partitioner.html" title="class in org.apache.hadoop.mapreduce"><CODE>Partitioner</CODE></A> class for the job. |
---|
698 | <P> |
---|
699 | <DD><DL> |
---|
700 | |
---|
701 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/mapreduce/Partitioner.html" title="class in org.apache.hadoop.mapreduce"><CODE>Partitioner</CODE></A> class for the job. |
---|
702 | <DT><B>Throws:</B> |
---|
703 | <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></DL> |
---|
704 | </DD> |
---|
705 | </DL> |
---|
706 | <HR> |
---|
707 | |
---|
708 | <A NAME="getSortComparator()"><!-- --></A><H3> |
---|
709 | getSortComparator</H3> |
---|
710 | <PRE> |
---|
711 | public <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io">RawComparator</A><?> <B>getSortComparator</B>()</PRE> |
---|
712 | <DL> |
---|
713 | <DD>Get the <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io"><CODE>RawComparator</CODE></A> comparator used to compare keys. |
---|
714 | <P> |
---|
715 | <DD><DL> |
---|
716 | |
---|
717 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io"><CODE>RawComparator</CODE></A> comparator used to compare keys.</DL> |
---|
718 | </DD> |
---|
719 | </DL> |
---|
720 | <HR> |
---|
721 | |
---|
722 | <A NAME="getJar()"><!-- --></A><H3> |
---|
723 | getJar</H3> |
---|
724 | <PRE> |
---|
725 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getJar</B>()</PRE> |
---|
726 | <DL> |
---|
727 | <DD>Get the pathname of the job's jar. |
---|
728 | <P> |
---|
729 | <DD><DL> |
---|
730 | |
---|
731 | <DT><B>Returns:</B><DD>the pathname</DL> |
---|
732 | </DD> |
---|
733 | </DL> |
---|
734 | <HR> |
---|
735 | |
---|
736 | <A NAME="getGroupingComparator()"><!-- --></A><H3> |
---|
737 | getGroupingComparator</H3> |
---|
738 | <PRE> |
---|
739 | public <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io">RawComparator</A><?> <B>getGroupingComparator</B>()</PRE> |
---|
740 | <DL> |
---|
741 | <DD>Get the user defined <A HREF="../../../../org/apache/hadoop/io/RawComparator.html" title="interface in org.apache.hadoop.io"><CODE>RawComparator</CODE></A> comparator for |
---|
742 | grouping keys of inputs to the reduce. |
---|
743 | <P> |
---|
744 | <DD><DL> |
---|
745 | |
---|
746 | <DT><B>Returns:</B><DD>comparator set by the user for grouping values.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/hadoop/mapreduce/Job.html#setGroupingComparatorClass(java.lang.Class)"><CODE>for details.</CODE></A></DL> |
---|
747 | </DD> |
---|
748 | </DL> |
---|
749 | <!-- ========= END OF CLASS DATA ========= --> |
---|
750 | <HR> |
---|
751 | |
---|
752 | |
---|
753 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
754 | <A NAME="navbar_bottom"><!-- --></A> |
---|
755 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
756 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
757 | <TR> |
---|
758 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
759 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
760 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
761 | <TR ALIGN="center" VALIGN="top"> |
---|
762 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
763 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
764 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
765 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JobContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
766 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
767 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
768 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
769 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
770 | </TR> |
---|
771 | </TABLE> |
---|
772 | </TD> |
---|
773 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
774 | </EM> |
---|
775 | </TD> |
---|
776 | </TR> |
---|
777 | |
---|
778 | <TR> |
---|
779 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
780 | <A HREF="../../../../org/apache/hadoop/mapreduce/Job.JobState.html" title="enum in org.apache.hadoop.mapreduce"><B>PREV CLASS</B></A> |
---|
781 | <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce"><B>NEXT CLASS</B></A></FONT></TD> |
---|
782 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
783 | <A HREF="../../../../index.html?org/apache/hadoop/mapreduce/JobContext.html" target="_top"><B>FRAMES</B></A> |
---|
784 | <A HREF="JobContext.html" target="_top"><B>NO FRAMES</B></A> |
---|
785 | <SCRIPT type="text/javascript"> |
---|
786 | <!-- |
---|
787 | if(window==top) { |
---|
788 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
789 | } |
---|
790 | //--> |
---|
791 | </SCRIPT> |
---|
792 | <NOSCRIPT> |
---|
793 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
794 | </NOSCRIPT> |
---|
795 | |
---|
796 | |
---|
797 | </FONT></TD> |
---|
798 | </TR> |
---|
799 | <TR> |
---|
800 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
801 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
802 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
803 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
804 | </TR> |
---|
805 | </TABLE> |
---|
806 | <A NAME="skip-navbar_bottom"></A> |
---|
807 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
808 | |
---|
809 | <HR> |
---|
810 | Copyright © 2009 The Apache Software Foundation |
---|
811 | </BODY> |
---|
812 | </HTML> |
---|