If you run the
Hadoop tracer script on Hortonworks, there are two additional configuration items.
-
You must manually revise all occurrences
of
${hdp.version} in the mapred-site.xml property file on the
SPD Server machine. 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 Hortonworks version is 2.2.0.0-2041
and replaces ${hdp.version} in the
mapreduce.application.framework.path property.
Change
the following code:
<property>
<name>mapreduce.application.framework.path</name>
<value>/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework</value>
</property>The code above should be replaced
with this code:
<property>
<name>mapreduce.application.framework.path </name>
<value>/hdp/apps/2.2.0.0-2041/mapreduce/mapreduce.tar.gz#mr-framework</value>
</property>
-
If you are running on a Windows client, you must manually add the following property
to the mapred-site.xml file on the SAS client side. Otherwise, an error occurs when
you submit a program to Hadoop.
<property>
<name>mapreduce.app-submission.cross-platform</name>
<value>true</value>
</property>