[120] | 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.ReduceAttempt (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.ReduceAttempt (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.ReduceAttempt.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.RecordTypes.html" title="enum in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="JobHistory.ReduceAttempt.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.ReduceAttempt</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 "><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html" title="class in org.apache.hadoop.mapred">org.apache.hadoop.mapred.JobHistory.TaskAttempt</A> |
---|
| 98 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.JobHistory.ReduceAttempt</B> |
---|
| 99 | </PRE> |
---|
| 100 | <DL> |
---|
| 101 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.html" title="class in org.apache.hadoop.mapred">JobHistory</A></DD> |
---|
| 102 | </DL> |
---|
| 103 | <HR> |
---|
| 104 | <DL> |
---|
| 105 | <DT><PRE>public static class <B>JobHistory.ReduceAttempt</B><DT>extends <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.TaskAttempt.html" title="class in org.apache.hadoop.mapred">JobHistory.TaskAttempt</A></DL> |
---|
| 106 | </PRE> |
---|
| 107 | |
---|
| 108 | <P> |
---|
| 109 | Helper class for logging or reading back events related to start, finish or failure of |
---|
| 110 | a Map Attempt on a node. |
---|
| 111 | <P> |
---|
| 112 | |
---|
| 113 | <P> |
---|
| 114 | <HR> |
---|
| 115 | |
---|
| 116 | <P> |
---|
| 117 | |
---|
| 118 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 119 | |
---|
| 120 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 121 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 122 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 123 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 124 | <B>Constructor Summary</B></FONT></TH> |
---|
| 125 | </TR> |
---|
| 126 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 127 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#JobHistory.ReduceAttempt()">JobHistory.ReduceAttempt</A></B>()</CODE> |
---|
| 128 | |
---|
| 129 | <BR> |
---|
| 130 | </TD> |
---|
| 131 | </TR> |
---|
| 132 | </TABLE> |
---|
| 133 | |
---|
| 134 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 135 | |
---|
| 136 | <A NAME="method_summary"><!-- --></A> |
---|
| 137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 138 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 139 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 140 | <B>Method Summary</B></FONT></TH> |
---|
| 141 | </TR> |
---|
| 142 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 143 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 144 | <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> |
---|
| 145 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.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> |
---|
| 146 | |
---|
| 147 | <BR> |
---|
| 148 | Get 'String' value for given key.</TD> |
---|
| 149 | </TR> |
---|
| 150 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 151 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 152 | <CODE> int</CODE></FONT></TD> |
---|
| 153 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.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> |
---|
| 154 | |
---|
| 155 | <BR> |
---|
| 156 | Convert value from history to int and return.</TD> |
---|
| 157 | </TR> |
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 160 | <CODE> long</CODE></FONT></TD> |
---|
| 161 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.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> |
---|
| 162 | |
---|
| 163 | <BR> |
---|
| 164 | Convert value from history to int and return.</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/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> |
---|
| 169 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#getValues()">getValues</A></B>()</CODE> |
---|
| 170 | |
---|
| 171 | <BR> |
---|
| 172 | Returns Map containing all key-values.</TD> |
---|
| 173 | </TR> |
---|
| 174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 176 | <CODE> void</CODE></FONT></TD> |
---|
| 177 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.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> |
---|
| 178 | |
---|
| 179 | <BR> |
---|
| 180 | Reads values back from the history, input is same Map as passed to Listener by parseHistory().</TD> |
---|
| 181 | </TR> |
---|
| 182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 184 | <CODE>static void</CODE></FONT></TD> |
---|
| 185 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFailed(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String)">logFailed</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 186 | long timestamp, |
---|
| 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> hostName, |
---|
| 188 | <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> error)</CODE> |
---|
| 189 | |
---|
| 190 | <BR> |
---|
| 191 | <B>Deprecated.</B> <I>Use |
---|
| 192 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFailed(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)"><CODE>logFailed(TaskAttemptID, long, String, String, String)</CODE></A></I></TD> |
---|
| 193 | </TR> |
---|
| 194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 196 | <CODE>static void</CODE></FONT></TD> |
---|
| 197 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFailed(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)">logFailed</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 198 | long timestamp, |
---|
| 199 | <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> hostName, |
---|
| 200 | <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> error, |
---|
| 201 | <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> taskType)</CODE> |
---|
| 202 | |
---|
| 203 | <BR> |
---|
| 204 | Log failed reduce task attempt.</TD> |
---|
| 205 | </TR> |
---|
| 206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 208 | <CODE>static void</CODE></FONT></TD> |
---|
| 209 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFinished(org.apache.hadoop.mapred.TaskAttemptID, long, long, long, java.lang.String)">logFinished</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 210 | long shuffleFinished, |
---|
| 211 | long sortFinished, |
---|
| 212 | long finishTime, |
---|
| 213 | <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> hostName)</CODE> |
---|
| 214 | |
---|
| 215 | <BR> |
---|
| 216 | <B>Deprecated.</B> <I>Use |
---|
| 217 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFinished(org.apache.hadoop.mapred.TaskAttemptID, long, long, long, java.lang.String, java.lang.String, java.lang.String, org.apache.hadoop.mapred.Counters)"><CODE>logFinished(TaskAttemptID, long, long, long, String, String, String, Counters)</CODE></A></I></TD> |
---|
| 218 | </TR> |
---|
| 219 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 221 | <CODE>static void</CODE></FONT></TD> |
---|
| 222 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFinished(org.apache.hadoop.mapred.TaskAttemptID, long, long, long, java.lang.String, java.lang.String, java.lang.String, org.apache.hadoop.mapred.Counters)">logFinished</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 223 | long shuffleFinished, |
---|
| 224 | long sortFinished, |
---|
| 225 | long finishTime, |
---|
| 226 | <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> hostName, |
---|
| 227 | <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> taskType, |
---|
| 228 | <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> stateString, |
---|
| 229 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> counter)</CODE> |
---|
| 230 | |
---|
| 231 | <BR> |
---|
| 232 | Log finished event of this task.</TD> |
---|
| 233 | </TR> |
---|
| 234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 236 | <CODE>static void</CODE></FONT></TD> |
---|
| 237 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logKilled(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String)">logKilled</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 238 | long timestamp, |
---|
| 239 | <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> hostName, |
---|
| 240 | <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> error)</CODE> |
---|
| 241 | |
---|
| 242 | <BR> |
---|
| 243 | <B>Deprecated.</B> <I>Use |
---|
| 244 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logKilled(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)"><CODE>logKilled(TaskAttemptID, long, String, String, String)</CODE></A></I></TD> |
---|
| 245 | </TR> |
---|
| 246 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 247 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 248 | <CODE>static void</CODE></FONT></TD> |
---|
| 249 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logKilled(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)">logKilled</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 250 | long timestamp, |
---|
| 251 | <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> hostName, |
---|
| 252 | <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> error, |
---|
| 253 | <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> taskType)</CODE> |
---|
| 254 | |
---|
| 255 | <BR> |
---|
| 256 | Log killed reduce task attempt.</TD> |
---|
| 257 | </TR> |
---|
| 258 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 260 | <CODE>static void</CODE></FONT></TD> |
---|
| 261 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logStarted(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String)">logStarted</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 262 | long startTime, |
---|
| 263 | <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> hostName)</CODE> |
---|
| 264 | |
---|
| 265 | <BR> |
---|
| 266 | <B>Deprecated.</B> <I>Use |
---|
| 267 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logStarted(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, int, java.lang.String)"><CODE>logStarted(TaskAttemptID, long, String, int, String)</CODE></A></I></TD> |
---|
| 268 | </TR> |
---|
| 269 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 270 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 271 | <CODE>static void</CODE></FONT></TD> |
---|
| 272 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logStarted(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, int, java.lang.String)">logStarted</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 273 | long startTime, |
---|
| 274 | <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> trackerName, |
---|
| 275 | int httpPort, |
---|
| 276 | <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> taskType)</CODE> |
---|
| 277 | |
---|
| 278 | <BR> |
---|
| 279 | Log start time of Reduce task attempt.</TD> |
---|
| 280 | </TR> |
---|
| 281 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 283 | <CODE> void</CODE></FONT></TD> |
---|
| 284 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.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, |
---|
| 285 | <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> |
---|
| 286 | |
---|
| 287 | <BR> |
---|
| 288 | Set value for the key.</TD> |
---|
| 289 | </TR> |
---|
| 290 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 292 | <CODE> void</CODE></FONT></TD> |
---|
| 293 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.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> |
---|
| 294 | |
---|
| 295 | <BR> |
---|
| 296 | Adds all values in the Map argument to its own values.</TD> |
---|
| 297 | </TR> |
---|
| 298 | </TABLE> |
---|
| 299 | <A NAME="methods_inherited_from_class_org.apache.hadoop.mapred.JobHistory.Task"><!-- --></A> |
---|
| 300 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 301 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 302 | <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> |
---|
| 303 | </TR> |
---|
| 304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 305 | <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> |
---|
| 306 | </TR> |
---|
| 307 | </TABLE> |
---|
| 308 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 309 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 310 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 311 | <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> |
---|
| 312 | </TR> |
---|
| 313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 314 | <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> |
---|
| 315 | </TR> |
---|
| 316 | </TABLE> |
---|
| 317 | |
---|
| 318 | <P> |
---|
| 319 | |
---|
| 320 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 321 | |
---|
| 322 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 323 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 324 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 325 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 326 | <B>Constructor Detail</B></FONT></TH> |
---|
| 327 | </TR> |
---|
| 328 | </TABLE> |
---|
| 329 | |
---|
| 330 | <A NAME="JobHistory.ReduceAttempt()"><!-- --></A><H3> |
---|
| 331 | JobHistory.ReduceAttempt</H3> |
---|
| 332 | <PRE> |
---|
| 333 | public <B>JobHistory.ReduceAttempt</B>()</PRE> |
---|
| 334 | <DL> |
---|
| 335 | </DL> |
---|
| 336 | |
---|
| 337 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 338 | |
---|
| 339 | <A NAME="method_detail"><!-- --></A> |
---|
| 340 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 341 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 342 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 343 | <B>Method Detail</B></FONT></TH> |
---|
| 344 | </TR> |
---|
| 345 | </TABLE> |
---|
| 346 | |
---|
| 347 | <A NAME="logStarted(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String)"><!-- --></A><H3> |
---|
| 348 | logStarted</H3> |
---|
| 349 | <PRE> |
---|
| 350 | <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> |
---|
| 351 | </FONT>public static void <B>logStarted</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 352 | long startTime, |
---|
| 353 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> hostName)</PRE> |
---|
| 354 | <DL> |
---|
| 355 | <DD><B>Deprecated.</B> <I>Use |
---|
| 356 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logStarted(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, int, java.lang.String)"><CODE>logStarted(TaskAttemptID, long, String, int, String)</CODE></A></I> |
---|
| 357 | <P> |
---|
| 358 | <DD>Log start time of Reduce task attempt. |
---|
| 359 | <P> |
---|
| 360 | <DD><DL> |
---|
| 361 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>startTime</CODE> - start time<DD><CODE>hostName</CODE> - host name</DL> |
---|
| 362 | </DD> |
---|
| 363 | </DL> |
---|
| 364 | <HR> |
---|
| 365 | |
---|
| 366 | <A NAME="logStarted(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, int, java.lang.String)"><!-- --></A><H3> |
---|
| 367 | logStarted</H3> |
---|
| 368 | <PRE> |
---|
| 369 | public static void <B>logStarted</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 370 | long startTime, |
---|
| 371 | <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> trackerName, |
---|
| 372 | int httpPort, |
---|
| 373 | <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> taskType)</PRE> |
---|
| 374 | <DL> |
---|
| 375 | <DD>Log start time of Reduce task attempt. |
---|
| 376 | <P> |
---|
| 377 | <DD><DL> |
---|
| 378 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>startTime</CODE> - start time<DD><CODE>trackerName</CODE> - tracker name<DD><CODE>httpPort</CODE> - the http port of the tracker executing the task attempt<DD><CODE>taskType</CODE> - Whether the attempt is cleanup or setup or reduce</DL> |
---|
| 379 | </DD> |
---|
| 380 | </DL> |
---|
| 381 | <HR> |
---|
| 382 | |
---|
| 383 | <A NAME="logFinished(org.apache.hadoop.mapred.TaskAttemptID, long, long, long, java.lang.String)"><!-- --></A><H3> |
---|
| 384 | logFinished</H3> |
---|
| 385 | <PRE> |
---|
| 386 | <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> |
---|
| 387 | </FONT>public static void <B>logFinished</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 388 | long shuffleFinished, |
---|
| 389 | long sortFinished, |
---|
| 390 | long finishTime, |
---|
| 391 | <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> hostName)</PRE> |
---|
| 392 | <DL> |
---|
| 393 | <DD><B>Deprecated.</B> <I>Use |
---|
| 394 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFinished(org.apache.hadoop.mapred.TaskAttemptID, long, long, long, java.lang.String, java.lang.String, java.lang.String, org.apache.hadoop.mapred.Counters)"><CODE>logFinished(TaskAttemptID, long, long, long, String, String, String, Counters)</CODE></A></I> |
---|
| 395 | <P> |
---|
| 396 | <DD>Log finished event of this task. |
---|
| 397 | <P> |
---|
| 398 | <DD><DL> |
---|
| 399 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>shuffleFinished</CODE> - shuffle finish time<DD><CODE>sortFinished</CODE> - sort finish time<DD><CODE>finishTime</CODE> - finish time of task<DD><CODE>hostName</CODE> - host name where task attempt executed</DL> |
---|
| 400 | </DD> |
---|
| 401 | </DL> |
---|
| 402 | <HR> |
---|
| 403 | |
---|
| 404 | <A NAME="logFinished(org.apache.hadoop.mapred.TaskAttemptID, long, long, long, java.lang.String, java.lang.String, java.lang.String, org.apache.hadoop.mapred.Counters)"><!-- --></A><H3> |
---|
| 405 | logFinished</H3> |
---|
| 406 | <PRE> |
---|
| 407 | public static void <B>logFinished</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 408 | long shuffleFinished, |
---|
| 409 | long sortFinished, |
---|
| 410 | long finishTime, |
---|
| 411 | <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> hostName, |
---|
| 412 | <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> taskType, |
---|
| 413 | <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> stateString, |
---|
| 414 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A> counter)</PRE> |
---|
| 415 | <DL> |
---|
| 416 | <DD>Log finished event of this task. |
---|
| 417 | <P> |
---|
| 418 | <DD><DL> |
---|
| 419 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>shuffleFinished</CODE> - shuffle finish time<DD><CODE>sortFinished</CODE> - sort finish time<DD><CODE>finishTime</CODE> - finish time of task<DD><CODE>hostName</CODE> - host name where task attempt executed<DD><CODE>taskType</CODE> - Whether the attempt is cleanup or setup or reduce<DD><CODE>stateString</CODE> - the state string of the attempt<DD><CODE>counter</CODE> - counters of the attempt</DL> |
---|
| 420 | </DD> |
---|
| 421 | </DL> |
---|
| 422 | <HR> |
---|
| 423 | |
---|
| 424 | <A NAME="logFailed(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 425 | logFailed</H3> |
---|
| 426 | <PRE> |
---|
| 427 | <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> |
---|
| 428 | </FONT>public static void <B>logFailed</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 429 | long timestamp, |
---|
| 430 | <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> hostName, |
---|
| 431 | <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> error)</PRE> |
---|
| 432 | <DL> |
---|
| 433 | <DD><B>Deprecated.</B> <I>Use |
---|
| 434 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logFailed(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)"><CODE>logFailed(TaskAttemptID, long, String, String, String)</CODE></A></I> |
---|
| 435 | <P> |
---|
| 436 | <DD>Log failed reduce task attempt. |
---|
| 437 | <P> |
---|
| 438 | <DD><DL> |
---|
| 439 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>timestamp</CODE> - time stamp when task failed<DD><CODE>hostName</CODE> - host name of the task attempt.<DD><CODE>error</CODE> - error message of the task.</DL> |
---|
| 440 | </DD> |
---|
| 441 | </DL> |
---|
| 442 | <HR> |
---|
| 443 | |
---|
| 444 | <A NAME="logFailed(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 445 | logFailed</H3> |
---|
| 446 | <PRE> |
---|
| 447 | public static void <B>logFailed</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 448 | long timestamp, |
---|
| 449 | <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> hostName, |
---|
| 450 | <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> error, |
---|
| 451 | <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> taskType)</PRE> |
---|
| 452 | <DL> |
---|
| 453 | <DD>Log failed reduce task attempt. |
---|
| 454 | <P> |
---|
| 455 | <DD><DL> |
---|
| 456 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>timestamp</CODE> - time stamp when task failed<DD><CODE>hostName</CODE> - host name of the task attempt.<DD><CODE>error</CODE> - error message of the task.<DD><CODE>taskType</CODE> - Whether the attempt is cleanup or setup or reduce</DL> |
---|
| 457 | </DD> |
---|
| 458 | </DL> |
---|
| 459 | <HR> |
---|
| 460 | |
---|
| 461 | <A NAME="logKilled(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 462 | logKilled</H3> |
---|
| 463 | <PRE> |
---|
| 464 | <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> |
---|
| 465 | </FONT>public static void <B>logKilled</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 466 | long timestamp, |
---|
| 467 | <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> hostName, |
---|
| 468 | <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> error)</PRE> |
---|
| 469 | <DL> |
---|
| 470 | <DD><B>Deprecated.</B> <I>Use |
---|
| 471 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html#logKilled(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)"><CODE>logKilled(TaskAttemptID, long, String, String, String)</CODE></A></I> |
---|
| 472 | <P> |
---|
| 473 | <DD>Log killed reduce task attempt. |
---|
| 474 | <P> |
---|
| 475 | <DD><DL> |
---|
| 476 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>timestamp</CODE> - time stamp when task failed<DD><CODE>hostName</CODE> - host name of the task attempt.<DD><CODE>error</CODE> - error message of the task.</DL> |
---|
| 477 | </DD> |
---|
| 478 | </DL> |
---|
| 479 | <HR> |
---|
| 480 | |
---|
| 481 | <A NAME="logKilled(org.apache.hadoop.mapred.TaskAttemptID, long, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 482 | logKilled</H3> |
---|
| 483 | <PRE> |
---|
| 484 | public static void <B>logKilled</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskAttemptId, |
---|
| 485 | long timestamp, |
---|
| 486 | <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> hostName, |
---|
| 487 | <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> error, |
---|
| 488 | <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> taskType)</PRE> |
---|
| 489 | <DL> |
---|
| 490 | <DD>Log killed reduce task attempt. |
---|
| 491 | <P> |
---|
| 492 | <DD><DL> |
---|
| 493 | <DT><B>Parameters:</B><DD><CODE>taskAttemptId</CODE> - task attempt id<DD><CODE>timestamp</CODE> - time stamp when task failed<DD><CODE>hostName</CODE> - host name of the task attempt.<DD><CODE>error</CODE> - error message of the task.<DD><CODE>taskType</CODE> - Whether the attempt is cleanup or setup or reduce</DL> |
---|
| 494 | </DD> |
---|
| 495 | </DL> |
---|
| 496 | <HR> |
---|
| 497 | |
---|
| 498 | <A NAME="get(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
| 499 | get</H3> |
---|
| 500 | <PRE> |
---|
| 501 | 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> |
---|
| 502 | <DL> |
---|
| 503 | <DD>Get 'String' value for given key. Most of the places use Strings as |
---|
| 504 | values so the default get' method returns 'String'. This method never returns |
---|
| 505 | null to ease on GUIs. if no value is found it returns empty string "" |
---|
| 506 | <P> |
---|
| 507 | <DD><DL> |
---|
| 508 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - |
---|
| 509 | <DT><B>Returns:</B><DD>if null it returns empty string - ""</DL> |
---|
| 510 | </DD> |
---|
| 511 | </DL> |
---|
| 512 | <HR> |
---|
| 513 | |
---|
| 514 | <A NAME="getInt(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
| 515 | getInt</H3> |
---|
| 516 | <PRE> |
---|
| 517 | 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> |
---|
| 518 | <DL> |
---|
| 519 | <DD>Convert value from history to int and return. |
---|
| 520 | if no value is found it returns 0. |
---|
| 521 | <P> |
---|
| 522 | <DD><DL> |
---|
| 523 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - key</DL> |
---|
| 524 | </DD> |
---|
| 525 | </DL> |
---|
| 526 | <HR> |
---|
| 527 | |
---|
| 528 | <A NAME="getLong(org.apache.hadoop.mapred.JobHistory.Keys)"><!-- --></A><H3> |
---|
| 529 | getLong</H3> |
---|
| 530 | <PRE> |
---|
| 531 | 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> |
---|
| 532 | <DL> |
---|
| 533 | <DD>Convert value from history to int and return. |
---|
| 534 | if no value is found it returns 0. |
---|
| 535 | <P> |
---|
| 536 | <DD><DL> |
---|
| 537 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - </DL> |
---|
| 538 | </DD> |
---|
| 539 | </DL> |
---|
| 540 | <HR> |
---|
| 541 | |
---|
| 542 | <A NAME="set(org.apache.hadoop.mapred.JobHistory.Keys, java.lang.String)"><!-- --></A><H3> |
---|
| 543 | set</H3> |
---|
| 544 | <PRE> |
---|
| 545 | 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, |
---|
| 546 | <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> |
---|
| 547 | <DL> |
---|
| 548 | <DD>Set value for the key. |
---|
| 549 | <P> |
---|
| 550 | <DD><DL> |
---|
| 551 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - <DD><CODE>s</CODE> - </DL> |
---|
| 552 | </DD> |
---|
| 553 | </DL> |
---|
| 554 | <HR> |
---|
| 555 | |
---|
| 556 | <A NAME="set(java.util.Map)"><!-- --></A><H3> |
---|
| 557 | set</H3> |
---|
| 558 | <PRE> |
---|
| 559 | 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> |
---|
| 560 | <DL> |
---|
| 561 | <DD>Adds all values in the Map argument to its own values. |
---|
| 562 | <P> |
---|
| 563 | <DD><DL> |
---|
| 564 | <DT><B>Parameters:</B><DD><CODE>m</CODE> - </DL> |
---|
| 565 | </DD> |
---|
| 566 | </DL> |
---|
| 567 | <HR> |
---|
| 568 | |
---|
| 569 | <A NAME="handle(java.util.Map)"><!-- --></A><H3> |
---|
| 570 | handle</H3> |
---|
| 571 | <PRE> |
---|
| 572 | 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> |
---|
| 573 | <DL> |
---|
| 574 | <DD>Reads values back from the history, input is same Map as passed to Listener by parseHistory(). |
---|
| 575 | <P> |
---|
| 576 | <DD><DL> |
---|
| 577 | <DT><B>Parameters:</B><DD><CODE>values</CODE> - </DL> |
---|
| 578 | </DD> |
---|
| 579 | </DL> |
---|
| 580 | <HR> |
---|
| 581 | |
---|
| 582 | <A NAME="getValues()"><!-- --></A><H3> |
---|
| 583 | getValues</H3> |
---|
| 584 | <PRE> |
---|
| 585 | 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> |
---|
| 586 | <DL> |
---|
| 587 | <DD>Returns Map containing all key-values. |
---|
| 588 | <P> |
---|
| 589 | <DD><DL> |
---|
| 590 | </DL> |
---|
| 591 | </DD> |
---|
| 592 | </DL> |
---|
| 593 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 594 | <HR> |
---|
| 595 | |
---|
| 596 | |
---|
| 597 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 598 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 599 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 600 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 601 | <TR> |
---|
| 602 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 603 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 604 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 605 | <TR ALIGN="center" VALIGN="top"> |
---|
| 606 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 607 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 608 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 609 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JobHistory.ReduceAttempt.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 610 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 611 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 612 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 613 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 614 | </TR> |
---|
| 615 | </TABLE> |
---|
| 616 | </TD> |
---|
| 617 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 618 | </EM> |
---|
| 619 | </TD> |
---|
| 620 | </TR> |
---|
| 621 | |
---|
| 622 | <TR> |
---|
| 623 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 624 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.RecordTypes.html" title="enum in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 625 | <A HREF="../../../../org/apache/hadoop/mapred/JobHistory.Task.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 626 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 627 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/JobHistory.ReduceAttempt.html" target="_top"><B>FRAMES</B></A> |
---|
| 628 | <A HREF="JobHistory.ReduceAttempt.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 629 | <SCRIPT type="text/javascript"> |
---|
| 630 | <!-- |
---|
| 631 | if(window==top) { |
---|
| 632 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 633 | } |
---|
| 634 | //--> |
---|
| 635 | </SCRIPT> |
---|
| 636 | <NOSCRIPT> |
---|
| 637 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 638 | </NOSCRIPT> |
---|
| 639 | |
---|
| 640 | |
---|
| 641 | </FONT></TD> |
---|
| 642 | </TR> |
---|
| 643 | <TR> |
---|
| 644 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 645 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 646 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 647 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 648 | </TR> |
---|
| 649 | </TABLE> |
---|
| 650 | <A NAME="skip-navbar_bottom"></A> |
---|
| 651 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 652 | |
---|
| 653 | <HR> |
---|
| 654 | Copyright © 2009 The Apache Software Foundation |
---|
| 655 | </BODY> |
---|
| 656 | </HTML> |
---|