Restricting Application Manager in YARN to Specific Port Range

Document created by mufeed on Feb 13, 2016
Version 1Show Document
  • View in full screen mode

Author: Mufeed Usman

 

Original Publication Date: March 31, 2015

 

 

Symptom/Requirement:

If as part of securing your environment, you've a policy of restricting application port usage to a specific range, you could very well have that in place for AM in YARN context. As not having this in place will limit your visibility into active job progress/status even though the job successfully completes.

 

Solution:

For the above have the following entry added to mapred-site.xml on all the nodes.

<property> 
     <name>yarn.app.mapreduce.am.job.client.port-range</name>
     <value>47000-48000</value>
</property>

Followed by a Warden restart on all the nodes.

Attachments

    Outcomes