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 location where you have saved the previously edited site configuration files and open the
yarn-site.xmlfile.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://*&lt;active node name in the cluster&gt;*: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://*&lt;active node name in the cluster&gt;*:8141</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?

