Installing Phoenix client packages

Know how to install client RPMs and configure Phoenix to connect to a Cloudera cluster.

The Java Development Kit must be installed and configured on your system.

  1. Download and configure the client RPMs for the RHEL, SUSE Linux Enterprise Server (SLES), and Ubuntu operating systems. For more information, see Downloading and configuring the client packages.
    Additionally, configure the following gpay key location for RHEL.
    gpgkey={{ baseurl }} RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    The following is an example of the baseurl.
    baseurl=http://cloudera-build-2-us-west-2.vpc.cloudera.com/s3/build/68980718/cdh_client/7.x/redhat8/yum/
  2. Install the Phoenix client packages.
    For example,
    yum install phoenix-client -y

    For more information, see Installing the client packages.

  3. Download the hbase/conf directory to the node.
    For example,
    get -r /etc/hbase /etc
    get -r /etc/hbase/conf /etc/hbase
    
  4. Launch the Apache Phoenix client using the following command.
    phoenix-sqlline