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.JobInfo (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.JobInfo (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.JobInfo.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.HistoryCleaner.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.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.JobInfo.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="JobHistory.JobInfo.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.JobInfo</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.JobHistory.JobInfo</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.html" title="class in org.apache.hadoop.mapred">JobHistory</A></DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public static class <B>JobHistory.JobInfo</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 | Helper class for logging or reading back events related to job start, finish or failure. |
---|
108 | <P> |
---|
109 | |
---|
110 | <P> |
---|
111 | <HR> |
---|
112 | |
---|
113 | <P> |
---|
114 | |
---|
115 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
116 | |
---|
117 | <A NAME="constructor_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>Constructor Summary</B></FONT></TH> |
---|
122 | </TR> |
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
124 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#JobHistory.JobInfo(java.lang.String)">JobHistory.JobInfo</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> |
---|
125 | |
---|
126 | <BR> |
---|
127 | Create new JobInfo</TD> |
---|
128 | </TR> |
---|
129 | </TABLE> |
---|
130 | |
---|
131 | <!-- ========== METHOD SUMMARY =========== --> |
---|
132 | |
---|
133 | <A NAME="method_summary"><!-- --></A> |
---|
134 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
135 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
136 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
137 | <B>Method Summary</B></FONT></TH> |
---|
138 | </TR> |
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
141 | <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> |
---|
142 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#decodeJobHistoryFileName(java.lang.String)">decodeJobHistoryFileName</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> logFileName)</CODE> |
---|
143 | |
---|
144 | <BR> |
---|
145 | Helper function to decode the URL of the filename of the job-history |
---|
146 | log file.</TD> |
---|
147 | </TR> |
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
150 | <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> |
---|
151 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#encodeJobHistoryFileName(java.lang.String)">encodeJobHistoryFileName</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> logFileName)</CODE> |
---|
152 | |
---|
153 | <BR> |
---|
154 | Helper function to encode the URL of the filename of the job-history |
---|
155 | log file.</TD> |
---|
156 | </TR> |
---|
157 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
159 | <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> |
---|
160 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#encodeJobHistoryFilePath(java.lang.String)">encodeJobHistoryFilePath</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> logFile)</CODE> |
---|
161 | |
---|
162 | <BR> |
---|
163 | Helper function to encode the URL of the path of the job-history |
---|
164 | log file.</TD> |
---|
165 | </TR> |
---|
166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
168 | <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> |
---|
169 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.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> |
---|
170 | |
---|
171 | <BR> |
---|
172 | Get 'String' value for given key.</TD> |
---|
173 | </TR> |
---|
174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
176 | <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="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred">JobHistory.Task</A>></CODE></FONT></TD> |
---|
177 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getAllTasks()">getAllTasks</A></B>()</CODE> |
---|
178 | |
---|
179 | <BR> |
---|
180 | Returns all map and reduce tasks <taskid-Task>.</TD> |
---|
181 | </TR> |
---|
182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
184 | <CODE> int</CODE></FONT></TD> |
---|
185 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.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> |
---|
186 | |
---|
187 | <BR> |
---|
188 | Convert value from history to int and return.</TD> |
---|
189 | </TR> |
---|
190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
192 | <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> |
---|
193 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getJobHistoryFileName(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.JobID)">getJobHistoryFileName</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf, |
---|
194 | <A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> id)</CODE> |
---|
195 | |
---|
196 | <BR> |
---|
197 | Recover the job history filename from the history folder.</TD> |
---|
198 | </TR> |
---|
199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
201 | <CODE>static <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
202 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getJobHistoryLogLocation(java.lang.String)">getJobHistoryLogLocation</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> logFileName)</CODE> |
---|
203 | |
---|
204 | <BR> |
---|
205 | Get the job history file path given the history filename</TD> |
---|
206 | </TR> |
---|
207 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
209 | <CODE>static <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
210 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getJobHistoryLogLocationForUser(java.lang.String, org.apache.hadoop.mapred.JobConf)">getJobHistoryLogLocationForUser</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> logFileName, |
---|
211 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf)</CODE> |
---|
212 | |
---|
213 | <BR> |
---|
214 | Get the user job history file path</TD> |
---|
215 | </TR> |
---|
216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
218 | <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> |
---|
219 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getLocalJobFilePath(org.apache.hadoop.mapred.JobID)">getLocalJobFilePath</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId)</CODE> |
---|
220 | |
---|
221 | <BR> |
---|
222 | Get the path of the locally stored job file</TD> |
---|
223 | </TR> |
---|
224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
226 | <CODE> long</CODE></FONT></TD> |
---|
227 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.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> |
---|
228 | |
---|
229 | <BR> |
---|
230 | Convert value from history to int and return.</TD> |
---|
231 | </TR> |
---|
232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
234 | <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> |
---|
235 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getUserName(org.apache.hadoop.mapred.JobConf)">getUserName</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf)</CODE> |
---|
236 | |
---|
237 | <BR> |
---|
238 | Get the user name from the job conf</TD> |
---|
239 | </TR> |
---|
240 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
242 | <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> |
---|
243 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#getValues()">getValues</A></B>()</CODE> |
---|
244 | |
---|
245 | <BR> |
---|
246 | Returns Map containing all key-values.</TD> |
---|
247 | </TR> |
---|
248 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
250 | <CODE> void</CODE></FONT></TD> |
---|
251 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.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> |
---|
252 | |
---|
253 | <BR> |
---|
254 | Reads values back from the history, input is same Map as passed to Listener by parseHistory().</TD> |
---|
255 | </TR> |
---|
256 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
258 | <CODE>static void</CODE></FONT></TD> |
---|
259 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logFailed(org.apache.hadoop.mapred.JobID, long, int, int)">logFailed</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
260 | long timestamp, |
---|
261 | int finishedMaps, |
---|
262 | int finishedReduces)</CODE> |
---|
263 | |
---|
264 | <BR> |
---|
265 | Logs job failed event.</TD> |
---|
266 | </TR> |
---|
267 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
269 | <CODE>static void</CODE></FONT></TD> |
---|
270 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logFinished(org.apache.hadoop.mapred.JobID, long, int, int, int, int, org.apache.hadoop.mapred.Counters)">logFinished</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
271 | long finishTime, |
---|
272 | int finishedMaps, |
---|
273 | int finishedReduces, |
---|
274 | int failedMaps, |
---|
275 | int failedReduces, |
---|
276 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> counters)</CODE> |
---|
277 | |
---|
278 | <BR> |
---|
279 | Log job finished.</TD> |
---|
280 | </TR> |
---|
281 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
283 | <CODE>static void</CODE></FONT></TD> |
---|
284 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logInited(org.apache.hadoop.mapred.JobID, long, int, int)">logInited</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
285 | long startTime, |
---|
286 | int totalMaps, |
---|
287 | int totalReduces)</CODE> |
---|
288 | |
---|
289 | <BR> |
---|
290 | Logs launch time of job.</TD> |
---|
291 | </TR> |
---|
292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
294 | <CODE>static void</CODE></FONT></TD> |
---|
295 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logJobInfo(org.apache.hadoop.mapred.JobID, long, long)">logJobInfo</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
296 | long submitTime, |
---|
297 | long launchTime)</CODE> |
---|
298 | |
---|
299 | <BR> |
---|
300 | </TD> |
---|
301 | </TR> |
---|
302 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
303 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
304 | <CODE>static void</CODE></FONT></TD> |
---|
305 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logJobInfo(org.apache.hadoop.mapred.JobID, long, long, int)">logJobInfo</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
306 | long submitTime, |
---|
307 | long launchTime, |
---|
308 | int restartCount)</CODE> |
---|
309 | |
---|
310 | <BR> |
---|
311 | <B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logJobInfo(org.apache.hadoop.mapred.JobID, long, long)"><CODE>logJobInfo(JobID, long, long)</CODE></A> instead.</I></TD> |
---|
312 | </TR> |
---|
313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
315 | <CODE>static void</CODE></FONT></TD> |
---|
316 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logJobPriority(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobPriority)">logJobPriority</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
317 | <A HREF="../../../../org/apache/hadoop/mapred/JobPriority.html" title="enum in org.apache.hadoop.mapred">JobPriority</A> priority)</CODE> |
---|
318 | |
---|
319 | <BR> |
---|
320 | Log job's priority.</TD> |
---|
321 | </TR> |
---|
322 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
323 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
324 | <CODE>static void</CODE></FONT></TD> |
---|
325 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logKilled(org.apache.hadoop.mapred.JobID, long, int, int)">logKilled</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
326 | long timestamp, |
---|
327 | int finishedMaps, |
---|
328 | int finishedReduces)</CODE> |
---|
329 | |
---|
330 | <BR> |
---|
331 | Logs job killed event.</TD> |
---|
332 | </TR> |
---|
333 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
334 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
335 | <CODE>static void</CODE></FONT></TD> |
---|
336 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logStarted(org.apache.hadoop.mapred.JobID)">logStarted</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId)</CODE> |
---|
337 | |
---|
338 | <BR> |
---|
339 | Logs job as running</TD> |
---|
340 | </TR> |
---|
341 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
342 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
343 | <CODE>static void</CODE></FONT></TD> |
---|
344 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logStarted(org.apache.hadoop.mapred.JobID, long, int, int)">logStarted</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
345 | long startTime, |
---|
346 | int totalMaps, |
---|
347 | int totalReduces)</CODE> |
---|
348 | |
---|
349 | <BR> |
---|
350 | <B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logInited(org.apache.hadoop.mapred.JobID, long, int, int)"><CODE>logInited(JobID, long, int, int)</CODE></A> and |
---|
351 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logStarted(org.apache.hadoop.mapred.JobID)"><CODE>logStarted(JobID)</CODE></A></I></TD> |
---|
352 | </TR> |
---|
353 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
354 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
355 | <CODE>static void</CODE></FONT></TD> |
---|
356 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logSubmitted(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobConf, java.lang.String, long)">logSubmitted</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
357 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf, |
---|
358 | <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> jobConfPath, |
---|
359 | long submitTime)</CODE> |
---|
360 | |
---|
361 | <BR> |
---|
362 | <B>Deprecated.</B> <I>Use |
---|
363 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logSubmitted(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobConf, java.lang.String, long, boolean)"><CODE>logSubmitted(JobID, JobConf, String, long, boolean)</CODE></A> instead.</I></TD> |
---|
364 | </TR> |
---|
365 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
366 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
367 | <CODE>static void</CODE></FONT></TD> |
---|
368 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logSubmitted(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobConf, java.lang.String, long, boolean)">logSubmitted</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
369 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf, |
---|
370 | <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> jobConfPath, |
---|
371 | long submitTime, |
---|
372 | boolean restarted)</CODE> |
---|
373 | |
---|
374 | <BR> |
---|
375 | </TD> |
---|
376 | </TR> |
---|
377 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
378 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
379 | <CODE>static <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
380 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#recoverJobHistoryFile(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path)">recoverJobHistoryFile</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
381 | <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> logFilePath)</CODE> |
---|
382 | |
---|
383 | <BR> |
---|
384 | Selects one of the two files generated as a part of recovery.</TD> |
---|
385 | </TR> |
---|
386 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
387 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
388 | <CODE> void</CODE></FONT></TD> |
---|
389 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.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, |
---|
390 | <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> |
---|
391 | |
---|
392 | <BR> |
---|
393 | Set value for the key.</TD> |
---|
394 | </TR> |
---|
395 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
396 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
397 | <CODE> void</CODE></FONT></TD> |
---|
398 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.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> |
---|
399 | |
---|
400 | <BR> |
---|
401 | Adds all values in the Map argument to its own values.</TD> |
---|
402 | </TR> |
---|
403 | </TABLE> |
---|
404 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
405 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
406 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
407 | <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> |
---|
408 | </TR> |
---|
409 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
410 | <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> |
---|
411 | </TR> |
---|
412 | </TABLE> |
---|
413 | |
---|
414 | <P> |
---|
415 | |
---|
416 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
417 | |
---|
418 | <A NAME="constructor_detail"><!-- --></A> |
---|
419 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
420 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
421 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
422 | <B>Constructor Detail</B></FONT></TH> |
---|
423 | </TR> |
---|
424 | </TABLE> |
---|
425 | |
---|
426 | <A NAME="JobHistory.JobInfo(java.lang.String)"><!-- --></A><H3> |
---|
427 | JobHistory.JobInfo</H3> |
---|
428 | <PRE> |
---|
429 | public <B>JobHistory.JobInfo</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)</PRE> |
---|
430 | <DL> |
---|
431 | <DD>Create new JobInfo |
---|
432 | <P> |
---|
433 | </DL> |
---|
434 | |
---|
435 | <!-- ============ METHOD DETAIL ========== --> |
---|
436 | |
---|
437 | <A NAME="method_detail"><!-- --></A> |
---|
438 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
439 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
440 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
441 | <B>Method Detail</B></FONT></TH> |
---|
442 | </TR> |
---|
443 | </TABLE> |
---|
444 | |
---|
445 | <A NAME="getAllTasks()"><!-- --></A><H3> |
---|
446 | getAllTasks</H3> |
---|
447 | <PRE> |
---|
448 | 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="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred">JobHistory.Task</A>> <B>getAllTasks</B>()</PRE> |
---|
449 | <DL> |
---|
450 | <DD>Returns all map and reduce tasks <taskid-Task>. |
---|
451 | <P> |
---|
452 | <DD><DL> |
---|
453 | </DL> |
---|
454 | </DD> |
---|
455 | </DL> |
---|
456 | <HR> |
---|
457 | |
---|
458 | <A NAME="getLocalJobFilePath(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
459 | getLocalJobFilePath</H3> |
---|
460 | <PRE> |
---|
461 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getLocalJobFilePath</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId)</PRE> |
---|
462 | <DL> |
---|
463 | <DD>Get the path of the locally stored job file |
---|
464 | <P> |
---|
465 | <DD><DL> |
---|
466 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - id of the job |
---|
467 | <DT><B>Returns:</B><DD>the path of the job file on the local file system</DL> |
---|
468 | </DD> |
---|
469 | </DL> |
---|
470 | <HR> |
---|
471 | |
---|
472 | <A NAME="encodeJobHistoryFilePath(java.lang.String)"><!-- --></A><H3> |
---|
473 | encodeJobHistoryFilePath</H3> |
---|
474 | <PRE> |
---|
475 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encodeJobHistoryFilePath</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> logFile) |
---|
476 | 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> |
---|
477 | <DL> |
---|
478 | <DD>Helper function to encode the URL of the path of the job-history |
---|
479 | log file. |
---|
480 | <P> |
---|
481 | <DD><DL> |
---|
482 | <DT><B>Parameters:</B><DD><CODE>logFile</CODE> - path of the job-history file |
---|
483 | <DT><B>Returns:</B><DD>URL encoded path |
---|
484 | <DT><B>Throws:</B> |
---|
485 | <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> |
---|
486 | </DD> |
---|
487 | </DL> |
---|
488 | <HR> |
---|
489 | |
---|
490 | <A NAME="encodeJobHistoryFileName(java.lang.String)"><!-- --></A><H3> |
---|
491 | encodeJobHistoryFileName</H3> |
---|
492 | <PRE> |
---|
493 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>encodeJobHistoryFileName</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> logFileName) |
---|
494 | 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> |
---|
495 | <DL> |
---|
496 | <DD>Helper function to encode the URL of the filename of the job-history |
---|
497 | log file. |
---|
498 | <P> |
---|
499 | <DD><DL> |
---|
500 | <DT><B>Parameters:</B><DD><CODE>logFileName</CODE> - file name of the job-history file |
---|
501 | <DT><B>Returns:</B><DD>URL encoded filename |
---|
502 | <DT><B>Throws:</B> |
---|
503 | <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> |
---|
504 | </DD> |
---|
505 | </DL> |
---|
506 | <HR> |
---|
507 | |
---|
508 | <A NAME="decodeJobHistoryFileName(java.lang.String)"><!-- --></A><H3> |
---|
509 | decodeJobHistoryFileName</H3> |
---|
510 | <PRE> |
---|
511 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>decodeJobHistoryFileName</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> logFileName) |
---|
512 | 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> |
---|
513 | <DL> |
---|
514 | <DD>Helper function to decode the URL of the filename of the job-history |
---|
515 | log file. |
---|
516 | <P> |
---|
517 | <DD><DL> |
---|
518 | <DT><B>Parameters:</B><DD><CODE>logFileName</CODE> - file name of the job-history file |
---|
519 | <DT><B>Returns:</B><DD>URL decoded filename |
---|
520 | <DT><B>Throws:</B> |
---|
521 | <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> |
---|
522 | </DD> |
---|
523 | </DL> |
---|
524 | <HR> |
---|
525 | |
---|
526 | <A NAME="getUserName(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
527 | getUserName</H3> |
---|
528 | <PRE> |
---|
529 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getUserName</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf)</PRE> |
---|
530 | <DL> |
---|
531 | <DD>Get the user name from the job conf |
---|
532 | <P> |
---|
533 | <DD><DL> |
---|
534 | </DL> |
---|
535 | </DD> |
---|
536 | </DL> |
---|
537 | <HR> |
---|
538 | |
---|
539 | <A NAME="getJobHistoryLogLocation(java.lang.String)"><!-- --></A><H3> |
---|
540 | getJobHistoryLogLocation</H3> |
---|
541 | <PRE> |
---|
542 | public static <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getJobHistoryLogLocation</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> logFileName)</PRE> |
---|
543 | <DL> |
---|
544 | <DD>Get the job history file path given the history filename |
---|
545 | <P> |
---|
546 | <DD><DL> |
---|
547 | </DL> |
---|
548 | </DD> |
---|
549 | </DL> |
---|
550 | <HR> |
---|
551 | |
---|
552 | <A NAME="getJobHistoryLogLocationForUser(java.lang.String, org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
553 | getJobHistoryLogLocationForUser</H3> |
---|
554 | <PRE> |
---|
555 | public static <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getJobHistoryLogLocationForUser</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> logFileName, |
---|
556 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf)</PRE> |
---|
557 | <DL> |
---|
558 | <DD>Get the user job history file path |
---|
559 | <P> |
---|
560 | <DD><DL> |
---|
561 | </DL> |
---|
562 | </DD> |
---|
563 | </DL> |
---|
564 | <HR> |
---|
565 | |
---|
566 | <A NAME="getJobHistoryFileName(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
567 | getJobHistoryFileName</H3> |
---|
568 | <PRE> |
---|
569 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getJobHistoryFileName</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf, |
---|
570 | <A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> id) |
---|
571 | 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> |
---|
572 | <DL> |
---|
573 | <DD>Recover the job history filename from the history folder. |
---|
574 | Uses the following pattern |
---|
575 | $jt-hostname_[0-9]*_$job-id_$user-$job-name* |
---|
576 | <P> |
---|
577 | <DD><DL> |
---|
578 | <DT><B>Parameters:</B><DD><CODE>jobConf</CODE> - the job conf<DD><CODE>id</CODE> - job id |
---|
579 | <DT><B>Throws:</B> |
---|
580 | <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> |
---|
581 | </DD> |
---|
582 | </DL> |
---|
583 | <HR> |
---|
584 | |
---|
585 | <A NAME="recoverJobHistoryFile(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
586 | recoverJobHistoryFile</H3> |
---|
587 | <PRE> |
---|
588 | public static <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>recoverJobHistoryFile</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
589 | <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> logFilePath) |
---|
590 | 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> |
---|
591 | <DL> |
---|
592 | <DD>Selects one of the two files generated as a part of recovery. |
---|
593 | The thumb rule is that always select the oldest file. |
---|
594 | This call makes sure that only one file is left in the end. |
---|
595 | <P> |
---|
596 | <DD><DL> |
---|
597 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - job conf<DD><CODE>logFilePath</CODE> - Path of the log file |
---|
598 | <DT><B>Throws:</B> |
---|
599 | <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> |
---|
600 | </DD> |
---|
601 | </DL> |
---|
602 | <HR> |
---|
603 | |
---|
604 | <A NAME="logSubmitted(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobConf, java.lang.String, long)"><!-- --></A><H3> |
---|
605 | logSubmitted</H3> |
---|
606 | <PRE> |
---|
607 | public static void <B>logSubmitted</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
608 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf, |
---|
609 | <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> jobConfPath, |
---|
610 | long submitTime) |
---|
611 | 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> |
---|
612 | <DL> |
---|
613 | <DD><B>Deprecated.</B> <I>Use |
---|
614 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logSubmitted(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobConf, java.lang.String, long, boolean)"><CODE>logSubmitted(JobID, JobConf, String, long, boolean)</CODE></A> instead.</I> |
---|
615 | <P> |
---|
616 | <DD>Log job submitted event to history. Creates a new file in history |
---|
617 | for the job. if history file creation fails, it disables history |
---|
618 | for all other events. |
---|
619 | <P> |
---|
620 | <DD><DL> |
---|
621 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - job id assigned by job tracker.<DD><CODE>jobConf</CODE> - job conf of the job<DD><CODE>jobConfPath</CODE> - path to job conf xml file in HDFS.<DD><CODE>submitTime</CODE> - time when job tracker received the job |
---|
622 | <DT><B>Throws:</B> |
---|
623 | <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> |
---|
624 | </DD> |
---|
625 | </DL> |
---|
626 | <HR> |
---|
627 | |
---|
628 | <A NAME="logSubmitted(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobConf, java.lang.String, long, boolean)"><!-- --></A><H3> |
---|
629 | logSubmitted</H3> |
---|
630 | <PRE> |
---|
631 | public static void <B>logSubmitted</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
632 | <A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> jobConf, |
---|
633 | <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> jobConfPath, |
---|
634 | long submitTime, |
---|
635 | boolean restarted) |
---|
636 | 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> |
---|
637 | <DL> |
---|
638 | <DD><DL> |
---|
639 | |
---|
640 | <DT><B>Throws:</B> |
---|
641 | <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> |
---|
642 | </DD> |
---|
643 | </DL> |
---|
644 | <HR> |
---|
645 | |
---|
646 | <A NAME="logInited(org.apache.hadoop.mapred.JobID, long, int, int)"><!-- --></A><H3> |
---|
647 | logInited</H3> |
---|
648 | <PRE> |
---|
649 | public static void <B>logInited</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
650 | long startTime, |
---|
651 | int totalMaps, |
---|
652 | int totalReduces)</PRE> |
---|
653 | <DL> |
---|
654 | <DD>Logs launch time of job. |
---|
655 | <P> |
---|
656 | <DD><DL> |
---|
657 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - job id, assigned by jobtracker.<DD><CODE>startTime</CODE> - start time of job.<DD><CODE>totalMaps</CODE> - total maps assigned by jobtracker.<DD><CODE>totalReduces</CODE> - total reduces.</DL> |
---|
658 | </DD> |
---|
659 | </DL> |
---|
660 | <HR> |
---|
661 | |
---|
662 | <A NAME="logStarted(org.apache.hadoop.mapred.JobID, long, int, int)"><!-- --></A><H3> |
---|
663 | logStarted</H3> |
---|
664 | <PRE> |
---|
665 | <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> |
---|
666 | </FONT>public static void <B>logStarted</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
667 | long startTime, |
---|
668 | int totalMaps, |
---|
669 | int totalReduces)</PRE> |
---|
670 | <DL> |
---|
671 | <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logInited(org.apache.hadoop.mapred.JobID, long, int, int)"><CODE>logInited(JobID, long, int, int)</CODE></A> and |
---|
672 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logStarted(org.apache.hadoop.mapred.JobID)"><CODE>logStarted(JobID)</CODE></A></I> |
---|
673 | <P> |
---|
674 | <DD>Logs the job as RUNNING. |
---|
675 | <P> |
---|
676 | <DD><DL> |
---|
677 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - job id, assigned by jobtracker.<DD><CODE>startTime</CODE> - start time of job.<DD><CODE>totalMaps</CODE> - total maps assigned by jobtracker.<DD><CODE>totalReduces</CODE> - total reduces.</DL> |
---|
678 | </DD> |
---|
679 | </DL> |
---|
680 | <HR> |
---|
681 | |
---|
682 | <A NAME="logStarted(org.apache.hadoop.mapred.JobID)"><!-- --></A><H3> |
---|
683 | logStarted</H3> |
---|
684 | <PRE> |
---|
685 | public static void <B>logStarted</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId)</PRE> |
---|
686 | <DL> |
---|
687 | <DD>Logs job as running |
---|
688 | <P> |
---|
689 | <DD><DL> |
---|
690 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - job id, assigned by jobtracker.</DL> |
---|
691 | </DD> |
---|
692 | </DL> |
---|
693 | <HR> |
---|
694 | |
---|
695 | <A NAME="logFinished(org.apache.hadoop.mapred.JobID, long, int, int, int, int, org.apache.hadoop.mapred.Counters)"><!-- --></A><H3> |
---|
696 | logFinished</H3> |
---|
697 | <PRE> |
---|
698 | public static void <B>logFinished</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
699 | long finishTime, |
---|
700 | int finishedMaps, |
---|
701 | int finishedReduces, |
---|
702 | int failedMaps, |
---|
703 | int failedReduces, |
---|
704 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> counters)</PRE> |
---|
705 | <DL> |
---|
706 | <DD>Log job finished. closes the job file in history. |
---|
707 | <P> |
---|
708 | <DD><DL> |
---|
709 | <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - job id, assigned by jobtracker.<DD><CODE>finishTime</CODE> - finish time of job in ms.<DD><CODE>finishedMaps</CODE> - no of maps successfully finished.<DD><CODE>finishedReduces</CODE> - no of reduces finished sucessfully.<DD><CODE>failedMaps</CODE> - no of failed map tasks.<DD><CODE>failedReduces</CODE> - no of failed reduce tasks.<DD><CODE>counters</CODE> - the counters from the job</DL> |
---|
710 | </DD> |
---|
711 | </DL> |
---|
712 | <HR> |
---|
713 | |
---|
714 | <A NAME="logFailed(org.apache.hadoop.mapred.JobID, long, int, int)"><!-- --></A><H3> |
---|
715 | logFailed</H3> |
---|
716 | <PRE> |
---|
717 | public static void <B>logFailed</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
718 | long timestamp, |
---|
719 | int finishedMaps, |
---|
720 | int finishedReduces)</PRE> |
---|
721 | <DL> |
---|
722 | <DD>Logs job failed event. Closes the job history log file. |
---|
723 | <P> |
---|
724 | <DD><DL> |
---|
725 | <DT><B>Parameters:</B><DD><CODE>jobid</CODE> - job id<DD><CODE>timestamp</CODE> - time when job failure was detected in ms.<DD><CODE>finishedMaps</CODE> - no finished map tasks.<DD><CODE>finishedReduces</CODE> - no of finished reduce tasks.</DL> |
---|
726 | </DD> |
---|
727 | </DL> |
---|
728 | <HR> |
---|
729 | |
---|
730 | <A NAME="logKilled(org.apache.hadoop.mapred.JobID, long, int, int)"><!-- --></A><H3> |
---|
731 | logKilled</H3> |
---|
732 | <PRE> |
---|
733 | public static void <B>logKilled</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
734 | long timestamp, |
---|
735 | int finishedMaps, |
---|
736 | int finishedReduces)</PRE> |
---|
737 | <DL> |
---|
738 | <DD>Logs job killed event. Closes the job history log file. |
---|
739 | <P> |
---|
740 | <DD><DL> |
---|
741 | <DT><B>Parameters:</B><DD><CODE>jobid</CODE> - job id<DD><CODE>timestamp</CODE> - time when job killed was issued in ms.<DD><CODE>finishedMaps</CODE> - no finished map tasks.<DD><CODE>finishedReduces</CODE> - no of finished reduce tasks.</DL> |
---|
742 | </DD> |
---|
743 | </DL> |
---|
744 | <HR> |
---|
745 | |
---|
746 | <A NAME="logJobPriority(org.apache.hadoop.mapred.JobID, org.apache.hadoop.mapred.JobPriority)"><!-- --></A><H3> |
---|
747 | logJobPriority</H3> |
---|
748 | <PRE> |
---|
749 | public static void <B>logJobPriority</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
750 | <A HREF="../../../../org/apache/hadoop/mapred/JobPriority.html" title="enum in org.apache.hadoop.mapred">JobPriority</A> priority)</PRE> |
---|
751 | <DL> |
---|
752 | <DD>Log job's priority. |
---|
753 | <P> |
---|
754 | <DD><DL> |
---|
755 | <DT><B>Parameters:</B><DD><CODE>jobid</CODE> - job id<DD><CODE>priority</CODE> - Jobs priority</DL> |
---|
756 | </DD> |
---|
757 | </DL> |
---|
758 | <HR> |
---|
759 | |
---|
760 | <A NAME="logJobInfo(org.apache.hadoop.mapred.JobID, long, long, int)"><!-- --></A><H3> |
---|
761 | logJobInfo</H3> |
---|
762 | <PRE> |
---|
763 | public static void <B>logJobInfo</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
764 | long submitTime, |
---|
765 | long launchTime, |
---|
766 | int restartCount)</PRE> |
---|
767 | <DL> |
---|
768 | <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.JobInfo.html#logJobInfo(org.apache.hadoop.mapred.JobID, long, long)"><CODE>logJobInfo(JobID, long, long)</CODE></A> instead.</I> |
---|
769 | <P> |
---|
770 | <DD>Log job's submit-time/launch-time |
---|
771 | <P> |
---|
772 | <DD><DL> |
---|
773 | <DT><B>Parameters:</B><DD><CODE>jobid</CODE> - job id<DD><CODE>submitTime</CODE> - job's submit time<DD><CODE>launchTime</CODE> - job's launch time<DD><CODE>restartCount</CODE> - number of times the job got restarted</DL> |
---|
774 | </DD> |
---|
775 | </DL> |
---|
776 | <HR> |
---|
777 | |
---|
778 | <A NAME="logJobInfo(org.apache.hadoop.mapred.JobID, long, long)"><!-- --></A><H3> |
---|
779 | logJobInfo</H3> |
---|
780 | <PRE> |
---|
781 | public static void <B>logJobInfo</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobid, |
---|
782 | long submitTime, |
---|
783 | long launchTime)</PRE> |
---|
784 | <DL> |
---|
785 | <DD><DL> |
---|
786 | </DL> |
---|
787 | </DD> |
---|
788 | </DL> |
---|
789 | <HR> |
---|
790 | |
---|
791 | <A NAME="get(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
792 | get</H3> |
---|
793 | <PRE> |
---|
794 | 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> |
---|
795 | <DL> |
---|
796 | <DD>Get 'String' value for given key. Most of the places use Strings as |
---|
797 | values so the default get' method returns 'String'. This method never returns |
---|
798 | null to ease on GUIs. if no value is found it returns empty string "" |
---|
799 | <P> |
---|
800 | <DD><DL> |
---|
801 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - |
---|
802 | <DT><B>Returns:</B><DD>if null it returns empty string - ""</DL> |
---|
803 | </DD> |
---|
804 | </DL> |
---|
805 | <HR> |
---|
806 | |
---|
807 | <A NAME="getInt(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
808 | getInt</H3> |
---|
809 | <PRE> |
---|
810 | 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> |
---|
811 | <DL> |
---|
812 | <DD>Convert value from history to int and return. |
---|
813 | if no value is found it returns 0. |
---|
814 | <P> |
---|
815 | <DD><DL> |
---|
816 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - key</DL> |
---|
817 | </DD> |
---|
818 | </DL> |
---|
819 | <HR> |
---|
820 | |
---|
821 | <A NAME="getLong(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
822 | getLong</H3> |
---|
823 | <PRE> |
---|
824 | 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> |
---|
825 | <DL> |
---|
826 | <DD>Convert value from history to int and return. |
---|
827 | if no value is found it returns 0. |
---|
828 | <P> |
---|
829 | <DD><DL> |
---|
830 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - </DL> |
---|
831 | </DD> |
---|
832 | </DL> |
---|
833 | <HR> |
---|
834 | |
---|
835 | <A NAME="set(org.apache.hadoop.mapred.JobHistory.Keys, java.lang.String)"><!-- --></A><H3> |
---|
836 | set</H3> |
---|
837 | <PRE> |
---|
838 | 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, |
---|
839 | <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> |
---|
840 | <DL> |
---|
841 | <DD>Set value for the key. |
---|
842 | <P> |
---|
843 | <DD><DL> |
---|
844 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - <DD><CODE>s</CODE> - </DL> |
---|
845 | </DD> |
---|
846 | </DL> |
---|
847 | <HR> |
---|
848 | |
---|
849 | <A NAME="set(java.util.Map)"><!-- --></A><H3> |
---|
850 | set</H3> |
---|
851 | <PRE> |
---|
852 | 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> |
---|
853 | <DL> |
---|
854 | <DD>Adds all values in the Map argument to its own values. |
---|
855 | <P> |
---|
856 | <DD><DL> |
---|
857 | <DT><B>Parameters:</B><DD><CODE>m</CODE> - </DL> |
---|
858 | </DD> |
---|
859 | </DL> |
---|
860 | <HR> |
---|
861 | |
---|
862 | <A NAME="handle(java.util.Map)"><!-- --></A><H3> |
---|
863 | handle</H3> |
---|
864 | <PRE> |
---|
865 | 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> |
---|
866 | <DL> |
---|
867 | <DD>Reads values back from the history, input is same Map as passed to Listener by parseHistory(). |
---|
868 | <P> |
---|
869 | <DD><DL> |
---|
870 | <DT><B>Parameters:</B><DD><CODE>values</CODE> - </DL> |
---|
871 | </DD> |
---|
872 | </DL> |
---|
873 | <HR> |
---|
874 | |
---|
875 | <A NAME="getValues()"><!-- --></A><H3> |
---|
876 | getValues</H3> |
---|
877 | <PRE> |
---|
878 | 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> |
---|
879 | <DL> |
---|
880 | <DD>Returns Map containing all key-values. |
---|
881 | <P> |
---|
882 | <DD><DL> |
---|
883 | </DL> |
---|
884 | </DD> |
---|
885 | </DL> |
---|
886 | <!-- ========= END OF CLASS DATA ========= --> |
---|
887 | <HR> |
---|
888 | |
---|
889 | |
---|
890 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
891 | <A NAME="navbar_bottom"><!-- --></A> |
---|
892 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
893 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
894 | <TR> |
---|
895 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
896 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
897 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
898 | <TR ALIGN="center" VALIGN="top"> |
---|
899 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
900 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
901 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
902 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JobHistory.JobInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
903 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
904 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
905 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
906 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
907 | </TR> |
---|
908 | </TABLE> |
---|
909 | </TD> |
---|
910 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
911 | </EM> |
---|
912 | </TD> |
---|
913 | </TR> |
---|
914 | |
---|
915 | <TR> |
---|
916 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
917 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.HistoryCleaner.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
918 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Keys.html" title="enum in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
919 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
920 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/JobHistory.JobInfo.html" target="_top"><B>FRAMES</B></A> |
---|
921 | <A HREF="JobHistory.JobInfo.html" target="_top"><B>NO FRAMES</B></A> |
---|
922 | <SCRIPT type="text/javascript"> |
---|
923 | <!-- |
---|
924 | if(window==top) { |
---|
925 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
926 | } |
---|
927 | //--> |
---|
928 | </SCRIPT> |
---|
929 | <NOSCRIPT> |
---|
930 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
931 | </NOSCRIPT> |
---|
932 | |
---|
933 | |
---|
934 | </FONT></TD> |
---|
935 | </TR> |
---|
936 | <TR> |
---|
937 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
938 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
939 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
940 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
941 | </TR> |
---|
942 | </TABLE> |
---|
943 | <A NAME="skip-navbar_bottom"></A> |
---|
944 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
945 | |
---|
946 | <HR> |
---|
947 | Copyright © 2009 The Apache Software Foundation |
---|
948 | </BODY> |
---|
949 | </HTML> |
---|