Github user mateiz commented on a diff in the pull request: https://github.com/apache/spark/pull/4216#discussion_r23719735 --- Diff: core/src/main/scala/org/apache/spark/deploy/master/Master.scala --- @@ -121,6 +122,17 @@ private[spark] class Master( throw new SparkException("spark.deploy.defaultCores must be positive") } + // Alternative application submission gateway that is stable across Spark versions + private val restServerEnabled = conf.getBoolean("spark.master.rest.enabled", true) + private val restServer = + if (restServerEnabled) { + val port = conf.getInt("spark.master.rest.port", 17077) --- End diff -- We can use the "find free port" code to increment it if there's a collision, so I'd rather just pick a number that's easy to remember by default. Especially if this might eventually become the main protocol for app submission.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org