code: public JobProfile readJobProfile(JobID jobId) {
      JobProfile jobProfile = null;
      if (active) {
        try {
          FSDataInputStream dataIn = getJobInfoFile(jobId);
          if (dataIn != null) {
            readJobStatus(dataIn);
            jobProfile = readJobProfile(dataIn);
            dataIn.close();
          }
        } catch (IOException ex) {
          LOG.warn("Could not read [" + jobId + "] job profile : " + ex, ex);
        }
      }
      return jobProfile;
    }
docs: This method retrieves JobProfile information from DFS stored using
  store method.
  
  @param jobId the jobId for which jobProfile is queried
  @return JobProfile object, null if not able to retrieve