Cisco Cisco Workload Automation 6.3 User Guide

Page of 46
12
Configuring the MapReduce Adapter
Configuring the Adapter
<Sqoop.version>1.4.6-mapr-1601</Sqoop.version>
<Mapr.version>5.1.0-mapr</Mapr.version>
</properties>
5.
From the directory containing the Hadoop distribution you want, execute this command:
mvn dependency:copy-dependencies -DoutputDirectory=<directory to which you want to download the 
jars>
For example, running the following command from the CDH directory:
mvn dependency:copy-dependencies -DoutputDirectory=C:\CDHlib
would insert the Cloudera Hadoop client libraries to the “C:\CDHlib” directory. 
Configuring the Adapter
This section describes the requirements and configuration tasks:
 for information about general and adapter-specific properties that can be set to 
control things like logging and connection properties. 
MapR Client Software Requirements
When using MapR:
MapR Client software must be configured on the CWA master machine.
MapR Client software must be configured appropriately using the link http:// 
www.mapr.com/doc/display/MapR/Setting+Up+the+Client. The Adapter will not work unless there is confirmed 
communication between the client and cluster.
Although MapR does not support user impersonation from Windows, spoofing is supported. Refer 
http://doc.mapr.com/display/MapR/Setting+Up+the+Client#Configuring%20MapR%20Client%20User%20on%20W
indows.
The Hadoop client libraries must be downloaded as described in 
.
When using the MapR distribution, service.props must be modified for your platform. See 
 for more information about service.props 
configuration. 
If the MapR setup is configured to use Kerberos, open "mapr.login" file in the MapR client and edit the 
hadoop_default_keytab entry to have the following:
 com.sun.security.auth.module.Krb5LoginModule required
      useKeyTab=true
  principal="<<user principle>>"
  keyTab="<<Path to the keytab file>>";
An example the hadoop_default_keytab entry could look as follows:
hadoop_default_keytab {
  
  com.sun.security.auth.module.Krb5LoginModule required
      useKeyTab=true
  doNotPrompt=false