Repair job run

post

/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns/{jobRunKey}/actions/repair

Repairs and reruns a job run.

Request

Path Parameters
Header Parameters
  • For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
  • Minimum Length: 1
    Maximum Length: 64
    A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and removed from the system, then a retry of the original creation request might be rejected.
  • A flag to identify if the recent list should be updated.
    Default Value: false
Body ()
Details of the job run to be repaired.
Root Schema : RepairJobRunDetails
Type: object
The data to repair a job run.
Show Source
Nested Schema : parameters
Type: array
An optional list of parameters.
Show Source
Nested Schema : taskKeys
Type: array
The collection of selected task IDs to be repaired.
Show Source
Nested Schema : Parameter
Type: object
Specifies the name and value of the defined parameter.
Show Source
  • Pattern: ^[\w\-.]+$
    The name of the defined parameter. May only contain alphanumeric characters, '_', '-', and '.'
  • Value of the defined parameter.
Back to Top

Response

Supported Media Types

201 Response

Request accepted. Job run is repaired and rerun.
Headers
Body ()
Root Schema : JobRun
Type: object
Description of a job run.
Show Source
Nested Schema : ClusterInstance
Type: object
The cluster used for this run. The value of this field will be set when a new cluster is specified for execution and once the request to create a new cluster is successfully submitted.
Show Source
Nested Schema : ClusterSpec
Type: object
Cluster specification snapshot of a job.
Show Source
Nested Schema : GitConfig
Type: object
Git configuration used when source is GIT_PROVIDER.
Show Source
Nested Schema : lifecycleStates
Type: array
The collection of lifecycle states.
Show Source
Nested Schema : parameters
Type: array
An optional list of parameters.
Show Source
Nested Schema : Queue
Type: object
Queue configuration for job.
Show Source
Nested Schema : repairedTasks
Type: array
A list of repaired tasks.
Show Source
Nested Schema : repairHistory
Type: array
Maximum Number of Items: 10
Array of repaired runs.
Show Source
Nested Schema : Schedule
Type: object
The schedule configuration for the job.
Show Source
Nested Schema : State
Type: object
The current state of the run.
Show Source
  • If there was an error executing the run, this field contains any available stack traces.
  • Default Value: false
    Set to true, if the job execution is canceled by the user or by the scheduler due to timeout.
  • A descriptive message of the current state.
  • Allowed Values: [ "PENDING", "QUEUED", "RUNNING", "SKIPPED", "INTERNAL_ERROR", "BLOCKED", "SUCCESS", "FAILED", "CANCELING", "CANCELED", "UPSTREAM_CANCELED", "UPSTREAM_FAILED", "EXCLUDED", "TIMED_OUT", "PAUSED_MAINTENANCE" ]
    Current state of execution.
Nested Schema : systemParameters
Type: object
Additional Properties Allowed
Show Source
Map of system parameters with their values for this job run.
Nested Schema : taskRunSummaryMap
Type: object
Additional Properties Allowed
Show Source
TaskRun to TaskRunSummary map for given job run.
Nested Schema : tasks
Type: array
List of tasks in a job.
Show Source
Nested Schema : taskToTaskRunMap
Type: object
Additional Properties Allowed
Show Source
Task to TaskRun map for given job run.
Nested Schema : unifiedJobAndJobRunParameters
Type: array
Unified List of job and job run parameters after resolving dynamic value references and parameter resolution as per precedence.
Show Source
Nested Schema : Libraries
Type: object
List of libraries to be installed on the cluster.
Show Source
Nested Schema : NewClusterConfiguration
Type: object
The cluster configuration to create a new cluster.
Show Source
Nested Schema : AutoScale
Type: object
Properties required to automatically scale the clusters up and down based on load.
Show Source
Nested Schema : LifecycleState
Type: object
The lifecycle state of execution.
Match All
The lifecycle state of execution.
The lifecycle state of execution.
The lifecycle state of execution.
Show Source
Nested Schema : LifecycleState-allOf[1]
Type: object
Nested Schema : LifecycleState-allOf[2]
Type: object
Show Source
Nested Schema : Parameter
Type: object
Specifies the name and value of the defined parameter.
Show Source
  • Pattern: ^[\w\-.]+$
    The name of the defined parameter. May only contain alphanumeric characters, '_', '-', and '.'
  • Value of the defined parameter.
Nested Schema : RepairHistory
Type: object
A description of a repaired job run.
Show Source
Nested Schema : lifecycleStates
Type: array
The collection of lifecycle states.
Show Source
Nested Schema : parameters
Type: array
An optional list of parameters.
Show Source
Nested Schema : repairedTasks
Type: array
A list of repaired tasks.
Show Source
Nested Schema : taskToTaskRunMap
Type: object
Additional Properties Allowed
Show Source
Task to TaskRun map for given job run.
Nested Schema : additionalProperties
Type: object
Nested Schema : Task
Type: object
Discriminator: type
Properties of a task provided by the user.
Show Source
  • dependsOn
    Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
  • Default Value: false
    An optional policy to specify whether to retry a task when it times out. The default behavior is to not retry on timeout.
  • Minimum Value: 0
    Maximum Value: 300
    Default Value: 0
    The maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it fails with status FAILED or INTERNAL_ERROR. Maximum value is 300.
  • Minimum Value: 0
    Maximum Value: 600000
    Default Value: 0
    An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. If value is not provided, the run would be immediately retried. Maximum value is 10 mins (600000)
  • Default Value: ALL_SUCCESS
    Allowed Values: [ "ALL_SUCCESS", "ALL_DONE", "NONE_FAILED", "AT_LEAST_ONE_SUCCESS", "ALL_FAILED", "AT_LEAST_ONE_FAILED" ]
    The trigger rule based on which the current task execution is determined.
  • Minimum Length: 1
    Maximum Length: 100
    The display name of the task. User can specify a value for this.
  • Allowed Values: [ "NOTEBOOK_TASK", "PYTHON_TASK", "SPARK_SUBMIT_TASK", "IF_ELSE_TASK", "JOB_TASK", "JAR_TASK" ]
    The type of the task.
Nested Schema : dependsOn
Type: array
Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Show Source
  • DependsOn
    Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Nested Schema : DependsOn
Type: object
Specifies the dependency graph of the task. All the tasks mentioned in this field need to be completed before executing this task.
Show Source

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

401 Response

Unauthorized (missing or expired credentials, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found. The requested resource was not found.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

409 Response

Conflict. Request conflicts with the current state of the resource.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

412 Response

Precondition Failed (One or more conditions in request failed).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests. Too many requests sent to the server in a short period.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

Unknown Error. Error is not recognized by the system.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top