Community Articles

Find and share helpful community-sourced technical articles.
Celebrating as our community reaches 100,000 members! Thank you!
Super Guru

Step1: Please allow below ports from your OS firewall for Ambari.


Step2: Please go though the required component and allow below ports from your OS firewall for HDP.


Step 3: In order to allow YARN jobs to run successfully, we need to add custom TCP port range to the YARN configuration.

Login to Ambari UI --> Select Mapreduce2 --> Configs --> Customer mapred-site --> Add/Modify below property 


1. 32000-65000 is the port range which will be used by Application Master to connect to Node Managers. .

2. You can increase the number of ports based on job volume.


How to add exception in Centos7 firewall?

Example for Step 3.

#firewall-cmd --permanent --zone=public --add-port=32000-65000/tcp
#firewall-cmd --reload 

Please comment if you have any feedback/questions/suggestions. Happy Hadooping!! :)