'Get the log lazily, trigger Oozie API call at the first access.'

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):]
