Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/1107#discussion_r15621064
--- Diff: core/src/main/scala/org/apache/spark/HttpServer.scala ---
@@ -41,45 +42,54 @@ private[spark] class ServerStateException(message:
String) extends Exception(mes
* as well as classes created by the interpreter when the user types in
code. This is just a wrapper
* around a Jetty server.
*/
-private[spark] class HttpServer(resourceBase: File, securityManager:
SecurityManager)
- extends Logging {
+private[spark] class HttpServer(resourceBase: File,
+ securityManager: SecurityManager,
+ localPort: Int = 0) extends Logging {
--- End diff --
could this be called `requestedPort` to make it a bit more clear?
---
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.
---