Updated on 2026-11-06 GMT+08:00

Setting the Aura Job Priority

In production environments, the urgency and importance of jobs vary. Key business jobs must be prioritized for compute resources to ensure uninterrupted execution. AI DataLake provides Aura job priority scheduling, allowing you to specify a job priority when submitting a job.

The method for setting job priorities varies by endpoint type. Table 1 describes how to set the job priority.

Table 1 Job priority settings

Endpoint Type

Setting Method

Reference

AuraJobV2

Currently, job priorities can be set only using APIs. The console does not support this feature. You can specify the job priority using the priority parameter when calling the session creation API.

Setting the Job Priority for AuraJobV2

AuraJob

When using DataArts Studio to develop AuraJob jobs, you can set the job priority when creating or editing a job to control its scheduling priority in AI DataLake.

Setting the Job Priority for AuraJob

Notes

  • The Aura job priority is an optional parameter. Valid values are described as follows.
    Table 2 Job priorities

    Job Type

    Value Range

    Highest Priority

    Lowest Priority

    Default Value

    AuraJobV2

    An integer ranging from 1 to 9

    9

    1

    5

    AuraJob

    An integer ranging from 0 to 9

    9

    0

    0

  • The job priority is an optional parameter and needs to be set only when you want to adjust the priority level. If this parameter is left unconfigured, jobs are submitted using the default priority without affecting existing jobs.
  • When resources are insufficient, jobs enter a queue. Once sufficient resources become available, the system schedules jobs in descending order of priority. Jobs with the same priority level are scheduled based on their submission time.

Setting the Job Priority for AuraJobV2

When creating a session using the API, specify the priority parameter to set the job priority. For details, see Creating a Session.

An example API request is shown below:

POST /v2/workspaces/{workspace_id}/aura-sessions

{
  "endpoint_name" : "aura-job-zgg",
  "priority" : "9",
  "wait_timeout" : "86400",
  "max_retry_times" : "5",
  "lake_formation_config" : {
    "catalog" : "catalogName"
  }
}

Table 3 describes the parameters.

Table 3 Parameter description

Parameter

Description

Example Value

endpoint_name

The name of the AuraJobV2 endpoint.

aura-job-zgg

priority

The job priority. The value is an integer ranging from 1 to 9. The value 9 indicates the highest priority, and 1 indicates the lowest priority. The default value is 5.

9

wait_timeout

Session creation wait time, in seconds. Allowed values range from 300 to 86,400.

86400

max_retry_times

The maximum number of session creation retries. If the system cannot create a session after reaching this retry limit, session creation fails.

5

catalog

The name of the LakeFormation catalog.

catalogName

Setting the Job Priority for AuraJob

When using DataArts Studio to develop AuraJob jobs, you can set the job priority when creating or editing a job to control its scheduling priority in AI DataLake. For details about developing an AuraJob and configuring its parameters, see Multimodal Data Processing Using User-Defined Images.

Viewing the Job Priority

After submitting a job, you can view its priority on the AI DataLake console.

  1. Log in to the AI DataLake console.
  2. In the left navigation pane, click Job Run History.
  3. In the job list, click the target job name to open the Job Run Details page.
  4. View the job priority on the Job Run Details page.

Related Operations