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:
- Install the client packages using the steps described in Installing Clients on a Linux Host.
- Sign in to the Data Fabric UI.
- Select the Fabric user view on the Home page.
- 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.
- Click the Client library option. The Client library side drawer opens.
- Download the
config.tarand thejwt_tokens.tar.gzfiles listed in the Client library side drawer. These files include information needed to set up the client libraries for your fabric. - Copy the downloaded files to the client machine. On the client machine, perform the following steps.
- Run the command to extract the
setup:
tar xf config.tar --directory /opt/mapr - Run the command to extract the JWT
tokens:
tar xf jwt_tokens.tar.gz --directory /root - Run the commands to export the JWT
tokens:
export MAPR_JWT_TOKEN_LOCATION="/root/jwt_access"export MAPR_REFRESH_TOKEN_LOCATION="/root/jwt_refresh" - Run the command to configure your client
libraries:
/opt/mapr/server/configure.sh -R - Run the command to test that your client libraries are set up
correctly:
If the client libraries are not set up correctly, the command returns an error message.hadoop fs -ls /