Installing Client Libraries

Describes how to install the client libraries to enable communication between your Linux hosts and the HPE Ezmeral Data Fabric.

To install client libraries on a fabric:
  1. Install the client packages using the steps described in Installing Clients on a Linux Host.
  2. Sign in to the Data Fabric UI.
  3. Select the Fabric user view on the Home page.
  4. On the Home page, click the ellipsis () in the Action column of the fabric for which you want to install the client libraries.

    Alternatively, navigate to the Fabric Details page, open the Actions dropdown menu, and select Client library.

  5. Click the Client library option. The Client library side drawer opens.
  6. Download the config.tar and the jwt_tokens.tar.gz files listed in the Client library side drawer. These files include information needed to set up the client libraries for your fabric.
  7. Copy the downloaded files to the client machine. On the client machine, perform the following steps.
  8. Run the command to extract the setup:
    tar xf config.tar --directory /opt/mapr
  9. Run the command to extract the JWT tokens:
    tar xf jwt_tokens.tar.gz --directory /root
  10. Run the commands to export the JWT tokens:
    export MAPR_JWT_TOKEN_LOCATION="/root/jwt_access"
    export MAPR_REFRESH_TOKEN_LOCATION="/root/jwt_refresh"
  11. Run the command to configure your client libraries:
    /opt/mapr/server/configure.sh -R
  12. Run the command to test that your client libraries are set up correctly:
    hadoop fs -ls /
    If the client libraries are not set up correctly, the command returns an error message.