Edit YARN site XML file
If you are using YARN, set the following parameters 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.xml
file.Add the following values:
Parameter
Value
yarn.resourcemanager.hostname
Set this property to the hostname of the resource manager in your environment, as shown in the following example.```xmlyarn.resourcemanager.hostnamehdfs://<active node name in the cluster>
</td></tr><tr><td>
**yarn.resourcemanager.address**
</td><td>
Set this poperty to the hostname and port for your environment. For example, `<value>hdfs://*<active node name in the cluster>*:8050</value>`
</td></tr><tr><td>
**yarn.resourcemanager.admin.address**
</td><td>
Set this property to the hostname and port for your environment. For example, `<value>hdfs://*<active node name in the cluster>*:8141</value>`
</td></tr></tbody>
</table>3. Save and close the file.
Last updated
Was this helpful?