-
- Downloads
[SPARK-17874][CORE] Add SSL port configuration.
Make the SSL port configuration explicit, instead of deriving it from the non-SSL port, but retain the existing functionality in case anyone depends on it. The change starts the HTTPS and HTTP connectors separately, so that it's possible to use independent ports for each. For that to work, the initialization of the server needs to be shuffled around a bit. The change also makes it so the initialization of both connectors is similar, and end up using the same Scheduler - previously only the HTTP connector would use the correct one. Also fixed some outdated documentation about a couple of services that were removed long ago. Tested with unit tests and by running spark-shell with SSL configs. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #16625 from vanzin/SPARK-17874.
Showing
- core/src/main/scala/org/apache/spark/SSLOptions.scala 9 additions, 0 deletionscore/src/main/scala/org/apache/spark/SSLOptions.scala
- core/src/main/scala/org/apache/spark/ui/JettyUtils.scala 102 additions, 85 deletionscore/src/main/scala/org/apache/spark/ui/JettyUtils.scala
- core/src/main/scala/org/apache/spark/util/Utils.scala 9 additions, 2 deletionscore/src/main/scala/org/apache/spark/util/Utils.scala
- core/src/test/scala/org/apache/spark/SSLOptionsSuite.scala 2 additions, 0 deletionscore/src/test/scala/org/apache/spark/SSLOptionsSuite.scala
- core/src/test/scala/org/apache/spark/ui/UISuite.scala 27 additions, 1 deletioncore/src/test/scala/org/apache/spark/ui/UISuite.scala
- docs/configuration.md 14 additions, 0 deletionsdocs/configuration.md
- docs/security.md 1 addition, 1 deletiondocs/security.md
Loading
Please register or sign in to comment