Overview
Cloudera Workflow Orchestrator basic package only installs what’s needed to get started. Additional packages can be installed depending on what will be useful in your environment.
In Cloudera Workflow Orchestrator, extra dependencies (or simply extras) are optional sets of Python packages and integrations that can be installed on top of the lightweight Cloudera Workflow Orchestrator core.
Extras allow you to install specific database drivers, cloud integrations, authentication backends, or execution engines without bloating the core environment. For more information about dependencies, see Dependencies.
Advantages
Adding extra dependencies, packages, or files to Cloudera Workflow Orchestrator DAGs provides several key advantages:
- Extending capabilities beyond base images: It allows tasks to execute code that relies on third-party Python packages or specific library versions that are not provided out-of-the-box in the base Cloudera Workflow Orchestrator deployment.
- Supporting heavy and non-Python workloads: By using custom container images or virtual environments, tasks can run workloads that require system-level binary dependencies, heavy external libraries, or non-Python runtimes.
- Task and environment isolation: Running dependencies inside virtual environments or custom Kubernetes pods ensures isolated execution contexts, preventing dependency conflicts or breaking the core Cloudera Workflow Orchestrator deployment.
- Dynamic access to supporting assets: Bundling extra resources directly with your DAGs enables tasks to dynamically load non-Python files such as SQL queries, configuration files, or scripts without hardcoding absolute paths.
Difference between extras and providers
- Extras: A standard Python setuptools packaging mechanism
(
pip install apache-airflow[[***EXTRA***]]) used to declare optional dependencies. - Provider packages: Separate PyPI packages (named
apache-airflow-providers-[***NAME***]) containing the actual integration code such as operators, hooks, and sensors.
