chong0929 opened a new pull request, #37721: URL: https://github.com/apache/spark/pull/37721
### What changes were proposed in this pull request? Port range specification is supported by specifying the starting port and configuring the number of port retries.Introduction of two new parameters: 1. spark.service.port.custom=false 2. spark.service.port.custom.origin=49152 Service like SparkUI.port, SparkDriver.port, NettyService.port etc. The starting port number is spark.service.port.custom.origin and the port range is limited by spark.port.maxRetries. e.g. spark.service.port.custom.origin=49152 and spark.port.maxRetries=10, the actual range of the port is greater than or equal to 49152 and less than 49163 ### Why are the changes needed? In a real production environment, there are some special scenarios where we need to limit the scope of the service port. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? new ut -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
