Your Greenplum Database deployment consists of a master node, standby master, and multiple segment hosts. After you configure the Greenplum Platform Extension Framework (PXF), you start a single PXF JVM process (PXF Service) on each Greenplum Database host.
PXF provides connectors to Hadoop, Hive, HBase, object stores, network file systems, and external SQL data stores. You must configure PXF to support the connectors that you plan to use.
To configure PXF, you must:
Install Java 8 or 11 on each Greenplum Database host as described in Installing Java for PXF. If your
JAVA_HOMEis different to
/usr/java/default, you must inform PXF of the $JAVA_HOME setting by specifying its value in the
$PXF_BASE/conf/pxf-env.shfile on the Greenplum master node.
gpadmin@gpmaster$ vi /usr/local/pxf-gp6/conf/pxf-env.sh
JAVA_HOMEsetting in the
pxf-env.shfile, uncomment if necessary, and set it to your
$JAVA_HOMEvalue. For example:
Register the PXF extension with Greenplum Database (see pxf cluster register). Run this command after your first installation of a PXF version 6.x, and/or after you upgrade your Greenplum Database installation:
gpadmin@gpmaster$ pxf cluster register
If you plan to use the Hadoop, Hive, or HBase PXF connectors, you must perform the configuration procedure described in Configuring PXF Hadoop Connectors.
If you plan to use the PXF connectors to access the Azure, Google Cloud Storage, Minio, or S3 object store(s), you must perform the configuration procedure described in Configuring Connectors to Azure, Google Cloud Storage, Minio, and S3 Object Stores.
If you plan to use the PXF JDBC Connector to access an external SQL database, perform the configuration procedure described in Configuring the JDBC Connector.
If you plan to use PXF to access a network file system, perform the configuration procedure described in Configuring a PXF Network File System Server.
After making any configuration changes, synchronize the PXF configuration to all hosts in the cluster.
gpadmin@gpmaster$ pxf cluster sync
After synchronizing PXF configuration changes, Start PXF.