Cisco Cisco Workload Automation 6.3 User Guide

Page of 34
11
Configuring the Hive Adapter
Configuring the Hive Adapter
Here is an example for MapR:
<properties>
<Hadoop.version>2.7.0-mapr-1602</Hadoop.version>
<Hive.version>1.2.0-mapr-1605</Hive.version>
<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 Hive Adapter
The service.props file contains optional parameters that can also be set to control things like logging and connections. 
To configure the Hive adapter:
1.
Stop the Master. 
2.
In the {207463B0-179B-41A7-AD82-725A0497BF42} directory, create a Config subdirectory.
3.
If necessary, create the service.props file in the Config directory (see 
).
4.
(Optional) Modify the properties in service.props as desired to control polling, output, and log gathering. See 
5.
Restart the Master.
Licensing an Adapter
Each CWA Adapter must be separately licensed. You cannot use an Adapter until you apply the license file. If you 
purchase the Adapter after the original installation of CWA, you will receive a new license file authorizing the use of the 
Adapter. 
You might have a Demo license which is good for 30 days, or you might have a Permanent license. The procedures to 
install these license files are described below.
To license an Adapter:
1.
Stop the master:
Windows:
a.
Click 
on Start
 and select All 
Programs>Cisco Workload Automation>Scheduler>Service Control 
Manager
.
b.
Verify that the master is displayed in the 
Service
 list and click on the 
Stop
 button to stop the master.
UNIX:
Enter 
tesm stop