I have tried setting yarn.app.mapreduce.am.job.client.port-range to a specific range, but it doesn't look like that is the right setting.
I have seen it use ports ranging from 32000 - 65000
From what I have seen these are IPC ephemeral ports.
Is there anyway to control the range on these?
I made the following in YARN/MR setting, but it doesn't work.
YARN Service MapReduce Advanced Configuration Snippet (Safety Valve)
<description>Restrict the range for firewall.</description>
For advanced use only, a string to be inserted into mapred-site.xml. Applies to configurations of all roles in this service except client configuration.
When you say something "doesn't work" could you please also always include the observed behaviour vs. expected?
BTW the safety valve you've used is incorrect ("YARN Service MapReduce …"), as this is a client-side property. Use the safety valve under YARN Gateway called "MapReduce Client Advanced Configuration Snippet (Safety Valve) for mapred-site.xml".
Thanks for replying. I think that I use the correct setting since this should be on the server side.