/**
  * 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
 @Override
 public String getUserName() {
   return jobIndexInfo.getUser();
 }