コード例 #1
0
 /**
  * Parse a job from the JobHistoryFile, if the underlying file is not going to be deleted.
  *
  * @return the Job or null if the underlying file was deleted.
  * @throws IOException if there is an error trying to read the file.
  */
 public synchronized Job loadJob() throws IOException {
   return new CompletedJob(
       conf, jobIndexInfo.getJobId(), historyFile, false, jobIndexInfo.getUser(), this, aclsMgr);
 }
コード例 #2
0
ファイル: PartialJob.java プロジェクト: hellotod/HadoopLung
 @Override
 public String getUserName() {
   return jobIndexInfo.getUser();
 }