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 | JobHistory.TaskAttempt (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="JobHistory.TaskAttempt (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/JobHistory.TaskAttempt.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/JobHistory.Task.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Values.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/JobHistory.TaskAttempt.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="JobHistory.TaskAttempt.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 | FIELD | <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: FIELD | <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 JobHistory.TaskAttempt</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/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred">org.apache.hadoop.mapred.JobHistory.Task</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.JobHistory.TaskAttempt</B> |
---|
98 | </PRE> |
---|
99 | <DL> |
---|
100 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.MapAttempt.html" title="class in org.apache.hadoop.mapred">JobHistory.MapAttempt</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html" title="class in org.apache.hadoop.mapred">JobHistory.ReduceAttempt</A></DD> |
---|
101 | </DL> |
---|
102 | <DL> |
---|
103 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.html" title="class in org.apache.hadoop.mapred">JobHistory</A></DD> |
---|
104 | </DL> |
---|
105 | <HR> |
---|
106 | <DL> |
---|
107 | <DT><PRE>public static class <B>JobHistory.TaskAttempt</B><DT>extends <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred">JobHistory.Task</A></DL> |
---|
108 | </PRE> |
---|
109 | |
---|
110 | <P> |
---|
111 | Base class for Map and Reduce TaskAttempts. |
---|
112 | <P> |
---|
113 | |
---|
114 | <P> |
---|
115 | <HR> |
---|
116 | |
---|
117 | <P> |
---|
118 | |
---|
119 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
120 | |
---|
121 | <A NAME="constructor_summary"><!-- --></A> |
---|
122 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
123 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
124 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
125 | <B>Constructor Summary</B></FONT></TH> |
---|
126 | </TR> |
---|
127 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
128 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#JobHistory.TaskAttempt()">JobHistory.TaskAttempt</A></B>()</CODE> |
---|
129 | |
---|
130 | <BR> |
---|
131 | </TD> |
---|
132 | </TR> |
---|
133 | </TABLE> |
---|
134 | |
---|
135 | <!-- ========== METHOD SUMMARY =========== --> |
---|
136 | |
---|
137 | <A NAME="method_summary"><!-- --></A> |
---|
138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
139 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
140 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
141 | <B>Method Summary</B></FONT></TH> |
---|
142 | </TR> |
---|
143 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
144 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
145 | <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> |
---|
146 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#get(org.apache.hadoop.mapred.JobHistory.Keys)">get</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k)</CODE> |
---|
147 | |
---|
148 | <BR> |
---|
149 | Get 'String' value for given key.</TD> |
---|
150 | </TR> |
---|
151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
152 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
153 | <CODE> int</CODE></FONT></TD> |
---|
154 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#getInt(org.apache.hadoop.mapred.JobHistory.Keys)">getInt</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k)</CODE> |
---|
155 | |
---|
156 | <BR> |
---|
157 | Convert value from history to int and return.</TD> |
---|
158 | </TR> |
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
161 | <CODE> long</CODE></FONT></TD> |
---|
162 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#getLong(org.apache.hadoop.mapred.JobHistory.Keys)">getLong</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k)</CODE> |
---|
163 | |
---|
164 | <BR> |
---|
165 | Convert value from history to int and return.</TD> |
---|
166 | </TR> |
---|
167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
169 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A>,<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> |
---|
170 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#getValues()">getValues</A></B>()</CODE> |
---|
171 | |
---|
172 | <BR> |
---|
173 | Returns Map containing all key-values.</TD> |
---|
174 | </TR> |
---|
175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
177 | <CODE> void</CODE></FONT></TD> |
---|
178 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#handle(java.util.Map)">handle</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A>,<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>> values)</CODE> |
---|
179 | |
---|
180 | <BR> |
---|
181 | Reads values back from the history, input is same Map as passed to Listener by parseHistory().</TD> |
---|
182 | </TR> |
---|
183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
185 | <CODE> void</CODE></FONT></TD> |
---|
186 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#set(org.apache.hadoop.mapred.JobHistory.Keys, java.lang.String)">set</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k, |
---|
187 | <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> s)</CODE> |
---|
188 | |
---|
189 | <BR> |
---|
190 | Set value for the key.</TD> |
---|
191 | </TR> |
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
194 | <CODE> void</CODE></FONT></TD> |
---|
195 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html#set(java.util.Map)">set</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A>,<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>> m)</CODE> |
---|
196 | |
---|
197 | <BR> |
---|
198 | Adds all values in the Map argument to its own values.</TD> |
---|
199 | </TR> |
---|
200 | </TABLE> |
---|
201 | <A NAME="methods_inherited_from_class_org.apache.hadoop.mapred.JobHistory.Task"><!-- --></A> |
---|
202 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
203 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
204 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.mapred.<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred">JobHistory.Task</A></B></TH> |
---|
205 | </TR> |
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
207 | <TD><CODE><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html#getTaskAttempts()">getTaskAttempts</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html#logFailed(org.apache.hadoop.mapred.TaskID, java.lang.String, long, java.lang.String)">logFailed</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html#logFailed(org.apache.hadoop.mapred.TaskID, java.lang.String, long, java.lang.String, org.apache.hadoop.mapred.TaskAttemptID)">logFailed</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html#logFinished(org.apache.hadoop.mapred.TaskID, java.lang.String, long, org.apache.hadoop.mapred.Counters)">logFinished</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html#logStarted(org.apache.hadoop.mapred.TaskID, java.lang.String, long, java.lang.String)">logStarted</A>, <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html#logUpdates(org.apache.hadoop.mapred.TaskID, long)">logUpdates</A></CODE></TD> |
---|
208 | </TR> |
---|
209 | </TABLE> |
---|
210 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
211 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
212 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
213 | <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> |
---|
214 | </TR> |
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
216 | <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> |
---|
217 | </TR> |
---|
218 | </TABLE> |
---|
219 | |
---|
220 | <P> |
---|
221 | |
---|
222 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
223 | |
---|
224 | <A NAME="constructor_detail"><!-- --></A> |
---|
225 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
226 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
227 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
228 | <B>Constructor Detail</B></FONT></TH> |
---|
229 | </TR> |
---|
230 | </TABLE> |
---|
231 | |
---|
232 | <A NAME="JobHistory.TaskAttempt()"><!-- --></A><H3> |
---|
233 | JobHistory.TaskAttempt</H3> |
---|
234 | <PRE> |
---|
235 | public <B>JobHistory.TaskAttempt</B>()</PRE> |
---|
236 | <DL> |
---|
237 | </DL> |
---|
238 | |
---|
239 | <!-- ============ METHOD DETAIL ========== --> |
---|
240 | |
---|
241 | <A NAME="method_detail"><!-- --></A> |
---|
242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
243 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
244 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
245 | <B>Method Detail</B></FONT></TH> |
---|
246 | </TR> |
---|
247 | </TABLE> |
---|
248 | |
---|
249 | <A NAME="get(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
250 | get</H3> |
---|
251 | <PRE> |
---|
252 | 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>get</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k)</PRE> |
---|
253 | <DL> |
---|
254 | <DD>Get 'String' value for given key. Most of the places use Strings as |
---|
255 | values so the default get' method returns 'String'. This method never returns |
---|
256 | null to ease on GUIs. if no value is found it returns empty string "" |
---|
257 | <P> |
---|
258 | <DD><DL> |
---|
259 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - |
---|
260 | <DT><B>Returns:</B><DD>if null it returns empty string - ""</DL> |
---|
261 | </DD> |
---|
262 | </DL> |
---|
263 | <HR> |
---|
264 | |
---|
265 | <A NAME="getInt(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
266 | getInt</H3> |
---|
267 | <PRE> |
---|
268 | public int <B>getInt</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k)</PRE> |
---|
269 | <DL> |
---|
270 | <DD>Convert value from history to int and return. |
---|
271 | if no value is found it returns 0. |
---|
272 | <P> |
---|
273 | <DD><DL> |
---|
274 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - key</DL> |
---|
275 | </DD> |
---|
276 | </DL> |
---|
277 | <HR> |
---|
278 | |
---|
279 | <A NAME="getLong(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
280 | getLong</H3> |
---|
281 | <PRE> |
---|
282 | public long <B>getLong</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k)</PRE> |
---|
283 | <DL> |
---|
284 | <DD>Convert value from history to int and return. |
---|
285 | if no value is found it returns 0. |
---|
286 | <P> |
---|
287 | <DD><DL> |
---|
288 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - </DL> |
---|
289 | </DD> |
---|
290 | </DL> |
---|
291 | <HR> |
---|
292 | |
---|
293 | <A NAME="set(org.apache.hadoop.mapred.JobHistory.Keys, java.lang.String)"><!-- --></A><H3> |
---|
294 | set</H3> |
---|
295 | <PRE> |
---|
296 | public void <B>set</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A> k, |
---|
297 | <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> s)</PRE> |
---|
298 | <DL> |
---|
299 | <DD>Set value for the key. |
---|
300 | <P> |
---|
301 | <DD><DL> |
---|
302 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - <DD><CODE>s</CODE> - </DL> |
---|
303 | </DD> |
---|
304 | </DL> |
---|
305 | <HR> |
---|
306 | |
---|
307 | <A NAME="set(java.util.Map)"><!-- --></A><H3> |
---|
308 | set</H3> |
---|
309 | <PRE> |
---|
310 | public void <B>set</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A>,<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>> m)</PRE> |
---|
311 | <DL> |
---|
312 | <DD>Adds all values in the Map argument to its own values. |
---|
313 | <P> |
---|
314 | <DD><DL> |
---|
315 | <DT><B>Parameters:</B><DD><CODE>m</CODE> - </DL> |
---|
316 | </DD> |
---|
317 | </DL> |
---|
318 | <HR> |
---|
319 | |
---|
320 | <A NAME="handle(java.util.Map)"><!-- --></A><H3> |
---|
321 | handle</H3> |
---|
322 | <PRE> |
---|
323 | public void <B>handle</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A>,<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>> values)</PRE> |
---|
324 | <DL> |
---|
325 | <DD>Reads values back from the history, input is same Map as passed to Listener by parseHistory(). |
---|
326 | <P> |
---|
327 | <DD><DL> |
---|
328 | <DT><B>Parameters:</B><DD><CODE>values</CODE> - </DL> |
---|
329 | </DD> |
---|
330 | </DL> |
---|
331 | <HR> |
---|
332 | |
---|
333 | <A NAME="getValues()"><!-- --></A><H3> |
---|
334 | getValues</H3> |
---|
335 | <PRE> |
---|
336 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred">JobHistory.Keys</A>,<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>getValues</B>()</PRE> |
---|
337 | <DL> |
---|
338 | <DD>Returns Map containing all key-values. |
---|
339 | <P> |
---|
340 | <DD><DL> |
---|
341 | </DL> |
---|
342 | </DD> |
---|
343 | </DL> |
---|
344 | <!-- ========= END OF CLASS DATA ========= --> |
---|
345 | <HR> |
---|
346 | |
---|
347 | |
---|
348 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
349 | <A NAME="navbar_bottom"><!-- --></A> |
---|
350 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
351 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
352 | <TR> |
---|
353 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
354 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
355 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
356 | <TR ALIGN="center" VALIGN="top"> |
---|
357 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
358 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
359 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
360 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JobHistory.TaskAttempt.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
361 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
362 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
363 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
364 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
365 | </TR> |
---|
366 | </TABLE> |
---|
367 | </TD> |
---|
368 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
369 | </EM> |
---|
370 | </TD> |
---|
371 | </TR> |
---|
372 | |
---|
373 | <TR> |
---|
374 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
375 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
376 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Values.html" title="enum in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
377 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
378 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/JobHistory.TaskAttempt.html" target="_top"><B>FRAMES</B></A> |
---|
379 | <A HREF="JobHistory.TaskAttempt.html" target="_top"><B>NO FRAMES</B></A> |
---|
380 | <SCRIPT type="text/javascript"> |
---|
381 | <!-- |
---|
382 | if(window==top) { |
---|
383 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
384 | } |
---|
385 | //--> |
---|
386 | </SCRIPT> |
---|
387 | <NOSCRIPT> |
---|
388 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
389 | </NOSCRIPT> |
---|
390 | |
---|
391 | |
---|
392 | </FONT></TD> |
---|
393 | </TR> |
---|
394 | <TR> |
---|
395 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
396 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
397 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
398 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
399 | </TR> |
---|
400 | </TABLE> |
---|
401 | <A NAME="skip-navbar_bottom"></A> |
---|
402 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
403 | |
---|
404 | <HR> |
---|
405 | Copyright © 2009 The Apache Software Foundation |
---|
406 | </BODY> |
---|
407 | </HTML> |
---|