Apache Airflow Mpack Installation (Python3.8 & RHEL8 with Postgres15)

To install Apache Airflow management pack (mpack) for Python 8 and RHEL 8 with Postgres15, perform the following steps:

  1. Install Python 3.8 and create symlinks:
Bash
Copy
  1. Install and setup Postgres15:
SQL
Copy
  1. Update PostgreSQL configuration files:
  • Edit /var/lib/pgsql/15/data/postgresql.conf:
Bash
Copy
  • Uncomment the following lines:
Bash
Copy
  • Edit /var/lib/pgsql/15/data/pg_hba.conf:
Bash
Copy
  • Add the following line:
Bash
Copy
  1. Restart PostgreSQL:
Bash
Copy
  1. Install package psycopg2-binary:
Bash
Copy
  • Install Mpack:
Bash
Copy
  • Refer to the screenshots below for guidance on installing the service via Ambari UI:
  • Access the Airflow UI using your Airflow credentials, in this case we are using 'airflow' as the username and password.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated