Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/c/i/ciel-HEAD/src/python/ciel/runtime/master/recovery.py   ciel(Download)
import os
import simplejson
from ciel.runtime.master.job_pool import RECORD_HEADER_STRUCT,\
    Job, JOB_ACTIVE, JOB_RECOVERED
from ciel.runtime.task import build_taskpool_task_from_descriptor
                # FIXME: Get the job pool to create this job, because it has access to the scheduler queue and task failure investigator.
                # FIXME: Store job options somewhere for recovered job.
                job = Job(job_id, root_task, job_dir, JOB_RECOVERED, self.job_pool, {}, journal=False)
 
                root_task.job = job