Associating a Python virtual environment with a Cloudera Data Engineering job
You can associate the Python virtual environment with a Cloudera Data Engineering job at the time of creation, or you can update an existing job.
Steps for associating an existing Job with a Python environment
Before you begin
- Create a Python virtual environment Cloudera Data Engineering resource.
- Create a Cloudera Data Engineering job.
- In the Cloudera Data Engineering UI, click Jobs & Runs on the left navigation menu. The Job Definitions page displays.
- Click Create Job.
- Click on the name of the job you want to modify.
- Go to the Job Configuration tab.
- Click Edit.
- Select the Files and Resources tab.
- Click Edit.
- Select the Type and the Python virtual environment resource you want to use.
- Click Save Changes.
- At the bottom of the page, click Update and Run to run the job immediately, or click the drop-down arrow on the button and select Update to update the job without running it.
Steps for associating a new Job with a Python environment
Before you begin
Create a Python virtual environment Cloudera Data Engineering resource.
- In the Cloudera Data Engineering UI, click Jobs & Runs on the left navigation menu. The Job Definitions page displays.
- Click Create Job.
- Specify the name of the job.
- Provide the Application File using either of the following ways: Select from Resource, Upload or External URL.
- Python Environment is displayed. Select the Python environment.
- Provide all other required details for the Job and either click Create or Create and Run.
