Acceldata Open Source Data Platform
ODP 3.2.3.3-2
Release Notes
What is ODP
Installation
Advanced Installation
Configuration and Management
Upgrade
USER GUIDES
Security
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Installing Custom Packages in Apache Airflow
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
- Access the Node: Log into the node where the Apache Airflow Scheduler and Webserver are installed.
- Navigate to the Airflow Home Directory: Move to the directory designated as the Airflow home.
- Activate the Virtual Environment: Activate the virtual environment used by Airflow to ensure package installations are isolated and consistent.
Bash
source <virtual_environment_path>/bin/activate
- Install the Custom Packages: Use the appropriate package manager (e.g.,
pip) to install any required custom packages. For example:
Bash
pip install <package_name>- Verify Installation: Ensure the installed packages are available by checking their version or importing them in a Python script.
- Deactivate the Virtual Environment: After installing the packages, deactivate the virtual environment by running:
Bash
deactivate- Restart Airflow Services: Restart the Airflow services using the Ambari UI to apply the changes.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Mar 13, 2025
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message