Version

    Common Properties of Job Control

    Job Control is a group of components managing various job types - executing, monitoring and optionally aborting Graphs, jobflows and interpreted scripts. Most of these components are tightly bound with jobflow.

    All execution components ExecuteGraph, ExecuteJobflow, ExecuteProfilerJob, ExecuteScript and few other Job Control components have a similar approach to job execution management. Each of them has an optional input port.

    Each incoming token from this port is interpreted by an execution component and a respective job is started. Default execution settings are specified directly through various component attributes. These default settings can be overridden by values from incoming token - the Input mapping attribute specifies the override.

    Results of successful jobs are sent to the first output port and unsuccessful job runs are sent to the second output port. Content of these output tokens is defined in Output mapping and Error mapping.

    In case no input port is attached, only a single job is started with execution settings specified directly in component attributes. In case the first output port is not connected, job results are printed out to a log file. And finally in case the second output port is not connected, the first unsuccessful job causes a failure of a whole jobflow.

    The Redirect error output attribute can be used to route all successful and even unsuccessful job results to the first output port - Output mapping is used for all job executions.

    Below is an overview of all Job control components:

    Table 59.1. Job control Comparison

    ComponentSame input metadataSorted inputsInputsOutputsJavaCTLAuto-propagated metadata
    Barrier1-n1-n--
    Condition-11-2--
    ExecuteGraph-0-10-2
    ExecuteJobflow-0-10-2
    ExecuteMapReduce0-10-2
    ExecuteProfilerJob-0-10-2
    ExecuteScript-0-10-2
    Fail-0-10
    GetJobInput-01
    KillGraph-0-10-1
    KillJobflow-0-10-1
    Loop22
    MonitorGraph-0-10-2
    MonitorJobflow-0-10-2
    SetJobOutput-10
    Sleep-11-n
    Success0-n0--
    TokenGather1-n1-n--