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.
  1. In the Cloudera Data Engineering UI, click Jobs & Runs on the left navigation menu. The Job Definitions page displays.
  2. Click Create Job.
  3. Click on the name of the job you want to modify.
  4. Go to the Job Configuration tab.
  5. Click Edit.
  6. Select the Files and Resources tab.
  7. Click Edit.
  8. Select the Type and the Python virtual environment resource you want to use.
  9. Click Save Changes.
  10. 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.

  1. In the Cloudera Data Engineering UI, click Jobs & Runs on the left navigation menu. The Job Definitions page displays.
  2. Click Create Job.
  3. Specify the name of the job.
  4. Provide the Application File using either of the following ways: Select from Resource, Upload or External URL.
  5. Python Environment is displayed. Select the Python environment.
  6. Provide all other required details for the Job and either click Create or Create and Run.