List of usage examples for org.apache.hadoop.mapred.pipes Submitter jobSubmit
public static RunningJob jobSubmit(JobConf conf) throws IOException
From source file:org.apache.oozie.action.hadoop.PipesMain.java
License:Apache License
@Override protected RunningJob submitJob(JobConf jobConf) throws Exception { //propagate delegation related props from launcher job to MR job if (getFilePathFromEnv("HADOOP_TOKEN_FILE_LOCATION") != null) { jobConf.set("mapreduce.job.credentials.binary", getFilePathFromEnv("HADOOP_TOKEN_FILE_LOCATION")); }/*from w w w. ja va2 s . co m*/ return Submitter.jobSubmit(jobConf); }