Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/18555#discussion_r126293557
--- Diff:
core/src/main/scala/org/apache/spark/internal/config/package.scala ---
@@ -231,6 +315,9 @@ package object config {
private[spark] val BLOCK_MANAGER_PORT =
ConfigBuilder("spark.blockManager.port")
.doc("Port to use for the block manager when a more specific setting
is not provided.")
.intConf
+ .checkValue(v => v == 0 || (1024 <= v && v < 65536),
--- End diff --
Maybe we should let user to decide whether to bind to a privileged port.
Taking an assumption here may potentially break some use cases.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]