Updated on 2022-02-22 GMT+08:00

Monitoring a Real-Time Job

You can view information such as the running status, start time, and end time of the real-time processing job on the Real-Time Job Monitoring page, and start and stop the real-time processing job.

Figure 1 Real-time job monitoring page
  • Batch processing jobs: Select jobs and click Start/Stop.
  • Viewing node information of the job: Click a job name. On the page that is displayed, view the node connection relationship and monitoring information.
  • Viewing status of the latest instances: Click the drop-down arrow next to the name of a job to view the latest instance status.

Real-Time Jobs: Configuring Event-based Scheduling on a Node

If event-driven scheduling is configured for a node in a real-time job, right-click the node and choose Configure Scheduling from the shortcut menu to view and modify the scheduling information about the node.

  1. Log in to the DLF console.
  2. In the navigation tree of the DLF console, choose Monitoring > Monitor Job.
  3. On the Real-Time Job Monitoring tab page, click a job name.
  4. Click the node where event-driven scheduling is configured and choose Configure Scheduling. Set the parameters described in Table 1.

    When you click View Startup Log, you can view the job startup log information.
    Figure 2 Configuring scheduling
    • When Triggering Event Type of Event-Driven Scheduling is set to DIS, configure a DIS scheduling policy as follows:
      Figure 3 Configuring a DIS scheduling policy
    Table 1 Policy parameters

    Parameter

    Description

    DIS Stream

    Name of the DIS stream. When a new message is sent to the specified DIS stream, Data Development transfers the new message to the job to trigger the job running.

    Concurrent Events

    Number of jobs that can be concurrently processed. The maximum number of concurrent events is 10.

    Event Detection Interval

    Interval at which the system detects the DIS stream or OBS path for new messages. The unit of the interval can be set to second or minute.

    Failure Policy

    Select a policy to be performed after scheduling fails.

    • Stop scheduling
    • Ignore failure and proceed

Rerunning a Job After the Job Is Paused

If event-based scheduling is configured for a node in a real-time job, you can disable the node and then restore it. When the node is restored, you can select where you can resume running.

  1. Log in to the DLF console.
  2. In the navigation tree of the DLF console, choose Monitoring > Monitor Job.
  3. On the Real-Time Job Monitoring tab page, click a job name.
  4. On the job monitoring page, right-click a node with event-driven scheduling configured and choose Disable from the shortcut menu.
  5. Right-click the node and choose Resume from the shortcut menu. The Resume Node Running dialog box is displayed, as shown in Table 2.

    Figure 4 Resuming node running
    Table 2 Resumption parameters

    Parameter

    Description

    Last Paused

    Start time when a node is suspended.

    Tasks Not Run

    Number of tasks that are not running during node suspension.

    Parameters for performing the tasks generated during the pause period

    Run From

    Position from which running restarts.

    • Paused node
    • The first node of the subjob

    Concurrent Tasks

    Number of tasks to be processed.

    Task Name

    Task to be resumed.