[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:57 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | TaskTracker (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="TaskTracker (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/TaskTracker.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/TaskReport.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.MapOutputServlet.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/TaskTracker.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="TaskTracker.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <SCRIPT type="text/javascript"> |
---|
| 64 | <!-- |
---|
| 65 | if(window==top) { |
---|
| 66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 67 | } |
---|
| 68 | //--> |
---|
| 69 | </SCRIPT> |
---|
| 70 | <NOSCRIPT> |
---|
| 71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 72 | </NOSCRIPT> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | </FONT></TD> |
---|
| 76 | </TR> |
---|
| 77 | <TR> |
---|
| 78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 79 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 82 | </TR> |
---|
| 83 | </TABLE> |
---|
| 84 | <A NAME="skip-navbar_top"></A> |
---|
| 85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 86 | |
---|
| 87 | <HR> |
---|
| 88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 89 | <H2> |
---|
| 90 | <FONT SIZE="-1"> |
---|
| 91 | org.apache.hadoop.mapred</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class TaskTracker</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.TaskTracker</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A></DD> |
---|
| 100 | </DL> |
---|
| 101 | <HR> |
---|
| 102 | <DL> |
---|
| 103 | <DT><PRE>public class <B>TaskTracker</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><DT>implements <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A></DL> |
---|
| 104 | </PRE> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | TaskTracker is a process that starts and tracks MR Tasks |
---|
| 108 | in a networked environment. It contacts the JobTracker |
---|
| 109 | for Task assignments and reporting results. |
---|
| 110 | <P> |
---|
| 111 | |
---|
| 112 | <P> |
---|
| 113 | <HR> |
---|
| 114 | |
---|
| 115 | <P> |
---|
| 116 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
| 117 | |
---|
| 118 | <A NAME="nested_class_summary"><!-- --></A> |
---|
| 119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 121 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 122 | <B>Nested Class Summary</B></FONT></TH> |
---|
| 123 | </TR> |
---|
| 124 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 125 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 126 | <CODE>static class</CODE></FONT></TD> |
---|
| 127 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.MapOutputServlet.html" title="class in org.apache.hadoop.mapred">TaskTracker.MapOutputServlet</A></B></CODE> |
---|
| 128 | |
---|
| 129 | <BR> |
---|
| 130 | This class is used in TaskTracker's Jetty to serve the map outputs |
---|
| 131 | to other nodes.</TD> |
---|
| 132 | </TR> |
---|
| 133 | </TABLE> |
---|
| 134 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 135 | |
---|
| 136 | <A NAME="field_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>Field 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>static org.apache.commons.logging.Log</CODE></FONT></TD> |
---|
| 145 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#ClientTraceLog">ClientTraceLog</A></B></CODE> |
---|
| 146 | |
---|
| 147 | <BR> |
---|
| 148 | </TD> |
---|
| 149 | </TR> |
---|
| 150 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 151 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 152 | <CODE>static int</CODE></FONT></TD> |
---|
| 153 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#CLUSTER_INCREMENT">CLUSTER_INCREMENT</A></B></CODE> |
---|
| 154 | |
---|
| 155 | <BR> |
---|
| 156 | </TD> |
---|
| 157 | </TR> |
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 160 | <CODE>static long</CODE></FONT></TD> |
---|
| 161 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#COUNTER_UPDATE_INTERVAL">COUNTER_UPDATE_INTERVAL</A></B></CODE> |
---|
| 162 | |
---|
| 163 | <BR> |
---|
| 164 | </TD> |
---|
| 165 | </TR> |
---|
| 166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 168 | <CODE>static int</CODE></FONT></TD> |
---|
| 169 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#FILE_NOT_FOUND">FILE_NOT_FOUND</A></B></CODE> |
---|
| 170 | |
---|
| 171 | <BR> |
---|
| 172 | </TD> |
---|
| 173 | </TR> |
---|
| 174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 176 | <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> |
---|
| 177 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#FOR_REDUCE_TASK">FOR_REDUCE_TASK</A></B></CODE> |
---|
| 178 | |
---|
| 179 | <BR> |
---|
| 180 | The reduce task number for which this map output is being transferred</TD> |
---|
| 181 | </TR> |
---|
| 182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 184 | <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> |
---|
| 185 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#FROM_MAP_TASK">FROM_MAP_TASK</A></B></CODE> |
---|
| 186 | |
---|
| 187 | <BR> |
---|
| 188 | The map task from which the map output data is being transferred</TD> |
---|
| 189 | </TR> |
---|
| 190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 192 | <CODE>static int</CODE></FONT></TD> |
---|
| 193 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#HEARTBEAT_INTERVAL_MIN">HEARTBEAT_INTERVAL_MIN</A></B></CODE> |
---|
| 194 | |
---|
| 195 | <BR> |
---|
| 196 | </TD> |
---|
| 197 | </TR> |
---|
| 198 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 200 | <CODE>static org.apache.commons.logging.Log</CODE></FONT></TD> |
---|
| 201 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#LOG">LOG</A></B></CODE> |
---|
| 202 | |
---|
| 203 | <BR> |
---|
| 204 | </TD> |
---|
| 205 | </TR> |
---|
| 206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 208 | <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> |
---|
| 209 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#MAP_OUTPUT_LENGTH">MAP_OUTPUT_LENGTH</A></B></CODE> |
---|
| 210 | |
---|
| 211 | <BR> |
---|
| 212 | The custom http header used for the map output length.</TD> |
---|
| 213 | </TR> |
---|
| 214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 216 | <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> |
---|
| 217 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#MR_CLIENTTRACE_FORMAT">MR_CLIENTTRACE_FORMAT</A></B></CODE> |
---|
| 218 | |
---|
| 219 | <BR> |
---|
| 220 | </TD> |
---|
| 221 | </TR> |
---|
| 222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 224 | <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> |
---|
| 225 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#RAW_MAP_OUTPUT_LENGTH">RAW_MAP_OUTPUT_LENGTH</A></B></CODE> |
---|
| 226 | |
---|
| 227 | <BR> |
---|
| 228 | The custom http header used for the "raw" map output length.</TD> |
---|
| 229 | </TR> |
---|
| 230 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 232 | <CODE>static int</CODE></FONT></TD> |
---|
| 233 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#SUCCESS">SUCCESS</A></B></CODE> |
---|
| 234 | |
---|
| 235 | <BR> |
---|
| 236 | </TD> |
---|
| 237 | </TR> |
---|
| 238 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 239 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 240 | <CODE>static long</CODE></FONT></TD> |
---|
| 241 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#versionID">versionID</A></B></CODE> |
---|
| 242 | |
---|
| 243 | <BR> |
---|
| 244 | Changed the version to 2, since we have a new method getMapOutputs |
---|
| 245 | Changed version to 3 to have progress() return a boolean |
---|
| 246 | Changed the version to 4, since we have replaced |
---|
| 247 | TaskUmbilicalProtocol.progress(String, float, String, |
---|
| 248 | org.apache.hadoop.mapred.TaskStatus.Phase, Counters) |
---|
| 249 | with statusUpdate(String, TaskStatus) |
---|
| 250 | |
---|
| 251 | Version 5 changed counters representation for HADOOP-2248 |
---|
| 252 | Version 6 changes the TaskStatus representation for HADOOP-2208 |
---|
| 253 | Version 7 changes the done api (via HADOOP-3140).</TD> |
---|
| 254 | </TR> |
---|
| 255 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 257 | <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> |
---|
| 258 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#WORKDIR">WORKDIR</A></B></CODE> |
---|
| 259 | |
---|
| 260 | <BR> |
---|
| 261 | </TD> |
---|
| 262 | </TR> |
---|
| 263 | </TABLE> |
---|
| 264 | |
---|
| 265 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 266 | |
---|
| 267 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 268 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 269 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 270 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 271 | <B>Constructor Summary</B></FONT></TH> |
---|
| 272 | </TR> |
---|
| 273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 274 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#TaskTracker(org.apache.hadoop.mapred.JobConf)">TaskTracker</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 275 | |
---|
| 276 | <BR> |
---|
| 277 | Start with the local machine name, and the default JobTracker</TD> |
---|
| 278 | </TR> |
---|
| 279 | </TABLE> |
---|
| 280 | |
---|
| 281 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 282 | |
---|
| 283 | <A NAME="method_summary"><!-- --></A> |
---|
| 284 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 285 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 286 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 287 | <B>Method Summary</B></FONT></TH> |
---|
| 288 | </TR> |
---|
| 289 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 290 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 291 | <CODE> boolean</CODE></FONT></TD> |
---|
| 292 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#canCommit(org.apache.hadoop.mapred.TaskAttemptID)">canCommit</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid)</CODE> |
---|
| 293 | |
---|
| 294 | <BR> |
---|
| 295 | Child checking whether it can commit</TD> |
---|
| 296 | </TR> |
---|
| 297 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 298 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 299 | <CODE> void</CODE></FONT></TD> |
---|
| 300 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#cleanupStorage()">cleanupStorage</A></B>()</CODE> |
---|
| 301 | |
---|
| 302 | <BR> |
---|
| 303 | Removes all contents of temporary storage.</TD> |
---|
| 304 | </TR> |
---|
| 305 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 306 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 307 | <CODE> void</CODE></FONT></TD> |
---|
| 308 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#close()">close</A></B>()</CODE> |
---|
| 309 | |
---|
| 310 | <BR> |
---|
| 311 | Close down the TaskTracker and all its components.</TD> |
---|
| 312 | </TR> |
---|
| 313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 315 | <CODE> void</CODE></FONT></TD> |
---|
| 316 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#commitPending(org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.TaskStatus)">commitPending</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 317 | org.apache.hadoop.mapred.TaskStatus taskStatus)</CODE> |
---|
| 318 | |
---|
| 319 | <BR> |
---|
| 320 | Task is reporting that it is in commit_pending |
---|
| 321 | and it is waiting for the commit Response</TD> |
---|
| 322 | </TR> |
---|
| 323 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 325 | <CODE> void</CODE></FONT></TD> |
---|
| 326 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#done(org.apache.hadoop.mapred.TaskAttemptID)">done</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid)</CODE> |
---|
| 327 | |
---|
| 328 | <BR> |
---|
| 329 | The task is done.</TD> |
---|
| 330 | </TR> |
---|
| 331 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 332 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 333 | <CODE> void</CODE></FONT></TD> |
---|
| 334 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#fatalError(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)">fatalError</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskId, |
---|
| 335 | <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> msg)</CODE> |
---|
| 336 | |
---|
| 337 | <BR> |
---|
| 338 | A child task had a fatal error.</TD> |
---|
| 339 | </TR> |
---|
| 340 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 342 | <CODE> void</CODE></FONT></TD> |
---|
| 343 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#fsError(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)">fsError</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskId, |
---|
| 344 | <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> message)</CODE> |
---|
| 345 | |
---|
| 346 | <BR> |
---|
| 347 | A child task had a local filesystem error.</TD> |
---|
| 348 | </TR> |
---|
| 349 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 350 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 351 | <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends org.apache.hadoop.mapred.TaskTrackerInstrumentation></CODE></FONT></TD> |
---|
| 352 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getInstrumentationClass(org.apache.hadoop.conf.Configuration)">getInstrumentationClass</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</CODE> |
---|
| 353 | |
---|
| 354 | <BR> |
---|
| 355 | </TD> |
---|
| 356 | </TR> |
---|
| 357 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 359 | <CODE> org.apache.hadoop.mapred.InterTrackerProtocol</CODE></FONT></TD> |
---|
| 360 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getJobClient()">getJobClient</A></B>()</CODE> |
---|
| 361 | |
---|
| 362 | <BR> |
---|
| 363 | The connection to the JobTracker, used by the TaskRunner |
---|
| 364 | for locating remote files.</TD> |
---|
| 365 | </TR> |
---|
| 366 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 367 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 368 | <CODE> org.apache.hadoop.mapred.JvmManager</CODE></FONT></TD> |
---|
| 369 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getJvmManagerInstance()">getJvmManagerInstance</A></B>()</CODE> |
---|
| 370 | |
---|
| 371 | <BR> |
---|
| 372 | </TD> |
---|
| 373 | </TR> |
---|
| 374 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 375 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 376 | <CODE> org.apache.hadoop.mapred.MapTaskCompletionEventsUpdate</CODE></FONT></TD> |
---|
| 377 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getMapCompletionEvents(org.apache.hadoop.mapred.JobID, int, int, org.apache.hadoop.mapred.TaskAttemptID)">getMapCompletionEvents</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
| 378 | int fromEventId, |
---|
| 379 | int maxLocs, |
---|
| 380 | <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> id)</CODE> |
---|
| 381 | |
---|
| 382 | <BR> |
---|
| 383 | Called by a reduce task to get the map output locations for finished maps.</TD> |
---|
| 384 | </TR> |
---|
| 385 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 386 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 387 | <CODE> long</CODE></FONT></TD> |
---|
| 388 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getProtocolVersion(java.lang.String, long)">getProtocolVersion</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> protocol, |
---|
| 389 | long clientVersion)</CODE> |
---|
| 390 | |
---|
| 391 | <BR> |
---|
| 392 | Return protocol version corresponding to protocol interface.</TD> |
---|
| 393 | </TR> |
---|
| 394 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 395 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 396 | <CODE> org.apache.hadoop.mapred.JvmTask</CODE></FONT></TD> |
---|
| 397 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getTask(org.apache.hadoop.mapred.JVMId)">getTask</A></B>(org.apache.hadoop.mapred.JVMId jvmId)</CODE> |
---|
| 398 | |
---|
| 399 | <BR> |
---|
| 400 | Called upon startup by the child process, to fetch Task data.</TD> |
---|
| 401 | </TR> |
---|
| 402 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 403 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 404 | <CODE> org.apache.hadoop.mapred.TaskMemoryManagerThread</CODE></FONT></TD> |
---|
| 405 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getTaskMemoryManager()">getTaskMemoryManager</A></B>()</CODE> |
---|
| 406 | |
---|
| 407 | <BR> |
---|
| 408 | </TD> |
---|
| 409 | </TR> |
---|
| 410 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 411 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 412 | <CODE> org.apache.hadoop.mapred.TaskTrackerInstrumentation</CODE></FONT></TD> |
---|
| 413 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getTaskTrackerInstrumentation()">getTaskTrackerInstrumentation</A></B>()</CODE> |
---|
| 414 | |
---|
| 415 | <BR> |
---|
| 416 | </TD> |
---|
| 417 | </TR> |
---|
| 418 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 419 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 420 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A></CODE></FONT></TD> |
---|
| 421 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#getTaskTrackerReportAddress()">getTaskTrackerReportAddress</A></B>()</CODE> |
---|
| 422 | |
---|
| 423 | <BR> |
---|
| 424 | Return the port at which the tasktracker bound to</TD> |
---|
| 425 | </TR> |
---|
| 426 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 427 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 428 | <CODE> boolean</CODE></FONT></TD> |
---|
| 429 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#isIdle()">isIdle</A></B>()</CODE> |
---|
| 430 | |
---|
| 431 | <BR> |
---|
| 432 | Is this task tracker idle?</TD> |
---|
| 433 | </TR> |
---|
| 434 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 435 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 436 | <CODE> boolean</CODE></FONT></TD> |
---|
| 437 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#isTaskMemoryManagerEnabled()">isTaskMemoryManagerEnabled</A></B>()</CODE> |
---|
| 438 | |
---|
| 439 | <BR> |
---|
| 440 | Is the TaskMemoryManager Enabled on this system?</TD> |
---|
| 441 | </TR> |
---|
| 442 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 443 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 444 | <CODE>static void</CODE></FONT></TD> |
---|
| 445 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#main(java.lang.String[])">main</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] argv)</CODE> |
---|
| 446 | |
---|
| 447 | <BR> |
---|
| 448 | Start the TaskTracker, point toward the indicated JobTracker</TD> |
---|
| 449 | </TR> |
---|
| 450 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 451 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 452 | <CODE> void</CODE></FONT></TD> |
---|
| 453 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#mapOutputLost(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)">mapOutputLost</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 454 | <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> errorMsg)</CODE> |
---|
| 455 | |
---|
| 456 | <BR> |
---|
| 457 | A completed map task's output has been lost.</TD> |
---|
| 458 | </TR> |
---|
| 459 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 460 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 461 | <CODE> boolean</CODE></FONT></TD> |
---|
| 462 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#ping(org.apache.hadoop.mapred.TaskAttemptID)">ping</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid)</CODE> |
---|
| 463 | |
---|
| 464 | <BR> |
---|
| 465 | Child checking to see if we're alive.</TD> |
---|
| 466 | </TR> |
---|
| 467 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 468 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 469 | <CODE> void</CODE></FONT></TD> |
---|
| 470 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#reportDiagnosticInfo(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)">reportDiagnosticInfo</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 471 | <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> info)</CODE> |
---|
| 472 | |
---|
| 473 | <BR> |
---|
| 474 | Called when the task dies before completion, and we want to report back |
---|
| 475 | diagnostic info</TD> |
---|
| 476 | </TR> |
---|
| 477 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 478 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 479 | <CODE> void</CODE></FONT></TD> |
---|
| 480 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#reportNextRecordRange(org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.SortedRanges.Range)">reportNextRecordRange</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 481 | org.apache.hadoop.mapred.SortedRanges.Range range)</CODE> |
---|
| 482 | |
---|
| 483 | <BR> |
---|
| 484 | Report the record range which is going to process next by the Task.</TD> |
---|
| 485 | </TR> |
---|
| 486 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 487 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 488 | <CODE> void</CODE></FONT></TD> |
---|
| 489 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#run()">run</A></B>()</CODE> |
---|
| 490 | |
---|
| 491 | <BR> |
---|
| 492 | The server retry loop.</TD> |
---|
| 493 | </TR> |
---|
| 494 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 495 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 496 | <CODE>static void</CODE></FONT></TD> |
---|
| 497 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#setInstrumentationClass(org.apache.hadoop.conf.Configuration, java.lang.Class)">setInstrumentationClass</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
| 498 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends org.apache.hadoop.mapred.TaskTrackerInstrumentation> t)</CODE> |
---|
| 499 | |
---|
| 500 | <BR> |
---|
| 501 | </TD> |
---|
| 502 | </TR> |
---|
| 503 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 504 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 505 | <CODE> void</CODE></FONT></TD> |
---|
| 506 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#shuffleError(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)">shuffleError</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskId, |
---|
| 507 | <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> message)</CODE> |
---|
| 508 | |
---|
| 509 | <BR> |
---|
| 510 | A reduce-task failed to shuffle the map-outputs.</TD> |
---|
| 511 | </TR> |
---|
| 512 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 513 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 514 | <CODE> void</CODE></FONT></TD> |
---|
| 515 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#shutdown()">shutdown</A></B>()</CODE> |
---|
| 516 | |
---|
| 517 | <BR> |
---|
| 518 | </TD> |
---|
| 519 | </TR> |
---|
| 520 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 521 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 522 | <CODE> boolean</CODE></FONT></TD> |
---|
| 523 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.html#statusUpdate(org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.TaskStatus)">statusUpdate</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 524 | org.apache.hadoop.mapred.TaskStatus taskStatus)</CODE> |
---|
| 525 | |
---|
| 526 | <BR> |
---|
| 527 | Called periodically to report Task progress, from 0.0 to 1.0.</TD> |
---|
| 528 | </TR> |
---|
| 529 | </TABLE> |
---|
| 530 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 531 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 532 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 533 | <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> |
---|
| 534 | </TR> |
---|
| 535 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 536 | <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> |
---|
| 537 | </TR> |
---|
| 538 | </TABLE> |
---|
| 539 | |
---|
| 540 | <P> |
---|
| 541 | |
---|
| 542 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 543 | |
---|
| 544 | <A NAME="field_detail"><!-- --></A> |
---|
| 545 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 546 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 547 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 548 | <B>Field Detail</B></FONT></TH> |
---|
| 549 | </TR> |
---|
| 550 | </TABLE> |
---|
| 551 | |
---|
| 552 | <A NAME="LOG"><!-- --></A><H3> |
---|
| 553 | LOG</H3> |
---|
| 554 | <PRE> |
---|
| 555 | public static final org.apache.commons.logging.Log <B>LOG</B></PRE> |
---|
| 556 | <DL> |
---|
| 557 | <DL> |
---|
| 558 | </DL> |
---|
| 559 | </DL> |
---|
| 560 | <HR> |
---|
| 561 | |
---|
| 562 | <A NAME="MR_CLIENTTRACE_FORMAT"><!-- --></A><H3> |
---|
| 563 | MR_CLIENTTRACE_FORMAT</H3> |
---|
| 564 | <PRE> |
---|
| 565 | public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MR_CLIENTTRACE_FORMAT</B></PRE> |
---|
| 566 | <DL> |
---|
| 567 | <DL> |
---|
| 568 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.MR_CLIENTTRACE_FORMAT">Constant Field Values</A></DL> |
---|
| 569 | </DL> |
---|
| 570 | <HR> |
---|
| 571 | |
---|
| 572 | <A NAME="ClientTraceLog"><!-- --></A><H3> |
---|
| 573 | ClientTraceLog</H3> |
---|
| 574 | <PRE> |
---|
| 575 | public static final org.apache.commons.logging.Log <B>ClientTraceLog</B></PRE> |
---|
| 576 | <DL> |
---|
| 577 | <DL> |
---|
| 578 | </DL> |
---|
| 579 | </DL> |
---|
| 580 | <HR> |
---|
| 581 | |
---|
| 582 | <A NAME="HEARTBEAT_INTERVAL_MIN"><!-- --></A><H3> |
---|
| 583 | HEARTBEAT_INTERVAL_MIN</H3> |
---|
| 584 | <PRE> |
---|
| 585 | public static final int <B>HEARTBEAT_INTERVAL_MIN</B></PRE> |
---|
| 586 | <DL> |
---|
| 587 | <DL> |
---|
| 588 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.HEARTBEAT_INTERVAL_MIN">Constant Field Values</A></DL> |
---|
| 589 | </DL> |
---|
| 590 | <HR> |
---|
| 591 | |
---|
| 592 | <A NAME="CLUSTER_INCREMENT"><!-- --></A><H3> |
---|
| 593 | CLUSTER_INCREMENT</H3> |
---|
| 594 | <PRE> |
---|
| 595 | public static final int <B>CLUSTER_INCREMENT</B></PRE> |
---|
| 596 | <DL> |
---|
| 597 | <DL> |
---|
| 598 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.CLUSTER_INCREMENT">Constant Field Values</A></DL> |
---|
| 599 | </DL> |
---|
| 600 | <HR> |
---|
| 601 | |
---|
| 602 | <A NAME="COUNTER_UPDATE_INTERVAL"><!-- --></A><H3> |
---|
| 603 | COUNTER_UPDATE_INTERVAL</H3> |
---|
| 604 | <PRE> |
---|
| 605 | public static final long <B>COUNTER_UPDATE_INTERVAL</B></PRE> |
---|
| 606 | <DL> |
---|
| 607 | <DL> |
---|
| 608 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.COUNTER_UPDATE_INTERVAL">Constant Field Values</A></DL> |
---|
| 609 | </DL> |
---|
| 610 | <HR> |
---|
| 611 | |
---|
| 612 | <A NAME="SUCCESS"><!-- --></A><H3> |
---|
| 613 | SUCCESS</H3> |
---|
| 614 | <PRE> |
---|
| 615 | public static final int <B>SUCCESS</B></PRE> |
---|
| 616 | <DL> |
---|
| 617 | <DL> |
---|
| 618 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.SUCCESS">Constant Field Values</A></DL> |
---|
| 619 | </DL> |
---|
| 620 | <HR> |
---|
| 621 | |
---|
| 622 | <A NAME="FILE_NOT_FOUND"><!-- --></A><H3> |
---|
| 623 | FILE_NOT_FOUND</H3> |
---|
| 624 | <PRE> |
---|
| 625 | public static final int <B>FILE_NOT_FOUND</B></PRE> |
---|
| 626 | <DL> |
---|
| 627 | <DL> |
---|
| 628 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.FILE_NOT_FOUND">Constant Field Values</A></DL> |
---|
| 629 | </DL> |
---|
| 630 | <HR> |
---|
| 631 | |
---|
| 632 | <A NAME="MAP_OUTPUT_LENGTH"><!-- --></A><H3> |
---|
| 633 | MAP_OUTPUT_LENGTH</H3> |
---|
| 634 | <PRE> |
---|
| 635 | public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MAP_OUTPUT_LENGTH</B></PRE> |
---|
| 636 | <DL> |
---|
| 637 | <DD>The custom http header used for the map output length. |
---|
| 638 | <P> |
---|
| 639 | <DL> |
---|
| 640 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.MAP_OUTPUT_LENGTH">Constant Field Values</A></DL> |
---|
| 641 | </DL> |
---|
| 642 | <HR> |
---|
| 643 | |
---|
| 644 | <A NAME="RAW_MAP_OUTPUT_LENGTH"><!-- --></A><H3> |
---|
| 645 | RAW_MAP_OUTPUT_LENGTH</H3> |
---|
| 646 | <PRE> |
---|
| 647 | public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>RAW_MAP_OUTPUT_LENGTH</B></PRE> |
---|
| 648 | <DL> |
---|
| 649 | <DD>The custom http header used for the "raw" map output length. |
---|
| 650 | <P> |
---|
| 651 | <DL> |
---|
| 652 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.RAW_MAP_OUTPUT_LENGTH">Constant Field Values</A></DL> |
---|
| 653 | </DL> |
---|
| 654 | <HR> |
---|
| 655 | |
---|
| 656 | <A NAME="FROM_MAP_TASK"><!-- --></A><H3> |
---|
| 657 | FROM_MAP_TASK</H3> |
---|
| 658 | <PRE> |
---|
| 659 | public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>FROM_MAP_TASK</B></PRE> |
---|
| 660 | <DL> |
---|
| 661 | <DD>The map task from which the map output data is being transferred |
---|
| 662 | <P> |
---|
| 663 | <DL> |
---|
| 664 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.FROM_MAP_TASK">Constant Field Values</A></DL> |
---|
| 665 | </DL> |
---|
| 666 | <HR> |
---|
| 667 | |
---|
| 668 | <A NAME="FOR_REDUCE_TASK"><!-- --></A><H3> |
---|
| 669 | FOR_REDUCE_TASK</H3> |
---|
| 670 | <PRE> |
---|
| 671 | public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>FOR_REDUCE_TASK</B></PRE> |
---|
| 672 | <DL> |
---|
| 673 | <DD>The reduce task number for which this map output is being transferred |
---|
| 674 | <P> |
---|
| 675 | <DL> |
---|
| 676 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.FOR_REDUCE_TASK">Constant Field Values</A></DL> |
---|
| 677 | </DL> |
---|
| 678 | <HR> |
---|
| 679 | |
---|
| 680 | <A NAME="WORKDIR"><!-- --></A><H3> |
---|
| 681 | WORKDIR</H3> |
---|
| 682 | <PRE> |
---|
| 683 | public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>WORKDIR</B></PRE> |
---|
| 684 | <DL> |
---|
| 685 | <DL> |
---|
| 686 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.WORKDIR">Constant Field Values</A></DL> |
---|
| 687 | </DL> |
---|
| 688 | <HR> |
---|
| 689 | |
---|
| 690 | <A NAME="versionID"><!-- --></A><H3> |
---|
| 691 | versionID</H3> |
---|
| 692 | <PRE> |
---|
| 693 | public static final long <B>versionID</B></PRE> |
---|
| 694 | <DL> |
---|
| 695 | <DD>Changed the version to 2, since we have a new method getMapOutputs |
---|
| 696 | Changed version to 3 to have progress() return a boolean |
---|
| 697 | Changed the version to 4, since we have replaced |
---|
| 698 | TaskUmbilicalProtocol.progress(String, float, String, |
---|
| 699 | org.apache.hadoop.mapred.TaskStatus.Phase, Counters) |
---|
| 700 | with statusUpdate(String, TaskStatus) |
---|
| 701 | |
---|
| 702 | Version 5 changed counters representation for HADOOP-2248 |
---|
| 703 | Version 6 changes the TaskStatus representation for HADOOP-2208 |
---|
| 704 | Version 7 changes the done api (via HADOOP-3140). It now expects whether |
---|
| 705 | or not the task's output needs to be promoted. |
---|
| 706 | Version 8 changes {job|tip|task}id's to use their corresponding |
---|
| 707 | objects rather than strings. |
---|
| 708 | Version 9 changes the counter representation for HADOOP-1915 |
---|
| 709 | Version 10 changed the TaskStatus format and added reportNextRecordRange |
---|
| 710 | for HADOOP-153 |
---|
| 711 | Version 11 Adds RPCs for task commit as part of HADOOP-3150 |
---|
| 712 | Version 12 getMapCompletionEvents() now also indicates if the events are |
---|
| 713 | stale or not. Hence the return type is a class that |
---|
| 714 | encapsulates the events and whether to reset events index. |
---|
| 715 | Version 13 changed the getTask method signature for HADOOP-249 |
---|
| 716 | Version 14 changed the getTask method signature for HADOOP-4232 |
---|
| 717 | Version 15 Adds FAILED_UNCLEAN and KILLED_UNCLEAN states for HADOOP-4759 |
---|
| 718 | Version 16 Added fatalError for child to communicate fatal errors to TT |
---|
| 719 | <P> |
---|
| 720 | <DL> |
---|
| 721 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.TaskTracker.versionID">Constant Field Values</A></DL> |
---|
| 722 | </DL> |
---|
| 723 | |
---|
| 724 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 725 | |
---|
| 726 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 727 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 728 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 729 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 730 | <B>Constructor Detail</B></FONT></TH> |
---|
| 731 | </TR> |
---|
| 732 | </TABLE> |
---|
| 733 | |
---|
| 734 | <A NAME="TaskTracker(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 735 | TaskTracker</H3> |
---|
| 736 | <PRE> |
---|
| 737 | public <B>TaskTracker</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf) |
---|
| 738 | 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> |
---|
| 739 | <DL> |
---|
| 740 | <DD>Start with the local machine name, and the default JobTracker |
---|
| 741 | <P> |
---|
| 742 | <DL> |
---|
| 743 | |
---|
| 744 | <DT><B>Throws:</B> |
---|
| 745 | <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> |
---|
| 746 | </DL> |
---|
| 747 | |
---|
| 748 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 749 | |
---|
| 750 | <A NAME="method_detail"><!-- --></A> |
---|
| 751 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 752 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 753 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 754 | <B>Method Detail</B></FONT></TH> |
---|
| 755 | </TR> |
---|
| 756 | </TABLE> |
---|
| 757 | |
---|
| 758 | <A NAME="getTaskTrackerInstrumentation()"><!-- --></A><H3> |
---|
| 759 | getTaskTrackerInstrumentation</H3> |
---|
| 760 | <PRE> |
---|
| 761 | public org.apache.hadoop.mapred.TaskTrackerInstrumentation <B>getTaskTrackerInstrumentation</B>()</PRE> |
---|
| 762 | <DL> |
---|
| 763 | <DD><DL> |
---|
| 764 | </DL> |
---|
| 765 | </DD> |
---|
| 766 | <DD><DL> |
---|
| 767 | </DL> |
---|
| 768 | </DD> |
---|
| 769 | </DL> |
---|
| 770 | <HR> |
---|
| 771 | |
---|
| 772 | <A NAME="getProtocolVersion(java.lang.String, long)"><!-- --></A><H3> |
---|
| 773 | getProtocolVersion</H3> |
---|
| 774 | <PRE> |
---|
| 775 | public long <B>getProtocolVersion</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> protocol, |
---|
| 776 | long clientVersion) |
---|
| 777 | 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> |
---|
| 778 | <DL> |
---|
| 779 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/ipc/VersionedProtocol.html#getProtocolVersion(java.lang.String, long)">VersionedProtocol</A></CODE></B></DD> |
---|
| 780 | <DD>Return protocol version corresponding to protocol interface. |
---|
| 781 | <P> |
---|
| 782 | <DD><DL> |
---|
| 783 | </DL> |
---|
| 784 | </DD> |
---|
| 785 | <DD><DL> |
---|
| 786 | <DT><B>Parameters:</B><DD><CODE>protocol</CODE> - The classname of the protocol interface<DD><CODE>clientVersion</CODE> - The version of the protocol that the client speaks |
---|
| 787 | <DT><B>Returns:</B><DD>the version that the server will speak |
---|
| 788 | <DT><B>Throws:</B> |
---|
| 789 | <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> |
---|
| 790 | </DD> |
---|
| 791 | </DL> |
---|
| 792 | <HR> |
---|
| 793 | |
---|
| 794 | <A NAME="getInstrumentationClass(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3> |
---|
| 795 | getInstrumentationClass</H3> |
---|
| 796 | <PRE> |
---|
| 797 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends org.apache.hadoop.mapred.TaskTrackerInstrumentation> <B>getInstrumentationClass</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</PRE> |
---|
| 798 | <DL> |
---|
| 799 | <DD><DL> |
---|
| 800 | </DL> |
---|
| 801 | </DD> |
---|
| 802 | <DD><DL> |
---|
| 803 | </DL> |
---|
| 804 | </DD> |
---|
| 805 | </DL> |
---|
| 806 | <HR> |
---|
| 807 | |
---|
| 808 | <A NAME="setInstrumentationClass(org.apache.hadoop.conf.Configuration, java.lang.Class)"><!-- --></A><H3> |
---|
| 809 | setInstrumentationClass</H3> |
---|
| 810 | <PRE> |
---|
| 811 | public static void <B>setInstrumentationClass</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
| 812 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends org.apache.hadoop.mapred.TaskTrackerInstrumentation> t)</PRE> |
---|
| 813 | <DL> |
---|
| 814 | <DD><DL> |
---|
| 815 | </DL> |
---|
| 816 | </DD> |
---|
| 817 | <DD><DL> |
---|
| 818 | </DL> |
---|
| 819 | </DD> |
---|
| 820 | </DL> |
---|
| 821 | <HR> |
---|
| 822 | |
---|
| 823 | <A NAME="cleanupStorage()"><!-- --></A><H3> |
---|
| 824 | cleanupStorage</H3> |
---|
| 825 | <PRE> |
---|
| 826 | public void <B>cleanupStorage</B>() |
---|
| 827 | 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> |
---|
| 828 | <DL> |
---|
| 829 | <DD>Removes all contents of temporary storage. Called upon |
---|
| 830 | startup, to remove any leftovers from previous run. |
---|
| 831 | <P> |
---|
| 832 | <DD><DL> |
---|
| 833 | </DL> |
---|
| 834 | </DD> |
---|
| 835 | <DD><DL> |
---|
| 836 | |
---|
| 837 | <DT><B>Throws:</B> |
---|
| 838 | <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> |
---|
| 839 | </DD> |
---|
| 840 | </DL> |
---|
| 841 | <HR> |
---|
| 842 | |
---|
| 843 | <A NAME="shutdown()"><!-- --></A><H3> |
---|
| 844 | shutdown</H3> |
---|
| 845 | <PRE> |
---|
| 846 | public void <B>shutdown</B>() |
---|
| 847 | 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> |
---|
| 848 | <DL> |
---|
| 849 | <DD><DL> |
---|
| 850 | </DL> |
---|
| 851 | </DD> |
---|
| 852 | <DD><DL> |
---|
| 853 | |
---|
| 854 | <DT><B>Throws:</B> |
---|
| 855 | <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> |
---|
| 856 | </DD> |
---|
| 857 | </DL> |
---|
| 858 | <HR> |
---|
| 859 | |
---|
| 860 | <A NAME="close()"><!-- --></A><H3> |
---|
| 861 | close</H3> |
---|
| 862 | <PRE> |
---|
| 863 | public void <B>close</B>() |
---|
| 864 | 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> |
---|
| 865 | <DL> |
---|
| 866 | <DD>Close down the TaskTracker and all its components. We must also shutdown |
---|
| 867 | any running tasks or threads, and cleanup disk space. A new TaskTracker |
---|
| 868 | within the same process space might be restarted, so everything must be |
---|
| 869 | clean. |
---|
| 870 | <P> |
---|
| 871 | <DD><DL> |
---|
| 872 | </DL> |
---|
| 873 | </DD> |
---|
| 874 | <DD><DL> |
---|
| 875 | |
---|
| 876 | <DT><B>Throws:</B> |
---|
| 877 | <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> |
---|
| 878 | </DD> |
---|
| 879 | </DL> |
---|
| 880 | <HR> |
---|
| 881 | |
---|
| 882 | <A NAME="getJobClient()"><!-- --></A><H3> |
---|
| 883 | getJobClient</H3> |
---|
| 884 | <PRE> |
---|
| 885 | public org.apache.hadoop.mapred.InterTrackerProtocol <B>getJobClient</B>()</PRE> |
---|
| 886 | <DL> |
---|
| 887 | <DD>The connection to the JobTracker, used by the TaskRunner |
---|
| 888 | for locating remote files. |
---|
| 889 | <P> |
---|
| 890 | <DD><DL> |
---|
| 891 | </DL> |
---|
| 892 | </DD> |
---|
| 893 | <DD><DL> |
---|
| 894 | </DL> |
---|
| 895 | </DD> |
---|
| 896 | </DL> |
---|
| 897 | <HR> |
---|
| 898 | |
---|
| 899 | <A NAME="getTaskTrackerReportAddress()"><!-- --></A><H3> |
---|
| 900 | getTaskTrackerReportAddress</H3> |
---|
| 901 | <PRE> |
---|
| 902 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</A> <B>getTaskTrackerReportAddress</B>()</PRE> |
---|
| 903 | <DL> |
---|
| 904 | <DD>Return the port at which the tasktracker bound to |
---|
| 905 | <P> |
---|
| 906 | <DD><DL> |
---|
| 907 | </DL> |
---|
| 908 | </DD> |
---|
| 909 | <DD><DL> |
---|
| 910 | </DL> |
---|
| 911 | </DD> |
---|
| 912 | </DL> |
---|
| 913 | <HR> |
---|
| 914 | |
---|
| 915 | <A NAME="getJvmManagerInstance()"><!-- --></A><H3> |
---|
| 916 | getJvmManagerInstance</H3> |
---|
| 917 | <PRE> |
---|
| 918 | public org.apache.hadoop.mapred.JvmManager <B>getJvmManagerInstance</B>()</PRE> |
---|
| 919 | <DL> |
---|
| 920 | <DD><DL> |
---|
| 921 | </DL> |
---|
| 922 | </DD> |
---|
| 923 | <DD><DL> |
---|
| 924 | </DL> |
---|
| 925 | </DD> |
---|
| 926 | </DL> |
---|
| 927 | <HR> |
---|
| 928 | |
---|
| 929 | <A NAME="run()"><!-- --></A><H3> |
---|
| 930 | run</H3> |
---|
| 931 | <PRE> |
---|
| 932 | public void <B>run</B>()</PRE> |
---|
| 933 | <DL> |
---|
| 934 | <DD>The server retry loop. |
---|
| 935 | This while-loop attempts to connect to the JobTracker. It only |
---|
| 936 | loops when the old TaskTracker has gone bad (its state is |
---|
| 937 | stale somehow) and we need to reinitialize everything. |
---|
| 938 | <P> |
---|
| 939 | <DD><DL> |
---|
| 940 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true#run()" title="class or interface in java.lang">run</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A></CODE></DL> |
---|
| 941 | </DD> |
---|
| 942 | <DD><DL> |
---|
| 943 | </DL> |
---|
| 944 | </DD> |
---|
| 945 | </DL> |
---|
| 946 | <HR> |
---|
| 947 | |
---|
| 948 | <A NAME="getTask(org.apache.hadoop.mapred.JVMId)"><!-- --></A><H3> |
---|
| 949 | getTask</H3> |
---|
| 950 | <PRE> |
---|
| 951 | public org.apache.hadoop.mapred.JvmTask <B>getTask</B>(org.apache.hadoop.mapred.JVMId jvmId) |
---|
| 952 | 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> |
---|
| 953 | <DL> |
---|
| 954 | <DD>Called upon startup by the child process, to fetch Task data. |
---|
| 955 | <P> |
---|
| 956 | <DD><DL> |
---|
| 957 | </DL> |
---|
| 958 | </DD> |
---|
| 959 | <DD><DL> |
---|
| 960 | <DT><B>Parameters:</B><DD><CODE>jvmId</CODE> - the ID of this JVM w.r.t the tasktracker that launched it |
---|
| 961 | <DT><B>Returns:</B><DD>Task object |
---|
| 962 | <DT><B>Throws:</B> |
---|
| 963 | <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> |
---|
| 964 | </DD> |
---|
| 965 | </DL> |
---|
| 966 | <HR> |
---|
| 967 | |
---|
| 968 | <A NAME="statusUpdate(org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.TaskStatus)"><!-- --></A><H3> |
---|
| 969 | statusUpdate</H3> |
---|
| 970 | <PRE> |
---|
| 971 | public boolean <B>statusUpdate</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 972 | org.apache.hadoop.mapred.TaskStatus taskStatus) |
---|
| 973 | 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> |
---|
| 974 | <DL> |
---|
| 975 | <DD>Called periodically to report Task progress, from 0.0 to 1.0. |
---|
| 976 | <P> |
---|
| 977 | <DD><DL> |
---|
| 978 | </DL> |
---|
| 979 | </DD> |
---|
| 980 | <DD><DL> |
---|
| 981 | <DT><B>Parameters:</B><DD><CODE>taskid</CODE> - task-id of the child<DD><CODE>taskStatus</CODE> - status of the child |
---|
| 982 | <DT><B>Returns:</B><DD>True if the task is known |
---|
| 983 | <DT><B>Throws:</B> |
---|
| 984 | <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> |
---|
| 985 | </DD> |
---|
| 986 | </DL> |
---|
| 987 | <HR> |
---|
| 988 | |
---|
| 989 | <A NAME="reportDiagnosticInfo(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)"><!-- --></A><H3> |
---|
| 990 | reportDiagnosticInfo</H3> |
---|
| 991 | <PRE> |
---|
| 992 | public void <B>reportDiagnosticInfo</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 993 | <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> info) |
---|
| 994 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 995 | <DL> |
---|
| 996 | <DD>Called when the task dies before completion, and we want to report back |
---|
| 997 | diagnostic info |
---|
| 998 | <P> |
---|
| 999 | <DD><DL> |
---|
| 1000 | </DL> |
---|
| 1001 | </DD> |
---|
| 1002 | <DD><DL> |
---|
| 1003 | <DT><B>Parameters:</B><DD><CODE>taskid</CODE> - the id of the task involved<DD><CODE>info</CODE> - the text to report |
---|
| 1004 | <DT><B>Throws:</B> |
---|
| 1005 | <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> |
---|
| 1006 | </DD> |
---|
| 1007 | </DL> |
---|
| 1008 | <HR> |
---|
| 1009 | |
---|
| 1010 | <A NAME="reportNextRecordRange(org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.SortedRanges.Range)"><!-- --></A><H3> |
---|
| 1011 | reportNextRecordRange</H3> |
---|
| 1012 | <PRE> |
---|
| 1013 | public void <B>reportNextRecordRange</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 1014 | org.apache.hadoop.mapred.SortedRanges.Range range) |
---|
| 1015 | 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> |
---|
| 1016 | <DL> |
---|
| 1017 | <DD>Report the record range which is going to process next by the Task. |
---|
| 1018 | <P> |
---|
| 1019 | <DD><DL> |
---|
| 1020 | </DL> |
---|
| 1021 | </DD> |
---|
| 1022 | <DD><DL> |
---|
| 1023 | <DT><B>Parameters:</B><DD><CODE>taskid</CODE> - the id of the task involved<DD><CODE>range</CODE> - the range of record sequence nos |
---|
| 1024 | <DT><B>Throws:</B> |
---|
| 1025 | <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> |
---|
| 1026 | </DD> |
---|
| 1027 | </DL> |
---|
| 1028 | <HR> |
---|
| 1029 | |
---|
| 1030 | <A NAME="ping(org.apache.hadoop.mapred.TaskAttemptID)"><!-- --></A><H3> |
---|
| 1031 | ping</H3> |
---|
| 1032 | <PRE> |
---|
| 1033 | public boolean <B>ping</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid) |
---|
| 1034 | 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> |
---|
| 1035 | <DL> |
---|
| 1036 | <DD>Child checking to see if we're alive. Normally does nothing. |
---|
| 1037 | <P> |
---|
| 1038 | <DD><DL> |
---|
| 1039 | </DL> |
---|
| 1040 | </DD> |
---|
| 1041 | <DD><DL> |
---|
| 1042 | |
---|
| 1043 | <DT><B>Returns:</B><DD>True if the task is known |
---|
| 1044 | <DT><B>Throws:</B> |
---|
| 1045 | <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> |
---|
| 1046 | </DD> |
---|
| 1047 | </DL> |
---|
| 1048 | <HR> |
---|
| 1049 | |
---|
| 1050 | <A NAME="commitPending(org.apache.hadoop.mapred.TaskAttemptID, org.apache.hadoop.mapred.TaskStatus)"><!-- --></A><H3> |
---|
| 1051 | commitPending</H3> |
---|
| 1052 | <PRE> |
---|
| 1053 | public void <B>commitPending</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 1054 | org.apache.hadoop.mapred.TaskStatus taskStatus) |
---|
| 1055 | 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> |
---|
| 1056 | <DL> |
---|
| 1057 | <DD>Task is reporting that it is in commit_pending |
---|
| 1058 | and it is waiting for the commit Response |
---|
| 1059 | <P> |
---|
| 1060 | <DD><DL> |
---|
| 1061 | </DL> |
---|
| 1062 | </DD> |
---|
| 1063 | <DD><DL> |
---|
| 1064 | <DT><B>Parameters:</B><DD><CODE>taskid</CODE> - task's id<DD><CODE>taskStatus</CODE> - status of the child |
---|
| 1065 | <DT><B>Throws:</B> |
---|
| 1066 | <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> |
---|
| 1067 | </DD> |
---|
| 1068 | </DL> |
---|
| 1069 | <HR> |
---|
| 1070 | |
---|
| 1071 | <A NAME="canCommit(org.apache.hadoop.mapred.TaskAttemptID)"><!-- --></A><H3> |
---|
| 1072 | canCommit</H3> |
---|
| 1073 | <PRE> |
---|
| 1074 | public boolean <B>canCommit</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid)</PRE> |
---|
| 1075 | <DL> |
---|
| 1076 | <DD>Child checking whether it can commit |
---|
| 1077 | <P> |
---|
| 1078 | <DD><DL> |
---|
| 1079 | </DL> |
---|
| 1080 | </DD> |
---|
| 1081 | <DD><DL> |
---|
| 1082 | |
---|
| 1083 | <DT><B>Returns:</B><DD>true/false</DL> |
---|
| 1084 | </DD> |
---|
| 1085 | </DL> |
---|
| 1086 | <HR> |
---|
| 1087 | |
---|
| 1088 | <A NAME="done(org.apache.hadoop.mapred.TaskAttemptID)"><!-- --></A><H3> |
---|
| 1089 | done</H3> |
---|
| 1090 | <PRE> |
---|
| 1091 | public void <B>done</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid) |
---|
| 1092 | 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> |
---|
| 1093 | <DL> |
---|
| 1094 | <DD>The task is done. |
---|
| 1095 | <P> |
---|
| 1096 | <DD><DL> |
---|
| 1097 | </DL> |
---|
| 1098 | </DD> |
---|
| 1099 | <DD><DL> |
---|
| 1100 | <DT><B>Parameters:</B><DD><CODE>taskid</CODE> - task's id |
---|
| 1101 | <DT><B>Throws:</B> |
---|
| 1102 | <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> |
---|
| 1103 | </DD> |
---|
| 1104 | </DL> |
---|
| 1105 | <HR> |
---|
| 1106 | |
---|
| 1107 | <A NAME="shuffleError(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)"><!-- --></A><H3> |
---|
| 1108 | shuffleError</H3> |
---|
| 1109 | <PRE> |
---|
| 1110 | public void <B>shuffleError</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskId, |
---|
| 1111 | <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> message) |
---|
| 1112 | 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> |
---|
| 1113 | <DL> |
---|
| 1114 | <DD>A reduce-task failed to shuffle the map-outputs. Kill the task. |
---|
| 1115 | <P> |
---|
| 1116 | <DD><DL> |
---|
| 1117 | </DL> |
---|
| 1118 | </DD> |
---|
| 1119 | <DD><DL> |
---|
| 1120 | |
---|
| 1121 | <DT><B>Throws:</B> |
---|
| 1122 | <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> |
---|
| 1123 | </DD> |
---|
| 1124 | </DL> |
---|
| 1125 | <HR> |
---|
| 1126 | |
---|
| 1127 | <A NAME="fsError(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)"><!-- --></A><H3> |
---|
| 1128 | fsError</H3> |
---|
| 1129 | <PRE> |
---|
| 1130 | public void <B>fsError</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskId, |
---|
| 1131 | <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> message) |
---|
| 1132 | 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> |
---|
| 1133 | <DL> |
---|
| 1134 | <DD>A child task had a local filesystem error. Kill the task. |
---|
| 1135 | <P> |
---|
| 1136 | <DD><DL> |
---|
| 1137 | </DL> |
---|
| 1138 | </DD> |
---|
| 1139 | <DD><DL> |
---|
| 1140 | |
---|
| 1141 | <DT><B>Throws:</B> |
---|
| 1142 | <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> |
---|
| 1143 | </DD> |
---|
| 1144 | </DL> |
---|
| 1145 | <HR> |
---|
| 1146 | |
---|
| 1147 | <A NAME="fatalError(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)"><!-- --></A><H3> |
---|
| 1148 | fatalError</H3> |
---|
| 1149 | <PRE> |
---|
| 1150 | public void <B>fatalError</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskId, |
---|
| 1151 | <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> msg) |
---|
| 1152 | 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> |
---|
| 1153 | <DL> |
---|
| 1154 | <DD>A child task had a fatal error. Kill the task. |
---|
| 1155 | <P> |
---|
| 1156 | <DD><DL> |
---|
| 1157 | </DL> |
---|
| 1158 | </DD> |
---|
| 1159 | <DD><DL> |
---|
| 1160 | |
---|
| 1161 | <DT><B>Throws:</B> |
---|
| 1162 | <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> |
---|
| 1163 | </DD> |
---|
| 1164 | </DL> |
---|
| 1165 | <HR> |
---|
| 1166 | |
---|
| 1167 | <A NAME="getMapCompletionEvents(org.apache.hadoop.mapred.JobID, int, int, org.apache.hadoop.mapred.TaskAttemptID)"><!-- --></A><H3> |
---|
| 1168 | getMapCompletionEvents</H3> |
---|
| 1169 | <PRE> |
---|
| 1170 | public org.apache.hadoop.mapred.MapTaskCompletionEventsUpdate <B>getMapCompletionEvents</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> jobId, |
---|
| 1171 | int fromEventId, |
---|
| 1172 | int maxLocs, |
---|
| 1173 | <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> id) |
---|
| 1174 | 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> |
---|
| 1175 | <DL> |
---|
| 1176 | <DD>Called by a reduce task to get the map output locations for finished maps. |
---|
| 1177 | Returns an update centered around the map-task-completion-events. |
---|
| 1178 | The update also piggybacks the information whether the events copy at the |
---|
| 1179 | task-tracker has changed or not. This will trigger some action at the |
---|
| 1180 | child-process. |
---|
| 1181 | <P> |
---|
| 1182 | <DD><DL> |
---|
| 1183 | </DL> |
---|
| 1184 | </DD> |
---|
| 1185 | <DD><DL> |
---|
| 1186 | <DD><CODE>fromEventId</CODE> - the index starting from which the locations should be |
---|
| 1187 | fetched<DD><CODE>maxLocs</CODE> - the max number of locations to fetch<DD><CODE>id</CODE> - The attempt id of the task that is trying to communicate |
---|
| 1188 | <DT><B>Returns:</B><DD>A <CODE>MapTaskCompletionEventsUpdate</CODE> |
---|
| 1189 | <DT><B>Throws:</B> |
---|
| 1190 | <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> |
---|
| 1191 | </DD> |
---|
| 1192 | </DL> |
---|
| 1193 | <HR> |
---|
| 1194 | |
---|
| 1195 | <A NAME="mapOutputLost(org.apache.hadoop.mapred.TaskAttemptID, java.lang.String)"><!-- --></A><H3> |
---|
| 1196 | mapOutputLost</H3> |
---|
| 1197 | <PRE> |
---|
| 1198 | public void <B>mapOutputLost</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> taskid, |
---|
| 1199 | <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> errorMsg) |
---|
| 1200 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 1201 | <DL> |
---|
| 1202 | <DD>A completed map task's output has been lost. |
---|
| 1203 | <P> |
---|
| 1204 | <DD><DL> |
---|
| 1205 | </DL> |
---|
| 1206 | </DD> |
---|
| 1207 | <DD><DL> |
---|
| 1208 | |
---|
| 1209 | <DT><B>Throws:</B> |
---|
| 1210 | <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> |
---|
| 1211 | </DD> |
---|
| 1212 | </DL> |
---|
| 1213 | <HR> |
---|
| 1214 | |
---|
| 1215 | <A NAME="isIdle()"><!-- --></A><H3> |
---|
| 1216 | isIdle</H3> |
---|
| 1217 | <PRE> |
---|
| 1218 | public boolean <B>isIdle</B>()</PRE> |
---|
| 1219 | <DL> |
---|
| 1220 | <DD>Is this task tracker idle? |
---|
| 1221 | <P> |
---|
| 1222 | <DD><DL> |
---|
| 1223 | </DL> |
---|
| 1224 | </DD> |
---|
| 1225 | <DD><DL> |
---|
| 1226 | |
---|
| 1227 | <DT><B>Returns:</B><DD>has this task tracker finished and cleaned up all of its tasks?</DL> |
---|
| 1228 | </DD> |
---|
| 1229 | </DL> |
---|
| 1230 | <HR> |
---|
| 1231 | |
---|
| 1232 | <A NAME="main(java.lang.String[])"><!-- --></A><H3> |
---|
| 1233 | main</H3> |
---|
| 1234 | <PRE> |
---|
| 1235 | public static void <B>main</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] argv) |
---|
| 1236 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 1237 | <DL> |
---|
| 1238 | <DD>Start the TaskTracker, point toward the indicated JobTracker |
---|
| 1239 | <P> |
---|
| 1240 | <DD><DL> |
---|
| 1241 | </DL> |
---|
| 1242 | </DD> |
---|
| 1243 | <DD><DL> |
---|
| 1244 | |
---|
| 1245 | <DT><B>Throws:</B> |
---|
| 1246 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 1247 | </DD> |
---|
| 1248 | </DL> |
---|
| 1249 | <HR> |
---|
| 1250 | |
---|
| 1251 | <A NAME="isTaskMemoryManagerEnabled()"><!-- --></A><H3> |
---|
| 1252 | isTaskMemoryManagerEnabled</H3> |
---|
| 1253 | <PRE> |
---|
| 1254 | public boolean <B>isTaskMemoryManagerEnabled</B>()</PRE> |
---|
| 1255 | <DL> |
---|
| 1256 | <DD>Is the TaskMemoryManager Enabled on this system? |
---|
| 1257 | <P> |
---|
| 1258 | <DD><DL> |
---|
| 1259 | </DL> |
---|
| 1260 | </DD> |
---|
| 1261 | <DD><DL> |
---|
| 1262 | |
---|
| 1263 | <DT><B>Returns:</B><DD>true if enabled, false otherwise.</DL> |
---|
| 1264 | </DD> |
---|
| 1265 | </DL> |
---|
| 1266 | <HR> |
---|
| 1267 | |
---|
| 1268 | <A NAME="getTaskMemoryManager()"><!-- --></A><H3> |
---|
| 1269 | getTaskMemoryManager</H3> |
---|
| 1270 | <PRE> |
---|
| 1271 | public org.apache.hadoop.mapred.TaskMemoryManagerThread <B>getTaskMemoryManager</B>()</PRE> |
---|
| 1272 | <DL> |
---|
| 1273 | <DD><DL> |
---|
| 1274 | </DL> |
---|
| 1275 | </DD> |
---|
| 1276 | <DD><DL> |
---|
| 1277 | </DL> |
---|
| 1278 | </DD> |
---|
| 1279 | </DL> |
---|
| 1280 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 1281 | <HR> |
---|
| 1282 | |
---|
| 1283 | |
---|
| 1284 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 1285 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 1286 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 1287 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 1288 | <TR> |
---|
| 1289 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 1290 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 1291 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 1292 | <TR ALIGN="center" VALIGN="top"> |
---|
| 1293 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 1294 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 1295 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 1296 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TaskTracker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 1297 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 1298 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 1299 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 1300 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 1301 | </TR> |
---|
| 1302 | </TABLE> |
---|
| 1303 | </TD> |
---|
| 1304 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 1305 | </EM> |
---|
| 1306 | </TD> |
---|
| 1307 | </TR> |
---|
| 1308 | |
---|
| 1309 | <TR> |
---|
| 1310 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1311 | <A HREF="../../../../org/apache/hadoop/mapred/TaskReport.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 1312 | <A HREF="../../../../org/apache/hadoop/mapred/TaskTracker.MapOutputServlet.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 1313 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1314 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/TaskTracker.html" target="_top"><B>FRAMES</B></A> |
---|
| 1315 | <A HREF="TaskTracker.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 1316 | <SCRIPT type="text/javascript"> |
---|
| 1317 | <!-- |
---|
| 1318 | if(window==top) { |
---|
| 1319 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 1320 | } |
---|
| 1321 | //--> |
---|
| 1322 | </SCRIPT> |
---|
| 1323 | <NOSCRIPT> |
---|
| 1324 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 1325 | </NOSCRIPT> |
---|
| 1326 | |
---|
| 1327 | |
---|
| 1328 | </FONT></TD> |
---|
| 1329 | </TR> |
---|
| 1330 | <TR> |
---|
| 1331 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1332 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 1333 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1334 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 1335 | </TR> |
---|
| 1336 | </TABLE> |
---|
| 1337 | <A NAME="skip-navbar_bottom"></A> |
---|
| 1338 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 1339 | |
---|
| 1340 | <HR> |
---|
| 1341 | Copyright © 2009 The Apache Software Foundation |
---|
| 1342 | </BODY> |
---|
| 1343 | </HTML> |
---|