Note: If you used the SAS Deployment
Manager to install the SAS Embedded Process, this configuration task
is not necessary. It was completed using the SAS Deployment Manager.
If you are installing
the SAS Embedded Process on Hortonworks 2.2, you must manually revise
the following properties in the mapred-site.xml property file on the
SAS client side. Otherwise, an error occurs when you submit a program
to Hadoop.
Use the
hadoop
version
command to determine the exact version number
of your distribution to use in place of
${hdp.version}
.
This example assumes that the current version is 2.2.0.0-2041.
mapreduce.application.framework.path
Change
/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework
to
/hdp/apps/2.2.0.0-2041/mapreduce/mapreduce.tar.gz#yarn
mapreduce.application.classpath
Change
$PWD/mr-framework/hadoop/share/hadoop/mapreduce/*:$PWD/mr-framework/
hadoop/share/hadoop/mapreduce/lib/*:$PWD/mr-framework/hadoop/share/
hadoop/common/*:$PWD/mr-framework/hadoop/share/hadoop/common/lib/*:$PWD/
mr-framework/hadoop/share/hadoop/yarn/*:$PWD/mr-framework/hadoop/share/hadoop/
yarn/lib/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/*:$PWD/mr-framework/
hadoop/share/hadoop/hdfs/lib/*:/usr/hdp/${hdp.version}/hadoop/lib/
hadoop-lzo-0.6.0.${hdp.version}.jar:/etc/hadoop/conf/secure
to
/usr/hdp/2.2.0.0-2041/hadoop-mapreduce/*:/usr/hdp/2.2.0.0-2041/hadoop-mapreduce/
lib/*:/usr/hdp/2.2.0.0-2041/hadoop/*:/usr/hdp/2.2.0.0-2041/hadoop/lib/
*:/usr/hdp/2.2.0.0-2041/hadoop-yarn/*:/usr/hdp/2.2.0.0-2041/hadoop-yarn/lib/
*:/usr/hdp/2.2.0.0-2041/hadoop-hdfs/*:/usr/hdp/2.2.0.0-2041/hadoop-hdfs/lib/
*:/usr/hdp/2.2.0.0-2041/hadoop/lib/hadoop-lzo-0.6.0.2.2.0.0-2041.jar:/etc/
hadoop/conf/secure
yarn.app.mapreduce.am.admin-command-opts
Change
-Dhdp.version=${hdp.version}
to
-Dhdp.version=2.2.0.0-2041
yarn.app.mapreduce.am.command-opts
Change
-Xmx410m -Dhdp.version=${hdp.version}
to
-Xmx410m -Dhdp.version=2.2.0.0-2041
Note: If you upgrade your Hortonworks
distribution and the version changes, you need to make this update
again.