Description
1. In yarn-default.xml
<property> <description>Name of the cluster. In a HA setting, this is used to ensure the RM participates in leader election fo this cluster and ensures it does not affect other clusters</description> <name>yarn.resourcemanager.cluster-id</name> <!--value>yarn-cluster</value--> </property>
Here the line 'election fo this cluster and ensures it does not affect' should be replaced with 'election for this cluster and ensures it does not affect'.
2.
org.apache.hadoop.HadoopIllegalArgumentException: Configuration doesn't specifyyarn.resourcemanager.cluster-id at org.apache.hadoop.yarn.conf.YarnConfiguration.getClusterId(YarnConfiguration.java:1336)
In the above exception message, it is missing a space between message and configuration name.