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:

  1. Navigate to the location where you have saved the previously edited site configuration files and open the yarn-site.xml file.

  2. 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, &#x3C;value>hdfs://*&#x26;lt;active node name in the cluster&#x26;gt;*:8050&#x3C;/value>
</td></tr><tr><td>
yarn.resourcemanager.admin.address
</td><td>
Set this property to the hostname and port for your environment. For example, &#x3C;value>hdfs://*&#x26;lt;active node name in the cluster&#x26;gt;*:8141&#x3C;/value>
</td></tr></tbody>
</table>3.  Save and close the file.

Note: You will have to edit the named connection and upload the edited site configuration file in order for this change to take effect.

Last updated

Was this helpful?