If your distribution
is running MapReduce 2 and YARN, the SAS Embedded Process installation
automatically sets the HCatalog CLASSPATH in the ep-config.xml file.
Otherwise, you must manually include the HCatalog JAR files in either
the MapReduce 2 library or the Hadoop CLASSPATH. For Hadoop distributions
that run with MapReduce 1, you must also manually add the HCatalog
CLASSPATH to the MapReduce CLASSPATH.
Here is an example for
a Cloudera distribution.
<property>
<name>mapreduce.application.classpath</name>
<value>/EPInstallDir/SASEPHome/jars/sas.hadoop.ep.apache205.jar,/EPInstallDir
/SASEPHome/jars/sas.hadoop.ep.apache205.nls.jar,/opt/cloudera/parcels/
CDH-5.2.0-1.cdh5.2.0.p0.36/bin/../lib/hive/lib/*,
/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hive-hcatalog/libexec/
../share/hcatalog/*,/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/
lib/hive-hcatalog/libexec/../share/hcatalog/storage-handlers/hbase/lib/*,
$HADOOP_MAPRED_HOME/*,$HADOOP_MAPRED_HOME/lib/*,$MR2_CLASSPATH</value>
</property>
Here is an example for
a Hortonworks distribution.
<property>
<name>mapreduce.application.classpath</name>
<value>/EPInstallDir/SASEPHome/jars/sas.hadoop.ep.apache205.jar,/SASEPHome/
jars/sas.hadoop.ep.apache205.nls.jar,/usr/lib/hive-hcatalog/libexec/
../share/hcatalog/*,/usr/lib/hive-hcatalog/libexec/../share/hcatalog/
storage-handlers/hbase/lib/*,/usr/lib/hive/lib/*,$HADOOP_MAPRED_HOME/
share/hadoop/mapreduce/*,$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/
lib/*</value>
</property>