Edit YARN site XML file
If you are using YARN, you must verify that the following parameters are set in the yarn-site.xml file.
Perform the following steps to edit the yarn-site.xml file:
Navigate to the
*<username>*/.pentaho/metastore/pentaho/NamedCluster/Configs/*<user-defined connection name>*directory and open theyarn-site.xmlfile.Add these values:
Parameter
Value
yarn.application.classpath
Add the classpaths needed to run YARN applications, as shown in the following example:```xmlyarn.application.classpath$HADOOP_CONF_DIR,/usr/hdp/current/hadoop-client/, /usr/hdp/current/hadoop-client/lib/,/usr/hdp/current/hadoop-hdfs-client/, /usr/hdp/current/hadoop-hdfs-client/lib/,/usr/hdp/current/hadoop-yarn-client/, /usr/hdp/current/hadoop-yarn-client/lib/
Use commas to separate multiple paths.
</td></tr><tr><td>
**yarn.resourcemanager.hostname**
</td><td>
Update the hostname in your environment or use the default: sandbox.hortonworks.com
</td></tr><tr><td>
**yarn.resourcemanager.address**
</td><td>
Update the hostname and port for your environment.
</td></tr><tr><td>
**yarn.resourcemanager.admin.address**
</td><td>
Update the hostname and port for your environment.
</td></tr></tbody>
</table>3. Save and close the file.
Last updated

