Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Super 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!! :)

1,371 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎11-01-2016 01:38 PM
Updated by:
 
Contributors
Top Kudoed Authors