AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains information about a job run.
Namespace: Amazon.Glue.Model
Assembly: AWSSDK.Glue.dll
Version: 3.x.y.z
public class JobRun
The JobRun type exposes the following members
Name | Description | |
---|---|---|
JobRun() |
Name | Type | Description | |
---|---|---|---|
AllocatedCapacity | System.Int32 |
Gets and sets the property AllocatedCapacity.
This field is deprecated. Use The number of Glue data processing units (DPUs) allocated to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page. |
|
Arguments | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Arguments. The job arguments associated with this run. For this job run, they replace the default arguments set in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes. Job arguments may be logged. Do not pass plaintext secrets as arguments. Retrieve secrets from a Glue Connection, Secrets Manager or other secret management mechanism if you intend to keep them within the Job. For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide. For information about the arguments you can provide to this field when configuring Spark jobs, see the Special Parameters Used by Glue topic in the developer guide. For information about the arguments you can provide to this field when configuring Ray jobs, see Using job parameters in Ray jobs in the developer guide. |
|
Attempt | System.Int32 |
Gets and sets the property Attempt. The number of the attempt to run this job. |
|
CompletedOn | System.DateTime |
Gets and sets the property CompletedOn. The date and time that this job run completed. |
|
DPUSeconds | System.Double |
Gets and sets the property DPUSeconds.
This field populates only for Auto Scaling job runs, and represents the total time
each executor ran during the lifecycle of a job run in seconds, multiplied by a DPU
factor (1 for |
|
ErrorMessage | System.String |
Gets and sets the property ErrorMessage. An error message associated with this job run. |
|
ExecutionClass | Amazon.Glue.ExecutionClass |
Gets and sets the property ExecutionClass. Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.
Only jobs with Glue version 3.0 and above and command type |
|
ExecutionTime | System.Int32 |
Gets and sets the property ExecutionTime. The amount of time (in seconds) that the job run consumed resources. |
|
GlueVersion | System.String |
Gets and sets the property GlueVersion.
In Spark jobs,
Ray jobs should set For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9. |
|
Id | System.String |
Gets and sets the property Id. The ID of this job run. |
|
JobName | System.String |
Gets and sets the property JobName. The name of the job definition being used in this run. |
|
JobRunState | Amazon.Glue.JobRunState |
Gets and sets the property JobRunState. The current state of the job run. For more information about the statuses of jobs that have terminated abnormally, see Glue Job Run Statuses. |
|
LastModifiedOn | System.DateTime |
Gets and sets the property LastModifiedOn. The last time that this job run was modified. |
|
LogGroupName | System.String |
Gets and sets the property LogGroupName.
The name of the log group for secure logging that can be server-side encrypted in
Amazon CloudWatch using KMS. This name can be |
|
MaxCapacity | System.Double |
Gets and sets the property MaxCapacity. For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
For Glue version 2.0+ jobs, you cannot specify a
Do not set
The value that can be allocated for
|
|
NotificationProperty | Amazon.Glue.Model.NotificationProperty |
Gets and sets the property NotificationProperty. Specifies configuration properties of a job run notification. |
|
NumberOfWorkers | System.Int32 |
Gets and sets the property NumberOfWorkers.
The number of workers of a defined |
|
PredecessorRuns | System.Collections.Generic.List<Amazon.Glue.Model.Predecessor> |
Gets and sets the property PredecessorRuns. A list of predecessors to this job run. |
|
PreviousRunId | System.String |
Gets and sets the property PreviousRunId.
The ID of the previous run of this job. For example, the |
|
SecurityConfiguration | System.String |
Gets and sets the property SecurityConfiguration.
The name of the |
|
StartedOn | System.DateTime |
Gets and sets the property StartedOn. The date and time at which this job run was started. |
|
Timeout | System.Int32 |
Gets and sets the property Timeout.
The Streaming jobs do not have a timeout. The default for non-streaming jobs is 2,880 minutes (48 hours). |
|
TriggerName | System.String |
Gets and sets the property TriggerName. The name of the trigger that started this job run. |
|
WorkerType | Amazon.Glue.WorkerType |
Gets and sets the property WorkerType. The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5