code: public static void parseJobTasks(String jobHistoryFile, 
                         JobHistory.JobInfo job, FileSystem fs)
      throws IOException {
      JobHistory.parseHistoryFromFS(jobHistoryFile, 
                              new JobTasksParseListener(job), fs);
    }
docs: Populates a JobInfo object from the job's history log file.
  @param jobHistoryFile history file for this job.
  @param job a precreated JobInfo object, should be non-null.
  @param fs FileSystem where historyFile is present.
  @throws IOException