Installing HPE Ezmeral Data Fabric Streams C Client

The HPE Ezmeral Data Fabric Streams C Client is a distribution of librdkafka that works with HPE Ezmeral Data Fabric Streams.

Installation

As of MapR 6.0.1, the MapR C client is installed as part of the MapR Core installation and the mapr-client package installation. The MapR C client is available on Linux, Mac, and Windows operating systems.
NOTE Specific installation is not required as of MapR 6.0.1!
For MapR 5.2.1 through MapR 6.0.0, the MapR C client must be installed. The MapR C client is available on Linux and Mac operating systems. As root or using sudo, install the mapr-librdkafka package on nodes where you want to run or build applications.
  • On Ubuntu:
    apt-get install mapr-librdkafka
  • On RedHat/CentOS:
    yum install mapr-librdkafka
  • On SLES:
    zypper install mapr-librdkafka
  • On Mac OS:
    1. Download the following TAR file: https://package.ezmeral.hpe.com/releases/MEP/<MEP version>/<operating system>/<package>.tar.gz
    2. Extract the TAR file under /opt/mapr:
      tar -C /opt/mapr/ -zxf <librdkafka_tarFile_location>
NOTE The mapr-librdkafka package pulls in the mapr-client as a dependency if the node does not have the mapr-client or mapr-core package installed.

Configuration

For MapR 6.0.1 and higher, use the following configuration instructions.

Linux
For Linux installations, add /opt/mapr/lib to the end of LD_LIBRARY_PATH.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mapr/lib 
Mac
For Mac installations, add /opt/mapr/lib to the end of DYLD_LIBRARY_PATH.
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/mapr/lib
Windows

For Windows installations, no additional configuration is required. Link your application and run your programs against the HPE Ezmeral Data Fabric Client dynampic link libraries (dll) located at: C:\opt\mapr\lib. The corresponding librdkafka header is C:\opt\mapr\include\librdkafka.

ATTENTION For MapR 6.0.0 and earlier, see Configuring the HPE Ezmeral Data Fabric Streams C Client for instructions on configuring the client.