I'm working with a client that needs to limit the map reduce job's port range due to security constraints. I'm running ambari 184.108.40.206 and HDP 3.1.0 (MapReduce2 - 220.127.116.11.1). I created a custom setting through Ambari > MapReduce2 > Configs > Advanced > custom mapred-site: yarn.app.mapreduce.am.job.client.port-range with the value set to 50000-55000. It doesn't seem like the setting has any impact. I still observe the m/r jobs trying to connect using a port outside of that range. Eventually the job does succeed but only after many retries.
I've seen other posts on this that indicate to use this setting, but for some reason this configuration setting doesn't seem to work for me. Therefore I decided to repost in the hopes that maybe I'm overlooking something?
I gather this issue has been fixed in the version I'm running. Any ideas or suggestions are very much appreciated, thank you!