Community Articles

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

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

https://ambari.apache.org/1.2.5/installing-hadoop-using-ambari/content/reference_chap2_7.html

.

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

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_HDP_Reference_Guide/content/accumulo-por...

.

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

yarn.app.mapreduce.am.job.client.port-range=32000-65000 

Notes:

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!! :)

2,293 Views