def _get_log(self):
    if self._log is None:
      self._log = self._api.get_job_log(self.id)
    return self._log[-Job.MAX_LOG_SIZE:]
Get the log lazily, trigger Oozie API call at the first access.
dataset/ETHPy150Open cloudera/hue/desktop/libs/liboozie/src/liboozie/types.py/Job._get_log