[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:58 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | Submitter (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="Submitter (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/Submitter.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 | PREV CLASS |
---|
| 59 | NEXT CLASS</FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/hadoop/mapred/pipes/Submitter.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="Submitter.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="#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.pipes</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class Submitter</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/conf/Configured.html" title="class in org.apache.hadoop.conf">org.apache.hadoop.conf.Configured</A> |
---|
| 97 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.pipes.Submitter</B> |
---|
| 98 | </PRE> |
---|
| 99 | <DL> |
---|
| 100 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</A>, <A HREF="../../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util">Tool</A></DD> |
---|
| 101 | </DL> |
---|
| 102 | <HR> |
---|
| 103 | <DL> |
---|
| 104 | <DT><PRE>public class <B>Submitter</B><DT>extends <A HREF="../../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">Configured</A><DT>implements <A HREF="../../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util">Tool</A></DL> |
---|
| 105 | </PRE> |
---|
| 106 | |
---|
| 107 | <P> |
---|
| 108 | The main entry point and job submitter. It may either be used as a command |
---|
| 109 | line-based or API-based method to launch Pipes jobs. |
---|
| 110 | <P> |
---|
| 111 | |
---|
| 112 | <P> |
---|
| 113 | <HR> |
---|
| 114 | |
---|
| 115 | <P> |
---|
| 116 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 117 | |
---|
| 118 | <A NAME="field_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>Field 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>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
---|
| 127 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#LOG">LOG</A></B></CODE> |
---|
| 128 | |
---|
| 129 | <BR> |
---|
| 130 | </TD> |
---|
| 131 | </TR> |
---|
| 132 | </TABLE> |
---|
| 133 | |
---|
| 134 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 135 | |
---|
| 136 | <A NAME="constructor_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>Constructor Summary</B></FONT></TH> |
---|
| 141 | </TR> |
---|
| 142 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 143 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#Submitter()">Submitter</A></B>()</CODE> |
---|
| 144 | |
---|
| 145 | <BR> |
---|
| 146 | </TD> |
---|
| 147 | </TR> |
---|
| 148 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 149 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#Submitter(org.apache.hadoop.conf.Configuration)">Submitter</A></B>(<A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</CODE> |
---|
| 150 | |
---|
| 151 | <BR> |
---|
| 152 | </TD> |
---|
| 153 | </TR> |
---|
| 154 | </TABLE> |
---|
| 155 | |
---|
| 156 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 157 | |
---|
| 158 | <A NAME="method_summary"><!-- --></A> |
---|
| 159 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 160 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 161 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 162 | <B>Method Summary</B></FONT></TH> |
---|
| 163 | </TR> |
---|
| 164 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 166 | <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> |
---|
| 167 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#getExecutable(org.apache.hadoop.mapred.JobConf)">getExecutable</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 168 | |
---|
| 169 | <BR> |
---|
| 170 | Get the URI of the application's executable.</TD> |
---|
| 171 | </TR> |
---|
| 172 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 174 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 175 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#getIsJavaMapper(org.apache.hadoop.mapred.JobConf)">getIsJavaMapper</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 176 | |
---|
| 177 | <BR> |
---|
| 178 | Check whether the job is using a Java Mapper.</TD> |
---|
| 179 | </TR> |
---|
| 180 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 182 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 183 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#getIsJavaRecordReader(org.apache.hadoop.mapred.JobConf)">getIsJavaRecordReader</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 184 | |
---|
| 185 | <BR> |
---|
| 186 | Check whether the job is using a Java RecordReader</TD> |
---|
| 187 | </TR> |
---|
| 188 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 190 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 191 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#getIsJavaRecordWriter(org.apache.hadoop.mapred.JobConf)">getIsJavaRecordWriter</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 192 | |
---|
| 193 | <BR> |
---|
| 194 | Will the reduce use a Java RecordWriter?</TD> |
---|
| 195 | </TR> |
---|
| 196 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 198 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 199 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#getIsJavaReducer(org.apache.hadoop.mapred.JobConf)">getIsJavaReducer</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 200 | |
---|
| 201 | <BR> |
---|
| 202 | Check whether the job is using a Java Reducer.</TD> |
---|
| 203 | </TR> |
---|
| 204 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 206 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 207 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#getKeepCommandFile(org.apache.hadoop.mapred.JobConf)">getKeepCommandFile</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 208 | |
---|
| 209 | <BR> |
---|
| 210 | Does the user want to keep the command file for debugging? If this is |
---|
| 211 | true, pipes will write a copy of the command data to a file in the |
---|
| 212 | task directory named "downlink.data", which may be used to run the C++ |
---|
| 213 | program under the debugger.</TD> |
---|
| 214 | </TR> |
---|
| 215 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 217 | <CODE>static <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
| 218 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#jobSubmit(org.apache.hadoop.mapred.JobConf)">jobSubmit</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 219 | |
---|
| 220 | <BR> |
---|
| 221 | Submit a job to the Map-Reduce framework.</TD> |
---|
| 222 | </TR> |
---|
| 223 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 225 | <CODE>static void</CODE></FONT></TD> |
---|
| 226 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.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>[] args)</CODE> |
---|
| 227 | |
---|
| 228 | <BR> |
---|
| 229 | Submit a pipes job based on the command line arguments.</TD> |
---|
| 230 | </TR> |
---|
| 231 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 233 | <CODE> int</CODE></FONT></TD> |
---|
| 234 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#run(java.lang.String[])">run</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>[] args)</CODE> |
---|
| 235 | |
---|
| 236 | <BR> |
---|
| 237 | Execute the command with the given arguments.</TD> |
---|
| 238 | </TR> |
---|
| 239 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 241 | <CODE>static <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
| 242 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#runJob(org.apache.hadoop.mapred.JobConf)">runJob</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 243 | |
---|
| 244 | <BR> |
---|
| 245 | Submit a job to the map/reduce cluster.</TD> |
---|
| 246 | </TR> |
---|
| 247 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 249 | <CODE>static void</CODE></FONT></TD> |
---|
| 250 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#setExecutable(org.apache.hadoop.mapred.JobConf, java.lang.String)">setExecutable</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 251 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> executable)</CODE> |
---|
| 252 | |
---|
| 253 | <BR> |
---|
| 254 | Set the URI for the application's executable.</TD> |
---|
| 255 | </TR> |
---|
| 256 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 258 | <CODE>static void</CODE></FONT></TD> |
---|
| 259 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#setIsJavaMapper(org.apache.hadoop.mapred.JobConf, boolean)">setIsJavaMapper</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 260 | boolean value)</CODE> |
---|
| 261 | |
---|
| 262 | <BR> |
---|
| 263 | Set whether the Mapper is written in Java.</TD> |
---|
| 264 | </TR> |
---|
| 265 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 266 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 267 | <CODE>static void</CODE></FONT></TD> |
---|
| 268 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#setIsJavaRecordReader(org.apache.hadoop.mapred.JobConf, boolean)">setIsJavaRecordReader</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 269 | boolean value)</CODE> |
---|
| 270 | |
---|
| 271 | <BR> |
---|
| 272 | Set whether the job is using a Java RecordReader.</TD> |
---|
| 273 | </TR> |
---|
| 274 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 275 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 276 | <CODE>static void</CODE></FONT></TD> |
---|
| 277 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#setIsJavaRecordWriter(org.apache.hadoop.mapred.JobConf, boolean)">setIsJavaRecordWriter</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 278 | boolean value)</CODE> |
---|
| 279 | |
---|
| 280 | <BR> |
---|
| 281 | Set whether the job will use a Java RecordWriter.</TD> |
---|
| 282 | </TR> |
---|
| 283 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 285 | <CODE>static void</CODE></FONT></TD> |
---|
| 286 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#setIsJavaReducer(org.apache.hadoop.mapred.JobConf, boolean)">setIsJavaReducer</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 287 | boolean value)</CODE> |
---|
| 288 | |
---|
| 289 | <BR> |
---|
| 290 | Set whether the Reducer is written in Java.</TD> |
---|
| 291 | </TR> |
---|
| 292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 294 | <CODE>static void</CODE></FONT></TD> |
---|
| 295 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#setKeepCommandFile(org.apache.hadoop.mapred.JobConf, boolean)">setKeepCommandFile</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 296 | boolean keep)</CODE> |
---|
| 297 | |
---|
| 298 | <BR> |
---|
| 299 | Set whether to keep the command file for debugging</TD> |
---|
| 300 | </TR> |
---|
| 301 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 303 | <CODE>static <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A></CODE></FONT></TD> |
---|
| 304 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#submitJob(org.apache.hadoop.mapred.JobConf)">submitJob</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</CODE> |
---|
| 305 | |
---|
| 306 | <BR> |
---|
| 307 | <B>Deprecated.</B> <I>Use <A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#runJob(org.apache.hadoop.mapred.JobConf)"><CODE>runJob(JobConf)</CODE></A></I></TD> |
---|
| 308 | </TR> |
---|
| 309 | </TABLE> |
---|
| 310 | <A NAME="methods_inherited_from_class_org.apache.hadoop.conf.Configured"><!-- --></A> |
---|
| 311 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 312 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 313 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.conf.<A HREF="../../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">Configured</A></B></TH> |
---|
| 314 | </TR> |
---|
| 315 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 316 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/conf/Configured.html#getConf()">getConf</A>, <A HREF="../../../../../org/apache/hadoop/conf/Configured.html#setConf(org.apache.hadoop.conf.Configuration)">setConf</A></CODE></TD> |
---|
| 317 | </TR> |
---|
| 318 | </TABLE> |
---|
| 319 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 320 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 321 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 322 | <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> |
---|
| 323 | </TR> |
---|
| 324 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 325 | <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> |
---|
| 326 | </TR> |
---|
| 327 | </TABLE> |
---|
| 328 | <A NAME="methods_inherited_from_class_org.apache.hadoop.conf.Configurable"><!-- --></A> |
---|
| 329 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 330 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 331 | <TH ALIGN="left"><B>Methods inherited from interface org.apache.hadoop.conf.<A HREF="../../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</A></B></TH> |
---|
| 332 | </TR> |
---|
| 333 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 334 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/conf/Configurable.html#getConf()">getConf</A>, <A HREF="../../../../../org/apache/hadoop/conf/Configurable.html#setConf(org.apache.hadoop.conf.Configuration)">setConf</A></CODE></TD> |
---|
| 335 | </TR> |
---|
| 336 | </TABLE> |
---|
| 337 | |
---|
| 338 | <P> |
---|
| 339 | |
---|
| 340 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 341 | |
---|
| 342 | <A NAME="field_detail"><!-- --></A> |
---|
| 343 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 344 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 345 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 346 | <B>Field Detail</B></FONT></TH> |
---|
| 347 | </TR> |
---|
| 348 | </TABLE> |
---|
| 349 | |
---|
| 350 | <A NAME="LOG"><!-- --></A><H3> |
---|
| 351 | LOG</H3> |
---|
| 352 | <PRE> |
---|
| 353 | protected static final org.apache.commons.logging.Log <B>LOG</B></PRE> |
---|
| 354 | <DL> |
---|
| 355 | <DL> |
---|
| 356 | </DL> |
---|
| 357 | </DL> |
---|
| 358 | |
---|
| 359 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 360 | |
---|
| 361 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 362 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 363 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 364 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 365 | <B>Constructor Detail</B></FONT></TH> |
---|
| 366 | </TR> |
---|
| 367 | </TABLE> |
---|
| 368 | |
---|
| 369 | <A NAME="Submitter()"><!-- --></A><H3> |
---|
| 370 | Submitter</H3> |
---|
| 371 | <PRE> |
---|
| 372 | public <B>Submitter</B>()</PRE> |
---|
| 373 | <DL> |
---|
| 374 | </DL> |
---|
| 375 | <HR> |
---|
| 376 | |
---|
| 377 | <A NAME="Submitter(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3> |
---|
| 378 | Submitter</H3> |
---|
| 379 | <PRE> |
---|
| 380 | public <B>Submitter</B>(<A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</PRE> |
---|
| 381 | <DL> |
---|
| 382 | </DL> |
---|
| 383 | |
---|
| 384 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 385 | |
---|
| 386 | <A NAME="method_detail"><!-- --></A> |
---|
| 387 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 388 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 389 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 390 | <B>Method Detail</B></FONT></TH> |
---|
| 391 | </TR> |
---|
| 392 | </TABLE> |
---|
| 393 | |
---|
| 394 | <A NAME="getExecutable(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 395 | getExecutable</H3> |
---|
| 396 | <PRE> |
---|
| 397 | 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>getExecutable</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</PRE> |
---|
| 398 | <DL> |
---|
| 399 | <DD>Get the URI of the application's executable. |
---|
| 400 | <P> |
---|
| 401 | <DD><DL> |
---|
| 402 | </DL> |
---|
| 403 | </DD> |
---|
| 404 | <DD><DL> |
---|
| 405 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - |
---|
| 406 | <DT><B>Returns:</B><DD>the URI where the application's executable is located</DL> |
---|
| 407 | </DD> |
---|
| 408 | </DL> |
---|
| 409 | <HR> |
---|
| 410 | |
---|
| 411 | <A NAME="setExecutable(org.apache.hadoop.mapred.JobConf, java.lang.String)"><!-- --></A><H3> |
---|
| 412 | setExecutable</H3> |
---|
| 413 | <PRE> |
---|
| 414 | public static void <B>setExecutable</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 415 | <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> executable)</PRE> |
---|
| 416 | <DL> |
---|
| 417 | <DD>Set the URI for the application's executable. Normally this is a hdfs: |
---|
| 418 | location. |
---|
| 419 | <P> |
---|
| 420 | <DD><DL> |
---|
| 421 | </DL> |
---|
| 422 | </DD> |
---|
| 423 | <DD><DL> |
---|
| 424 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - <DD><CODE>executable</CODE> - The URI of the application's executable.</DL> |
---|
| 425 | </DD> |
---|
| 426 | </DL> |
---|
| 427 | <HR> |
---|
| 428 | |
---|
| 429 | <A NAME="setIsJavaRecordReader(org.apache.hadoop.mapred.JobConf, boolean)"><!-- --></A><H3> |
---|
| 430 | setIsJavaRecordReader</H3> |
---|
| 431 | <PRE> |
---|
| 432 | public static void <B>setIsJavaRecordReader</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 433 | boolean value)</PRE> |
---|
| 434 | <DL> |
---|
| 435 | <DD>Set whether the job is using a Java RecordReader. |
---|
| 436 | <P> |
---|
| 437 | <DD><DL> |
---|
| 438 | </DL> |
---|
| 439 | </DD> |
---|
| 440 | <DD><DL> |
---|
| 441 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to modify<DD><CODE>value</CODE> - the new value</DL> |
---|
| 442 | </DD> |
---|
| 443 | </DL> |
---|
| 444 | <HR> |
---|
| 445 | |
---|
| 446 | <A NAME="getIsJavaRecordReader(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 447 | getIsJavaRecordReader</H3> |
---|
| 448 | <PRE> |
---|
| 449 | public static boolean <B>getIsJavaRecordReader</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</PRE> |
---|
| 450 | <DL> |
---|
| 451 | <DD>Check whether the job is using a Java RecordReader |
---|
| 452 | <P> |
---|
| 453 | <DD><DL> |
---|
| 454 | </DL> |
---|
| 455 | </DD> |
---|
| 456 | <DD><DL> |
---|
| 457 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to check |
---|
| 458 | <DT><B>Returns:</B><DD>is it a Java RecordReader?</DL> |
---|
| 459 | </DD> |
---|
| 460 | </DL> |
---|
| 461 | <HR> |
---|
| 462 | |
---|
| 463 | <A NAME="setIsJavaMapper(org.apache.hadoop.mapred.JobConf, boolean)"><!-- --></A><H3> |
---|
| 464 | setIsJavaMapper</H3> |
---|
| 465 | <PRE> |
---|
| 466 | public static void <B>setIsJavaMapper</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 467 | boolean value)</PRE> |
---|
| 468 | <DL> |
---|
| 469 | <DD>Set whether the Mapper is written in Java. |
---|
| 470 | <P> |
---|
| 471 | <DD><DL> |
---|
| 472 | </DL> |
---|
| 473 | </DD> |
---|
| 474 | <DD><DL> |
---|
| 475 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to modify<DD><CODE>value</CODE> - the new value</DL> |
---|
| 476 | </DD> |
---|
| 477 | </DL> |
---|
| 478 | <HR> |
---|
| 479 | |
---|
| 480 | <A NAME="getIsJavaMapper(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 481 | getIsJavaMapper</H3> |
---|
| 482 | <PRE> |
---|
| 483 | public static boolean <B>getIsJavaMapper</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</PRE> |
---|
| 484 | <DL> |
---|
| 485 | <DD>Check whether the job is using a Java Mapper. |
---|
| 486 | <P> |
---|
| 487 | <DD><DL> |
---|
| 488 | </DL> |
---|
| 489 | </DD> |
---|
| 490 | <DD><DL> |
---|
| 491 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to check |
---|
| 492 | <DT><B>Returns:</B><DD>is it a Java Mapper?</DL> |
---|
| 493 | </DD> |
---|
| 494 | </DL> |
---|
| 495 | <HR> |
---|
| 496 | |
---|
| 497 | <A NAME="setIsJavaReducer(org.apache.hadoop.mapred.JobConf, boolean)"><!-- --></A><H3> |
---|
| 498 | setIsJavaReducer</H3> |
---|
| 499 | <PRE> |
---|
| 500 | public static void <B>setIsJavaReducer</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 501 | boolean value)</PRE> |
---|
| 502 | <DL> |
---|
| 503 | <DD>Set whether the Reducer is written in Java. |
---|
| 504 | <P> |
---|
| 505 | <DD><DL> |
---|
| 506 | </DL> |
---|
| 507 | </DD> |
---|
| 508 | <DD><DL> |
---|
| 509 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to modify<DD><CODE>value</CODE> - the new value</DL> |
---|
| 510 | </DD> |
---|
| 511 | </DL> |
---|
| 512 | <HR> |
---|
| 513 | |
---|
| 514 | <A NAME="getIsJavaReducer(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 515 | getIsJavaReducer</H3> |
---|
| 516 | <PRE> |
---|
| 517 | public static boolean <B>getIsJavaReducer</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</PRE> |
---|
| 518 | <DL> |
---|
| 519 | <DD>Check whether the job is using a Java Reducer. |
---|
| 520 | <P> |
---|
| 521 | <DD><DL> |
---|
| 522 | </DL> |
---|
| 523 | </DD> |
---|
| 524 | <DD><DL> |
---|
| 525 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to check |
---|
| 526 | <DT><B>Returns:</B><DD>is it a Java Reducer?</DL> |
---|
| 527 | </DD> |
---|
| 528 | </DL> |
---|
| 529 | <HR> |
---|
| 530 | |
---|
| 531 | <A NAME="setIsJavaRecordWriter(org.apache.hadoop.mapred.JobConf, boolean)"><!-- --></A><H3> |
---|
| 532 | setIsJavaRecordWriter</H3> |
---|
| 533 | <PRE> |
---|
| 534 | public static void <B>setIsJavaRecordWriter</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 535 | boolean value)</PRE> |
---|
| 536 | <DL> |
---|
| 537 | <DD>Set whether the job will use a Java RecordWriter. |
---|
| 538 | <P> |
---|
| 539 | <DD><DL> |
---|
| 540 | </DL> |
---|
| 541 | </DD> |
---|
| 542 | <DD><DL> |
---|
| 543 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to modify<DD><CODE>value</CODE> - the new value to set</DL> |
---|
| 544 | </DD> |
---|
| 545 | </DL> |
---|
| 546 | <HR> |
---|
| 547 | |
---|
| 548 | <A NAME="getIsJavaRecordWriter(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 549 | getIsJavaRecordWriter</H3> |
---|
| 550 | <PRE> |
---|
| 551 | public static boolean <B>getIsJavaRecordWriter</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</PRE> |
---|
| 552 | <DL> |
---|
| 553 | <DD>Will the reduce use a Java RecordWriter? |
---|
| 554 | <P> |
---|
| 555 | <DD><DL> |
---|
| 556 | </DL> |
---|
| 557 | </DD> |
---|
| 558 | <DD><DL> |
---|
| 559 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to check |
---|
| 560 | <DT><B>Returns:</B><DD>true, if the output of the job will be written by Java</DL> |
---|
| 561 | </DD> |
---|
| 562 | </DL> |
---|
| 563 | <HR> |
---|
| 564 | |
---|
| 565 | <A NAME="getKeepCommandFile(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 566 | getKeepCommandFile</H3> |
---|
| 567 | <PRE> |
---|
| 568 | public static boolean <B>getKeepCommandFile</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf)</PRE> |
---|
| 569 | <DL> |
---|
| 570 | <DD>Does the user want to keep the command file for debugging? If this is |
---|
| 571 | true, pipes will write a copy of the command data to a file in the |
---|
| 572 | task directory named "downlink.data", which may be used to run the C++ |
---|
| 573 | program under the debugger. You probably also want to set |
---|
| 574 | JobConf.setKeepFailedTaskFiles(true) to keep the entire directory from |
---|
| 575 | being deleted. |
---|
| 576 | To run using the data file, set the environment variable |
---|
| 577 | "hadoop.pipes.command.file" to point to the file. |
---|
| 578 | <P> |
---|
| 579 | <DD><DL> |
---|
| 580 | </DL> |
---|
| 581 | </DD> |
---|
| 582 | <DD><DL> |
---|
| 583 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to check |
---|
| 584 | <DT><B>Returns:</B><DD>will the framework save the command file?</DL> |
---|
| 585 | </DD> |
---|
| 586 | </DL> |
---|
| 587 | <HR> |
---|
| 588 | |
---|
| 589 | <A NAME="setKeepCommandFile(org.apache.hadoop.mapred.JobConf, boolean)"><!-- --></A><H3> |
---|
| 590 | setKeepCommandFile</H3> |
---|
| 591 | <PRE> |
---|
| 592 | public static void <B>setKeepCommandFile</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
| 593 | boolean keep)</PRE> |
---|
| 594 | <DL> |
---|
| 595 | <DD>Set whether to keep the command file for debugging |
---|
| 596 | <P> |
---|
| 597 | <DD><DL> |
---|
| 598 | </DL> |
---|
| 599 | </DD> |
---|
| 600 | <DD><DL> |
---|
| 601 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to modify<DD><CODE>keep</CODE> - the new value</DL> |
---|
| 602 | </DD> |
---|
| 603 | </DL> |
---|
| 604 | <HR> |
---|
| 605 | |
---|
| 606 | <A NAME="submitJob(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 607 | submitJob</H3> |
---|
| 608 | <PRE> |
---|
| 609 | <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> |
---|
| 610 | </FONT>public static <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>submitJob</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf) |
---|
| 611 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 612 | <DL> |
---|
| 613 | <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../org/apache/hadoop/mapred/pipes/Submitter.html#runJob(org.apache.hadoop.mapred.JobConf)"><CODE>runJob(JobConf)</CODE></A></I> |
---|
| 614 | <P> |
---|
| 615 | <DD>Submit a job to the map/reduce cluster. All of the necessary modifications |
---|
| 616 | to the job to run under pipes are made to the configuration. |
---|
| 617 | <P> |
---|
| 618 | <DD><DL> |
---|
| 619 | </DL> |
---|
| 620 | </DD> |
---|
| 621 | <DD><DL> |
---|
| 622 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the job to submit to the cluster (MODIFIED) |
---|
| 623 | <DT><B>Throws:</B> |
---|
| 624 | <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> |
---|
| 625 | </DD> |
---|
| 626 | </DL> |
---|
| 627 | <HR> |
---|
| 628 | |
---|
| 629 | <A NAME="runJob(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 630 | runJob</H3> |
---|
| 631 | <PRE> |
---|
| 632 | public static <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>runJob</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf) |
---|
| 633 | 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> |
---|
| 634 | <DL> |
---|
| 635 | <DD>Submit a job to the map/reduce cluster. All of the necessary modifications |
---|
| 636 | to the job to run under pipes are made to the configuration. |
---|
| 637 | <P> |
---|
| 638 | <DD><DL> |
---|
| 639 | </DL> |
---|
| 640 | </DD> |
---|
| 641 | <DD><DL> |
---|
| 642 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the job to submit to the cluster (MODIFIED) |
---|
| 643 | <DT><B>Throws:</B> |
---|
| 644 | <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> |
---|
| 645 | </DD> |
---|
| 646 | </DL> |
---|
| 647 | <HR> |
---|
| 648 | |
---|
| 649 | <A NAME="jobSubmit(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 650 | jobSubmit</H3> |
---|
| 651 | <PRE> |
---|
| 652 | public static <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred">RunningJob</A> <B>jobSubmit</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf) |
---|
| 653 | 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> |
---|
| 654 | <DL> |
---|
| 655 | <DD>Submit a job to the Map-Reduce framework. |
---|
| 656 | This returns a handle to the <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> which can be used to track |
---|
| 657 | the running-job. |
---|
| 658 | <P> |
---|
| 659 | <DD><DL> |
---|
| 660 | </DL> |
---|
| 661 | </DD> |
---|
| 662 | <DD><DL> |
---|
| 663 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - the job configuration. |
---|
| 664 | <DT><B>Returns:</B><DD>a handle to the <A HREF="../../../../../org/apache/hadoop/mapred/RunningJob.html" title="interface in org.apache.hadoop.mapred"><CODE>RunningJob</CODE></A> which can be used to track the |
---|
| 665 | running-job. |
---|
| 666 | <DT><B>Throws:</B> |
---|
| 667 | <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> |
---|
| 668 | </DD> |
---|
| 669 | </DL> |
---|
| 670 | <HR> |
---|
| 671 | |
---|
| 672 | <A NAME="run(java.lang.String[])"><!-- --></A><H3> |
---|
| 673 | run</H3> |
---|
| 674 | <PRE> |
---|
| 675 | public int <B>run</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>[] args) |
---|
| 676 | 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> |
---|
| 677 | <DL> |
---|
| 678 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/hadoop/util/Tool.html#run(java.lang.String[])">Tool</A></CODE></B></DD> |
---|
| 679 | <DD>Execute the command with the given arguments. |
---|
| 680 | <P> |
---|
| 681 | <DD><DL> |
---|
| 682 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/util/Tool.html#run(java.lang.String[])">run</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/util/Tool.html" title="interface in org.apache.hadoop.util">Tool</A></CODE></DL> |
---|
| 683 | </DD> |
---|
| 684 | <DD><DL> |
---|
| 685 | <DT><B>Parameters:</B><DD><CODE>args</CODE> - command specific arguments. |
---|
| 686 | <DT><B>Returns:</B><DD>exit code. |
---|
| 687 | <DT><B>Throws:</B> |
---|
| 688 | <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> |
---|
| 689 | </DD> |
---|
| 690 | </DL> |
---|
| 691 | <HR> |
---|
| 692 | |
---|
| 693 | <A NAME="main(java.lang.String[])"><!-- --></A><H3> |
---|
| 694 | main</H3> |
---|
| 695 | <PRE> |
---|
| 696 | 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>[] args) |
---|
| 697 | 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> |
---|
| 698 | <DL> |
---|
| 699 | <DD>Submit a pipes job based on the command line arguments. |
---|
| 700 | <P> |
---|
| 701 | <DD><DL> |
---|
| 702 | </DL> |
---|
| 703 | </DD> |
---|
| 704 | <DD><DL> |
---|
| 705 | <DT><B>Parameters:</B><DD><CODE>args</CODE> - |
---|
| 706 | <DT><B>Throws:</B> |
---|
| 707 | <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> |
---|
| 708 | </DD> |
---|
| 709 | </DL> |
---|
| 710 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 711 | <HR> |
---|
| 712 | |
---|
| 713 | |
---|
| 714 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 715 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 716 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 717 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 718 | <TR> |
---|
| 719 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 720 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 721 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 722 | <TR ALIGN="center" VALIGN="top"> |
---|
| 723 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 724 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 725 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 726 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Submitter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 727 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 728 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 729 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 730 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 731 | </TR> |
---|
| 732 | </TABLE> |
---|
| 733 | </TD> |
---|
| 734 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 735 | </EM> |
---|
| 736 | </TD> |
---|
| 737 | </TR> |
---|
| 738 | |
---|
| 739 | <TR> |
---|
| 740 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 741 | PREV CLASS |
---|
| 742 | NEXT CLASS</FONT></TD> |
---|
| 743 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 744 | <A HREF="../../../../../index.html?org/apache/hadoop/mapred/pipes/Submitter.html" target="_top"><B>FRAMES</B></A> |
---|
| 745 | <A HREF="Submitter.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 746 | <SCRIPT type="text/javascript"> |
---|
| 747 | <!-- |
---|
| 748 | if(window==top) { |
---|
| 749 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 750 | } |
---|
| 751 | //--> |
---|
| 752 | </SCRIPT> |
---|
| 753 | <NOSCRIPT> |
---|
| 754 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 755 | </NOSCRIPT> |
---|
| 756 | |
---|
| 757 | |
---|
| 758 | </FONT></TD> |
---|
| 759 | </TR> |
---|
| 760 | <TR> |
---|
| 761 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 762 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 763 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 764 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 765 | </TR> |
---|
| 766 | </TABLE> |
---|
| 767 | <A NAME="skip-navbar_bottom"></A> |
---|
| 768 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 769 | |
---|
| 770 | <HR> |
---|
| 771 | Copyright © 2009 The Apache Software Foundation |
---|
| 772 | </BODY> |
---|
| 773 | </HTML> |
---|