Installing the MapR Client on Windows
Installing the MapR Data Platform client makes it possible to access the MapR file system from a Windows workstation.
Compatibility with Network Address Translation (NAT) Adapters
In VM environments, the MapR client on Windows works with a single NAT virtual adapter as long as it is the only virtual adapter configured for the VM. If you want to use more than one adapter, you must use other types of virtual adapters. If you use multiple NAT adapters in your VM environment, your jobs and file-system operations will fail.
Use these steps to install the client:
-
Make sure Java is installed on the computer and that the
JAVA_HOME
environment variable is set correctly.NOTE The path that you set for the JAVA_HOME environment variable must not include spaces. -
Create the directory
\opt\mapr
on yourc:
drive (or another hard drive of your choosing). You can use Windows Explorer, or type the following at the command prompt:mkdir c:\opt\mapr
-
Set the
MAPR_HOME
environment variable toc:\opt\mapr
-
Open the command line.
-
Use the following command to navigate to
MAPR_HOME
:cd %MAPR_HOME%
-
Download the file for the version that you want to install into
MAPR_HOME
:https://package.ezmeral.hpe.com/releases/<version>/windows/<package name>
-
Extract the archive by right-clicking on the file and selecting Extract All...
-
From the command line, run
For details about the syntax, parameters, and behavior of configure.bat, see configure.sh.configure.bat
to configure the client. In the following examples, the-N
parameter specifies the cluster name, the-c
(lowercase) parameter specifies a client configuration, the-secure
parameter is added if the cluster is secure, the-C
(uppercase) parameter specifies the CLDB nodes, and the-HS
parameter specifies the HistoryServer node. To ensure that the client can connect in the event of a CLDB node failure, all CLDB nodes are specified. For more information about the syntax, parameters, and behavior ofconfigure.sh
, see configure.sh.- Non-secure cluster example
-
server\configure.bat -N my.cluster.com -c -C mynode01:7222,mynode02:7222,mynode03:7222 -HS nodeA
- Secure cluster example
-
server\configure.bat -N my.cluster.com -c -secure -C mynode01:7222,mynode02:7222,mynode03:7222
-
To use this client with a secure cluster or clusters, copy the
If this client will connect to multiple clusters, you must merge thessl_truststore
file from the/opt/mapr/conf
directory on the cluster to thec:\opt\mapr\conf
directory on the client.ssl_truststore
files on the server by using the/opt/mapr/server/manageSSLKeys.sh
tool, and then copy the merged file toc:\opt\mapr\conf
on the client. For an example of merging thessl_truststore
files, see step 3 in Configuring Secure Clusters for Running Commands Remotely.See Managing Secure Clusters for details on how to connect to a secure cluster.
-
At the end of the client installation, run the maprlogin password command to create a valid ticket to connect to the cluster.