Jobs

During each step of the model lifecycle, from training to deployment, a job is executed at the back end to perform the required processing. Using AnalyticOps UI, you can run the jobs, view job logs and see their status changing from creation to completion. Each job follows a lifecycle and you can view the events and their details in the UI.

The Jobs module allows you to monitor the jobs, view job logs, and analyze the job lifecycle. This chapter covers the following details:

Types of Jobs

In AnalyticOps, each step of the model lifecycle is associated with a job. The following types of jobs are executed to complete the model lifecycle:

  • Training: When a model’s training starts, a training job is created.

  • Evaluation: To evaluate a trained model, an evaluation job is executed.

  • Approval: The approval process of a model is associated with an approval job.

  • Deployment: When a model is deployed in production, a deployment job is executed.

  • Retirement: A model deployment is retired by executing a retirement job.

View List of Jobs

To view jobs of a project:

  1. Click the Jobs from the Navigation bar of a selected project.
    The list of jobs for the project displays in the Work area and the Jobs option highlights in the Navigation bar.

    The list of Jobs displays the following details for each job.

    Property

    Description

    Job ID

    Specifies the auto-generated job ID.

    Type

    Specifies the type of job as Training, Evaluation, Approval, Rejection, Deployment, Retirement.

    Status

    Specifies the status of the job as Created, Scheduled, Running, Completed, Error.

    Model ID

    Specifies the model ID for which the job is executed.

    Created At

    Specifies the creation date and time of the job.

    Created By

    Displays the user who has created the job.

    Logs

    Lets you view the job logs. For details, see View Job Logs.

    View Events

    Lets you view the job lifecycle events. For details, see View Job Events.

View Job Events

Each job type has a lifecycle that includes a number of events from creation to completion. You can view the lifecycle events for each job type along with the details of the event.

To view the events of a job:

  1. In the Jobs list, click the View Events icon for a job.

    The Job Events page displays for the selected job.

    The Job Events displays the following details for each job’s lifecycle.

    Property

    Description

    Event ID

    Specifies the auto-generated event ID.

    Type

    Specifies the type of event as Created, Scheduled, Running, Trained, Completed. For details of event types, see Job Event Types.

    Owner ID

    Specifies the owner ID who has run the job.

    Created At

    Specifies the creation date and time of the event.

    Details

    Lets you view the details of the event. For details, see Job Event Details.

Job Event Types

As mentioned above, each job type has a lifecycle that includes a number of events from creation to completion. Below is the list of events included in a job lifecycle.

Job Event Types
Training Created, Scheduled, Running, Trained, Completed
Evaluation Created, Scheduled, Running, Evaluated, Completed
Approval Created, Completed
Rejection Created, Completed
Deployment Created, Completed
Retirement Created, Completed

Job Event Details

To view the details of a Job event:

  1. In the Job Events list, click the Details icon for an event.

    The Event Details dialog displays listing the details of the selected event including Event ID, Type, Created At, Created By and Metadata.

    https://docs.tdaoa.com/images/ug_jobs_event_details.png

View Job Logs

You can view logs of a job from within the Jobs List that help you track the job and diagnose errors and warnings that occurred during the processing of the job.

To view the logs:

  1. In the Jobs list, click the Logs button for a job.

    The Jobs logs display in a separate window.

    Comment: The images need to add as currently it displays an error with a Work in Progress message.

You can view the logs of a job in Created or Scheduled state by going to the Job Progress page.

To view the Job logs for a Created or Scheduled job:

  1. In the Jobs list, click the View Job Logs icon for a Created or Scheduled job.

    The Job Progress page displays listing the logs of the job being created or scheduled.

    You can also click on job logs icon for a Completed Job, which will navigate you to a new tab with raw historic logs.