List of usage examples for org.apache.hadoop.mapred JobStatus getJobName
public String getJobName()
From source file:co.cask.cdap.app.mapreduce.MRJobClient.java
License:Apache License
private JobStatus findJobForRunId(JobStatus[] jobs, Id.Run runId) throws NotFoundException { for (JobStatus job : jobs) { if (job.getJobName().startsWith(runId.getId())) { return job; }// w w w.ja v a 2 s .com } throw new NotFoundException(runId); }