Creating Jobs in Cloudera Data Engineering
A Job in Cloudera Data Engineering consists of defined configurations and resources, including application code.
You must create a Spark Compute to run Jobs, because in Cloudera Data Engineering, Jobs are associated with Spark Computes. For instructions, see Creating Spark Computes.
- In the Cloudera Data Engineering UI, in the left navigation menu click Jobs & Runs. The Jobs page is displayed with the content of the Definitions tab.
- Click the Create Definition button. The Create Definition form is displayed.
-
In the Details section, provide the following configurations:
- In the Name field, specify a name for your Job.
- (Optional) In the Description field, add a description that briefly describes what the Job does.
- In the Application File field, select an option to provide an
application file:
- Click the Resources > Select from Resources button, select a file and click Select.
- Click the Upload tab and then click the Choose File button to upload an application file to a resource folder.
- Specify the Main Class if your application code is a JAR file.
- Specify arguments if required. You can add multiple command arguments as necessary. If you define multiple arguments, separate them with a space.
- Specify Spark Configurations if needed. Add multiple configuration parameters as key-value pairs in the text box as necessary.
-
In the Files and Resources section, add additional files to be
staged alongside this Job.
- Select the file type.
- Select files such as JAR, Scala, Python, or other files.
- Select resources - Resources in Cloudera Data Engineering are named collections of files.
- Select the additional source file.
- Select a resource from the available resources.
- Upload the additional source file.
- Select the file type.
-
Optional: In the Execution Runtime section, select a Spark Compute
for this Job Definition from the drop-down list.
The Spark Compute provides the Spark version and the Runtime Environment (Python, Iceberg, Java, and Scala) for the Job.
-
In the Compute Options section configure executor and driver
resources for this Job. This option is available only after selecting a Spark Compute in the
Execution Runtime section.
If you select a UDF-Connected Spark Compute with GPU accelerator, you can configure GPU Executor Resources as well. For more information, see Accelerating Spark Workloads with GPUs in Cloudera Data Engineering.
-
Complete the job configuration by selecting one of the following options:
- Click Create to create the Job.
- Click Create and Run to run your Job after creation.
