Installing Hadoop Foreign Data Wrapper on SLES 15 x86_64 v2

Prerequisites

Before you begin the installation process:

  • Install Postgres on the same host. See:

  • Set up the EDB repository.

    Setting up the repository is a one-time task. If you have already set up your repository, you don't need to perform this step.

    To determine if your repository exists, enter this command:

    zypper lr -E | grep enterprisedb

    If no output is generated, the repository isn't installed.

    To set up the EDB repository:

    1. Go to EDB repositories.

    2. Select the button that provides access to the EDB repository.

    3. Select the platform and software that you want to download.

    4. Follow the instructions for setting up the EDB repository.

  • Activate the required SUSE module:

    sudo SUSEConnect -p PackageHub/15.4/x86_64
  • Refresh the metadata:

    sudo zypper refresh

Install the package

# For EDB Postgres Advanced Server:
sudo zypper -n install edb-as<X>-hdfs_fdw

# For EDB Postgres Extended Server:
sudo zypper -n install edb-postgresextended<X>-hdfs-fdw

# For PostgreSQL:
sudo zypper -n install postgresql-<X>-hdfs-fdw

Where <X> is the version of your Postgres.