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 | TaskAttemptID (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="TaskAttemptID (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/TaskAttemptID.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/TaskAttemptContext.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/mapred/TaskCompletionEvent.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/TaskAttemptID.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="TaskAttemptID.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.hadoop.mapreduce.TaskAttemptID">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: 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 TaskAttemptID</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/mapreduce/ID.html" title="class in org.apache.hadoop.mapreduce">org.apache.hadoop.mapreduce.ID</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/hadoop/mapred/ID.html" title="class in org.apache.hadoop.mapred">org.apache.hadoop.mapred.ID</A> |
---|
98 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">org.apache.hadoop.mapreduce.TaskAttemptID</A> |
---|
99 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.TaskAttemptID</B> |
---|
100 | </PRE> |
---|
101 | <DL> |
---|
102 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../org/apache/hadoop/mapreduce/ID.html" title="class in org.apache.hadoop.mapreduce">ID</A>>, <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="../../../../org/apache/hadoop/io/WritableComparable.html" title="interface in org.apache.hadoop.io">WritableComparable</A><<A HREF="../../../../org/apache/hadoop/mapreduce/ID.html" title="class in org.apache.hadoop.mapreduce">ID</A>></DD> |
---|
103 | </DL> |
---|
104 | <HR> |
---|
105 | <B>Deprecated.</B> |
---|
106 | <P> |
---|
107 | <DL> |
---|
108 | <DT><PRE><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> |
---|
109 | </FONT>public class <B>TaskAttemptID</B><DT>extends <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A></DL> |
---|
110 | </PRE> |
---|
111 | |
---|
112 | <P> |
---|
113 | TaskAttemptID represents the immutable and unique identifier for |
---|
114 | a task attempt. Each task attempt is one particular instance of a Map or |
---|
115 | Reduce Task identified by its TaskID. |
---|
116 | |
---|
117 | TaskAttemptID consists of 2 parts. First part is the |
---|
118 | <A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred"><CODE>TaskID</CODE></A>, that this TaskAttemptID belongs to. |
---|
119 | Second part is the task attempt number. <br> |
---|
120 | An example TaskAttemptID is : |
---|
121 | <code>attempt_200707121733_0003_m_000005_0</code> , which represents the |
---|
122 | zeroth task attempt for the fifth map task in the third job |
---|
123 | running at the jobtracker started at <code>200707121733</code>. |
---|
124 | <p> |
---|
125 | Applications should never construct or parse TaskAttemptID strings |
---|
126 | , but rather use appropriate constructors or <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#forName(java.lang.String)"><CODE>forName(String)</CODE></A> |
---|
127 | method. |
---|
128 | <P> |
---|
129 | |
---|
130 | <P> |
---|
131 | <DL> |
---|
132 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred"><CODE>JobID</CODE></A>, |
---|
133 | <A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred"><CODE>TaskID</CODE></A></DL> |
---|
134 | <HR> |
---|
135 | |
---|
136 | <P> |
---|
137 | <!-- =========== FIELD SUMMARY =========== --> |
---|
138 | |
---|
139 | <A NAME="field_summary"><!-- --></A> |
---|
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
142 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
143 | <B>Field Summary</B></FONT></TH> |
---|
144 | </TR> |
---|
145 | </TABLE> |
---|
146 | <A NAME="fields_inherited_from_class_org.apache.hadoop.mapreduce.TaskAttemptID"><!-- --></A> |
---|
147 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
148 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
149 | <TH ALIGN="left"><B>Fields inherited from class org.apache.hadoop.mapreduce.<A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A></B></TH> |
---|
150 | </TR> |
---|
151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
152 | <TD><CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#ATTEMPT">ATTEMPT</A></CODE></TD> |
---|
153 | </TR> |
---|
154 | </TABLE> |
---|
155 | <A NAME="fields_inherited_from_class_org.apache.hadoop.mapreduce.ID"><!-- --></A> |
---|
156 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
157 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
158 | <TH ALIGN="left"><B>Fields inherited from class org.apache.hadoop.mapreduce.<A HREF="../../../../org/apache/hadoop/mapreduce/ID.html" title="class in org.apache.hadoop.mapreduce">ID</A></B></TH> |
---|
159 | </TR> |
---|
160 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
161 | <TD><CODE><A HREF="../../../../org/apache/hadoop/mapreduce/ID.html#id">id</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/ID.html#SEPARATOR">SEPARATOR</A></CODE></TD> |
---|
162 | </TR> |
---|
163 | </TABLE> |
---|
164 | |
---|
165 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
166 | |
---|
167 | <A NAME="constructor_summary"><!-- --></A> |
---|
168 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
169 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
170 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
171 | <B>Constructor Summary</B></FONT></TH> |
---|
172 | </TR> |
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
174 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#TaskAttemptID()">TaskAttemptID</A></B>()</CODE> |
---|
175 | |
---|
176 | <BR> |
---|
177 | <B>Deprecated.</B> </TD> |
---|
178 | </TR> |
---|
179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
180 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#TaskAttemptID(java.lang.String, int, boolean, int, int)">TaskAttemptID</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> jtIdentifier, |
---|
181 | int jobId, |
---|
182 | boolean isMap, |
---|
183 | int taskId, |
---|
184 | int id)</CODE> |
---|
185 | |
---|
186 | <BR> |
---|
187 | <B>Deprecated.</B> Constructs a TaskId object from given parts.</TD> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#TaskAttemptID(org.apache.hadoop.mapred.TaskID, int)">TaskAttemptID</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred">TaskID</A> taskId, |
---|
191 | int id)</CODE> |
---|
192 | |
---|
193 | <BR> |
---|
194 | <B>Deprecated.</B> Constructs a TaskAttemptID object from given <A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred"><CODE>TaskID</CODE></A>.</TD> |
---|
195 | </TR> |
---|
196 | </TABLE> |
---|
197 | |
---|
198 | <!-- ========== METHOD SUMMARY =========== --> |
---|
199 | |
---|
200 | <A NAME="method_summary"><!-- --></A> |
---|
201 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
202 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
203 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
204 | <B>Method Summary</B></FONT></TH> |
---|
205 | </TR> |
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
208 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A></CODE></FONT></TD> |
---|
209 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#downgrade(org.apache.hadoop.mapreduce.TaskAttemptID)">downgrade</A></B>(<A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A> old)</CODE> |
---|
210 | |
---|
211 | <BR> |
---|
212 | <B>Deprecated.</B> Downgrade a new TaskAttemptID to an old one</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="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A></CODE></FONT></TD> |
---|
217 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#forName(java.lang.String)">forName</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> str)</CODE> |
---|
218 | |
---|
219 | <BR> |
---|
220 | <B>Deprecated.</B> Construct a TaskAttemptID object from given string</TD> |
---|
221 | </TR> |
---|
222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
224 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A></CODE></FONT></TD> |
---|
225 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#getJobID()">getJobID</A></B>()</CODE> |
---|
226 | |
---|
227 | <BR> |
---|
228 | <B>Deprecated.</B> Returns the <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce"><CODE>JobID</CODE></A> object that this task attempt belongs to</TD> |
---|
229 | </TR> |
---|
230 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
232 | <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> |
---|
233 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#getTaskAttemptIDsPattern(java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Integer, java.lang.Integer)">getTaskAttemptIDsPattern</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> jtIdentifier, |
---|
234 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> jobId, |
---|
235 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> isMap, |
---|
236 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> taskId, |
---|
237 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> attemptId)</CODE> |
---|
238 | |
---|
239 | <BR> |
---|
240 | <B>Deprecated.</B> </TD> |
---|
241 | </TR> |
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
244 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred">TaskID</A></CODE></FONT></TD> |
---|
245 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#getTaskID()">getTaskID</A></B>()</CODE> |
---|
246 | |
---|
247 | <BR> |
---|
248 | <B>Deprecated.</B> Returns the <A HREF="../../../../org/apache/hadoop/mapreduce/TaskID.html" title="class in org.apache.hadoop.mapreduce"><CODE>TaskID</CODE></A> object that this task attempt belongs to</TD> |
---|
249 | </TR> |
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
252 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A></CODE></FONT></TD> |
---|
253 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html#read(java.io.DataInput)">read</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
254 | |
---|
255 | <BR> |
---|
256 | <B>Deprecated.</B> </TD> |
---|
257 | </TR> |
---|
258 | </TABLE> |
---|
259 | <A NAME="methods_inherited_from_class_org.apache.hadoop.mapreduce.TaskAttemptID"><!-- --></A> |
---|
260 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
261 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
262 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.mapreduce.<A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A></B></TH> |
---|
263 | </TR> |
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
265 | <TD><CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#appendTo(java.lang.StringBuilder)">appendTo</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#compareTo(org.apache.hadoop.mapreduce.ID)">compareTo</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#hashCode()">hashCode</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#isMap()">isMap</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#readFields(java.io.DataInput)">readFields</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#toString()">toString</A>, <A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#write(java.io.DataOutput)">write</A></CODE></TD> |
---|
266 | </TR> |
---|
267 | </TABLE> |
---|
268 | <A NAME="methods_inherited_from_class_org.apache.hadoop.mapreduce.ID"><!-- --></A> |
---|
269 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
270 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
271 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.mapreduce.<A HREF="../../../../org/apache/hadoop/mapreduce/ID.html" title="class in org.apache.hadoop.mapreduce">ID</A></B></TH> |
---|
272 | </TR> |
---|
273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
274 | <TD><CODE><A HREF="../../../../org/apache/hadoop/mapreduce/ID.html#getId()">getId</A></CODE></TD> |
---|
275 | </TR> |
---|
276 | </TABLE> |
---|
277 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
278 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
279 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
280 | <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> |
---|
281 | </TR> |
---|
282 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
283 | <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#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#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#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> |
---|
284 | </TR> |
---|
285 | </TABLE> |
---|
286 | |
---|
287 | <P> |
---|
288 | |
---|
289 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
290 | |
---|
291 | <A NAME="constructor_detail"><!-- --></A> |
---|
292 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
293 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
294 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
295 | <B>Constructor Detail</B></FONT></TH> |
---|
296 | </TR> |
---|
297 | </TABLE> |
---|
298 | |
---|
299 | <A NAME="TaskAttemptID(org.apache.hadoop.mapred.TaskID, int)"><!-- --></A><H3> |
---|
300 | TaskAttemptID</H3> |
---|
301 | <PRE> |
---|
302 | public <B>TaskAttemptID</B>(<A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred">TaskID</A> taskId, |
---|
303 | int id)</PRE> |
---|
304 | <DL> |
---|
305 | <DD><B>Deprecated.</B> <DD>Constructs a TaskAttemptID object from given <A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred"><CODE>TaskID</CODE></A>. |
---|
306 | <P> |
---|
307 | <DL> |
---|
308 | <DT><B>Parameters:</B><DD><CODE>taskId</CODE> - TaskID that this task belongs to<DD><CODE>id</CODE> - the task attempt number</DL> |
---|
309 | </DL> |
---|
310 | <HR> |
---|
311 | |
---|
312 | <A NAME="TaskAttemptID(java.lang.String, int, boolean, int, int)"><!-- --></A><H3> |
---|
313 | TaskAttemptID</H3> |
---|
314 | <PRE> |
---|
315 | public <B>TaskAttemptID</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> jtIdentifier, |
---|
316 | int jobId, |
---|
317 | boolean isMap, |
---|
318 | int taskId, |
---|
319 | int id)</PRE> |
---|
320 | <DL> |
---|
321 | <DD><B>Deprecated.</B> <DD>Constructs a TaskId object from given parts. |
---|
322 | <P> |
---|
323 | <DL> |
---|
324 | <DT><B>Parameters:</B><DD><CODE>jtIdentifier</CODE> - jobTracker identifier<DD><CODE>jobId</CODE> - job number<DD><CODE>isMap</CODE> - whether the tip is a map<DD><CODE>taskId</CODE> - taskId number<DD><CODE>id</CODE> - the task attempt number</DL> |
---|
325 | </DL> |
---|
326 | <HR> |
---|
327 | |
---|
328 | <A NAME="TaskAttemptID()"><!-- --></A><H3> |
---|
329 | TaskAttemptID</H3> |
---|
330 | <PRE> |
---|
331 | public <B>TaskAttemptID</B>()</PRE> |
---|
332 | <DL> |
---|
333 | <DD><B>Deprecated.</B> </DL> |
---|
334 | |
---|
335 | <!-- ============ METHOD DETAIL ========== --> |
---|
336 | |
---|
337 | <A NAME="method_detail"><!-- --></A> |
---|
338 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
339 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
340 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
341 | <B>Method Detail</B></FONT></TH> |
---|
342 | </TR> |
---|
343 | </TABLE> |
---|
344 | |
---|
345 | <A NAME="downgrade(org.apache.hadoop.mapreduce.TaskAttemptID)"><!-- --></A><H3> |
---|
346 | downgrade</H3> |
---|
347 | <PRE> |
---|
348 | public static <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> <B>downgrade</B>(<A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A> old)</PRE> |
---|
349 | <DL> |
---|
350 | <DD><B>Deprecated.</B> <DD>Downgrade a new TaskAttemptID to an old one |
---|
351 | <P> |
---|
352 | <DD><DL> |
---|
353 | <DT><B>Parameters:</B><DD><CODE>old</CODE> - the new id |
---|
354 | <DT><B>Returns:</B><DD>either old or a new TaskAttemptID constructed to match old</DL> |
---|
355 | </DD> |
---|
356 | </DL> |
---|
357 | <HR> |
---|
358 | |
---|
359 | <A NAME="getTaskID()"><!-- --></A><H3> |
---|
360 | getTaskID</H3> |
---|
361 | <PRE> |
---|
362 | public <A HREF="../../../../org/apache/hadoop/mapred/TaskID.html" title="class in org.apache.hadoop.mapred">TaskID</A> <B>getTaskID</B>()</PRE> |
---|
363 | <DL> |
---|
364 | <DD><B>Deprecated.</B> <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#getTaskID()">TaskAttemptID</A></CODE></B></DD> |
---|
365 | <DD>Returns the <A HREF="../../../../org/apache/hadoop/mapreduce/TaskID.html" title="class in org.apache.hadoop.mapreduce"><CODE>TaskID</CODE></A> object that this task attempt belongs to |
---|
366 | <P> |
---|
367 | <DD><DL> |
---|
368 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#getTaskID()">getTaskID</A></CODE> in class <CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A></CODE></DL> |
---|
369 | </DD> |
---|
370 | <DD><DL> |
---|
371 | </DL> |
---|
372 | </DD> |
---|
373 | </DL> |
---|
374 | <HR> |
---|
375 | |
---|
376 | <A NAME="getJobID()"><!-- --></A><H3> |
---|
377 | getJobID</H3> |
---|
378 | <PRE> |
---|
379 | public <A HREF="../../../../org/apache/hadoop/mapred/JobID.html" title="class in org.apache.hadoop.mapred">JobID</A> <B>getJobID</B>()</PRE> |
---|
380 | <DL> |
---|
381 | <DD><B>Deprecated.</B> <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#getJobID()">TaskAttemptID</A></CODE></B></DD> |
---|
382 | <DD>Returns the <A HREF="../../../../org/apache/hadoop/mapreduce/JobID.html" title="class in org.apache.hadoop.mapreduce"><CODE>JobID</CODE></A> object that this task attempt belongs to |
---|
383 | <P> |
---|
384 | <DD><DL> |
---|
385 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html#getJobID()">getJobID</A></CODE> in class <CODE><A HREF="../../../../org/apache/hadoop/mapreduce/TaskAttemptID.html" title="class in org.apache.hadoop.mapreduce">TaskAttemptID</A></CODE></DL> |
---|
386 | </DD> |
---|
387 | <DD><DL> |
---|
388 | </DL> |
---|
389 | </DD> |
---|
390 | </DL> |
---|
391 | <HR> |
---|
392 | |
---|
393 | <A NAME="read(java.io.DataInput)"><!-- --></A><H3> |
---|
394 | read</H3> |
---|
395 | <PRE> |
---|
396 | <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> |
---|
397 | </FONT>public static <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> <B>read</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
398 | 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> |
---|
399 | <DL> |
---|
400 | <DD><B>Deprecated.</B> |
---|
401 | <P> |
---|
402 | <DD><DL> |
---|
403 | |
---|
404 | <DT><B>Throws:</B> |
---|
405 | <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> |
---|
406 | </DD> |
---|
407 | </DL> |
---|
408 | <HR> |
---|
409 | |
---|
410 | <A NAME="forName(java.lang.String)"><!-- --></A><H3> |
---|
411 | forName</H3> |
---|
412 | <PRE> |
---|
413 | public static <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptID.html" title="class in org.apache.hadoop.mapred">TaskAttemptID</A> <B>forName</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> str) |
---|
414 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE> |
---|
415 | <DL> |
---|
416 | <DD><B>Deprecated.</B> <DD>Construct a TaskAttemptID object from given string |
---|
417 | <P> |
---|
418 | <DD><DL> |
---|
419 | |
---|
420 | <DT><B>Returns:</B><DD>constructed TaskAttemptID object or null if the given String is null |
---|
421 | <DT><B>Throws:</B> |
---|
422 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the given string is malformed</DL> |
---|
423 | </DD> |
---|
424 | </DL> |
---|
425 | <HR> |
---|
426 | |
---|
427 | <A NAME="getTaskAttemptIDsPattern(java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Integer, java.lang.Integer)"><!-- --></A><H3> |
---|
428 | getTaskAttemptIDsPattern</H3> |
---|
429 | <PRE> |
---|
430 | <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> |
---|
431 | </FONT>public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getTaskAttemptIDsPattern</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> jtIdentifier, |
---|
432 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> jobId, |
---|
433 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> isMap, |
---|
434 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> taskId, |
---|
435 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> attemptId)</PRE> |
---|
436 | <DL> |
---|
437 | <DD><B>Deprecated.</B> |
---|
438 | <P> |
---|
439 | <DD>Returns a regex pattern which matches task attempt IDs. Arguments can |
---|
440 | be given null, in which case that part of the regex will be generic. |
---|
441 | For example to obtain a regex matching <i>all task attempt IDs</i> |
---|
442 | of <i>any jobtracker</i>, in <i>any job</i>, of the <i>first |
---|
443 | map task</i>, we would use : |
---|
444 | <pre> |
---|
445 | TaskAttemptID.getTaskAttemptIDsPattern(null, null, true, 1, null); |
---|
446 | </pre> |
---|
447 | which will return : |
---|
448 | <pre> "attempt_[^_]*_[0-9]*_m_000001_[0-9]*" </pre> |
---|
449 | <P> |
---|
450 | <DD><DL> |
---|
451 | <DT><B>Parameters:</B><DD><CODE>jtIdentifier</CODE> - jobTracker identifier, or null<DD><CODE>jobId</CODE> - job number, or null<DD><CODE>isMap</CODE> - whether the tip is a map, or null<DD><CODE>taskId</CODE> - taskId number, or null<DD><CODE>attemptId</CODE> - the task attempt number, or null |
---|
452 | <DT><B>Returns:</B><DD>a regex pattern matching TaskAttemptIDs</DL> |
---|
453 | </DD> |
---|
454 | </DL> |
---|
455 | <!-- ========= END OF CLASS DATA ========= --> |
---|
456 | <HR> |
---|
457 | |
---|
458 | |
---|
459 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
460 | <A NAME="navbar_bottom"><!-- --></A> |
---|
461 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
462 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
463 | <TR> |
---|
464 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
465 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
466 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
467 | <TR ALIGN="center" VALIGN="top"> |
---|
468 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
469 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
470 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
471 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TaskAttemptID.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
472 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
473 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
474 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
475 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
476 | </TR> |
---|
477 | </TABLE> |
---|
478 | </TD> |
---|
479 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
480 | </EM> |
---|
481 | </TD> |
---|
482 | </TR> |
---|
483 | |
---|
484 | <TR> |
---|
485 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
486 | <A HREF="../../../../org/apache/hadoop/mapred/TaskAttemptContext.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
487 | <A HREF="../../../../org/apache/hadoop/mapred/TaskCompletionEvent.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
488 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
489 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/TaskAttemptID.html" target="_top"><B>FRAMES</B></A> |
---|
490 | <A HREF="TaskAttemptID.html" target="_top"><B>NO FRAMES</B></A> |
---|
491 | <SCRIPT type="text/javascript"> |
---|
492 | <!-- |
---|
493 | if(window==top) { |
---|
494 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
495 | } |
---|
496 | //--> |
---|
497 | </SCRIPT> |
---|
498 | <NOSCRIPT> |
---|
499 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
500 | </NOSCRIPT> |
---|
501 | |
---|
502 | |
---|
503 | </FONT></TD> |
---|
504 | </TR> |
---|
505 | <TR> |
---|
506 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
507 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.hadoop.mapreduce.TaskAttemptID">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
508 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
509 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
510 | </TR> |
---|
511 | </TABLE> |
---|
512 | <A NAME="skip-navbar_bottom"></A> |
---|
513 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
514 | |
---|
515 | <HR> |
---|
516 | Copyright © 2009 The Apache Software Foundation |
---|
517 | </BODY> |
---|
518 | </HTML> |
---|