Installing the Hadoop Client

Describes how to install the Hadoop client.

Before release 6.2.0 and EEP 7.0.0, the Hadoop client was part of the data-fabric client (the mapr-client package). Beginning with release 6.2.0 and EEP 7.0.0, Hadoop and YARN services are removed from core and delivered as ecosystem components in the EEP repository. For more information about these services, see Installing Hadoop and YARN.

For Hadoop client-compatibility information, see Hadoop Client Compatibility.

While the mapr-hadoop-client package is now included in the EEP repositories for RHEL, Ubuntu, and SLES, the Hadoop client is still part of the mapr-client zip file for Windows and Mac platforms. Delivering Hadoop and YARN services in an EEP makes it possible to install and upgrade the Hadoop client package independently of the data-fabric client. You can install the Hadoop client at the same time as the data-fabric client or later. Note that you must use configure.sh with the -c option to specify the client setup.

The Hadoop client depends on the mapr-client package and should be installed after the mapr-client. In the following example, the Hadoop client is installed with the mapr-client:
# yum install mapr-client mapr-hadoop-client
....................
# /opt/mapr/server/configure.sh -N my.cluster.com -c -C node1.cluster.com:7222 -HS node1.cluster.com
....................
# hadoop fs -ls /
Found 5 items
drwxr-xr-x  - root root       2 2020-10-26 15:20 /apps
drwxr-xr-x  - root root       0 2020-10-26 15:23 /opt
drwsrwxrwx  - root root       2 2020-10-26 12:14 /tmp
drwxr-xr-x  - root root       2 2020-10-26 12:00 /user
drwxr-xr-x  - root root       1 2020-10-26 15:20 /var
The following example shows installing the Hadoop client on a client node where the mapr-client has already been installed:
# yum install mapr-hadoop-client
....................
# /opt/mapr/server/configure.sh -R -c -HS node1.cluster.com