Created 06-14-2016 02:48 PM
Hortonworks documentation says 8050 but yarn-default.xml says 8032. Also when I do netstat on resource manager node, it give 8032 port where resource manager is connecting and not 8050. I have got reference from one of the questions asked in community and it says this is a bug but might be a documentation error and docment team from Hortonworks has confirmed the port is 8032. See the below link and the update provided by Artem Ervits in the end:
Could anyone confirm and let me know if its being resolved?
@Artem Ervits @Neeraj Sabharwal @pardeep
Created 06-15-2016 03:11 AM
In YARN HA, the property "yarn.resourcemanager.address" is redundant and instead "yarn.resourcemanager.address.X" is the one which is used.
.
1.) Ambari UI for YARN, shows only the property - yarn.resourcemanager.address And it uses port 8050 by default.
.
2.) In YARN UI, for the yarn configuration, the property is : yarn.resourcemanager.address.X yarn.resourcemanager.address.Y and they are using port 8032 by default.
.
Ambari UI does not explicitly shows "yarn.resourcemanager.address.X" or "yarn.resourcemanager.address.Y", rather only shows "yarn.resourcemanager.address".
.
In case if the requirement is to use a different port for the YARN HA ( other than 8032 ), then we can add "yarn.resourcemanager.address.X" and "yarn.resourcemanager.address.Y" in Ambari UI for customer yarn configuration.
.
Hope this information helps!
Happy Hadooping 🙂
Created 06-14-2016 06:32 PM
The port is 8050.
Also you can verify by checking in /etc/hadoop/conf/yarn-site.xml for property 'yarn.resourcemanager.address'
Created 06-14-2016 07:09 PM
Created 06-15-2016 06:20 AM
Yes, I have RM HA
Created 06-15-2016 03:11 AM
In YARN HA, the property "yarn.resourcemanager.address" is redundant and instead "yarn.resourcemanager.address.X" is the one which is used.
.
1.) Ambari UI for YARN, shows only the property - yarn.resourcemanager.address And it uses port 8050 by default.
.
2.) In YARN UI, for the yarn configuration, the property is : yarn.resourcemanager.address.X yarn.resourcemanager.address.Y and they are using port 8032 by default.
.
Ambari UI does not explicitly shows "yarn.resourcemanager.address.X" or "yarn.resourcemanager.address.Y", rather only shows "yarn.resourcemanager.address".
.
In case if the requirement is to use a different port for the YARN HA ( other than 8032 ), then we can add "yarn.resourcemanager.address.X" and "yarn.resourcemanager.address.Y" in Ambari UI for customer yarn configuration.
.
Hope this information helps!
Happy Hadooping 🙂
Created 06-17-2016 08:22 AM
@Kuldeep Kulkarni , I tried this suggestion and it worked for me but oozie and spark jobs failed as they are not able to connect to current active RM. I had to manually switchover RM then restarted oozie and spark, then jobs started running. Weird though 🙂
Anyways do you have any document or KB Article related to your suggetsion where this is shown or described.
Again, Thanks for your time 🙂
Created 06-17-2016 05:07 PM
Ideally you should not worry about connecting to active RM.
The failover provider class takes care of that.
Created 06-19-2016 08:33 AM
@Anshul Sisodia - You are welcome! 🙂 Please accept the answer if you thing it has helped you.
Created 07-18-2018 07:11 AM
@Anshul Sisodia Should X and Y ports be different?
Created 06-15-2016 06:18 AM
Then why it is connecting to port 8032 and not 8050 in our cluster. I have HDP2.3.4. Do we need to explicitly set yarn.resourcemanager.address.X to <IP.master1>:8050 and yarn.resourcemanager.address.Y to
<IP.master2>:8050 in yarn-site.xml