You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by vanzin <gi...@git.apache.org> on 2017/01/17 22:42:22 UTC

[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

GitHub user vanzin opened a pull request:

    https://github.com/apache/spark/pull/16625

    [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 removed some outdated documentation about a SSL config namespace
    that was removed a long time ago.
    
    Tested with unit tests and by running spark-shell with SSL configs.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vanzin/spark SPARK-17874

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16625.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16625
    
----
commit 409a6438585c79e20648a23849560ead09743325
Author: Marcelo Vanzin <va...@cloudera.com>
Date:   2017-01-17T19:31:17Z

    [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 removed some outdated documentation about a SSL config namespace
    that was removed a long time ago.
    
    Tested with unit tests and by running spark-shell with SSL configs.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/16625


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Unless I hear back I'll push this tomorrow morning.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #72470 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72470/testReport)** for PR 16625 at commit [`a3f551b`](https://github.com/apache/spark/commit/a3f551b7e5d58b0f2933a9a48e7e928171e152b2).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71534/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by sarutak <gi...@git.apache.org>.
Github user sarutak commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r99538768
  
    --- Diff: docs/configuration.md ---
    @@ -1797,6 +1797,20 @@ Apart from these, the following properties are also available, and may be useful
             </td>
         </tr>
         <tr>
    +        <td><code>spark.ssl.[namespace].port</code></td>
    --- End diff --
    
    How about saying `spark.ssl.port` instead to be consistent with any other property related to SSL?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71622/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #72054 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72054/testReport)** for PR 16625 at commit [`f6825d1`](https://github.com/apache/spark/commit/f6825d1ee93926fc3eb14b028a5d883caf0784ae).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71622 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71622/testReport)** for PR 16625 at commit [`ced09ce`](https://github.com/apache/spark/commit/ced09ced6bf3c85543b717bce2023705aaf5cc6e).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    @sarutak want to look at this since you looked at the somewhat mildly related PR?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71543 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71543/testReport)** for PR 16625 at commit [`6b7ff08`](https://github.com/apache/spark/commit/6b7ff08f8e0930566324d6877b18253d3952ac3c).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71551 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71551/testReport)** for PR 16625 at commit [`a429135`](https://github.com/apache/spark/commit/a429135e1db940d95bed95c8357a80ba3a79de62).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by sarutak <gi...@git.apache.org>.
Github user sarutak commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    I'll take a look at this during this week.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71543 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71543/testReport)** for PR 16625 at commit [`6b7ff08`](https://github.com/apache/spark/commit/6b7ff08f8e0930566324d6877b18253d3952ac3c).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #72470 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72470/testReport)** for PR 16625 at commit [`a3f551b`](https://github.com/apache/spark/commit/a3f551b7e5d58b0f2933a9a48e7e928171e152b2).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71551 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71551/testReport)** for PR 16625 at commit [`a429135`](https://github.com/apache/spark/commit/a429135e1db940d95bed95c8357a80ba3a79de62).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r96544456
  
    --- Diff: core/src/main/scala/org/apache/spark/SSLOptions.scala ---
    @@ -164,6 +167,11 @@ private[spark] object SSLOptions extends Logging {
       def parse(conf: SparkConf, ns: String, defaults: Option[SSLOptions] = None): SSLOptions = {
         val enabled = conf.getBoolean(s"$ns.enabled", defaultValue = defaults.exists(_.enabled))
     
    +    val port = conf.getOption(s"$ns.port").map(_.toInt)
    +    port.foreach { p =>
    +      require(p >= 0, "Port number must be a positive value.")
    --- End diff --
    
    nit. `positive` -> `non-negative`?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71534 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71534/testReport)** for PR 16625 at commit [`409a643`](https://github.com/apache/spark/commit/409a6438585c79e20648a23849560ead09743325).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71622 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71622/testReport)** for PR 16625 at commit [`ced09ce`](https://github.com/apache/spark/commit/ced09ced6bf3c85543b717bce2023705aaf5cc6e).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by sarutak <gi...@git.apache.org>.
Github user sarutak commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r99540452
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/JettyUtils.scala ---
    @@ -394,8 +410,7 @@ private[spark] object JettyUtils extends Logging {
             val httpsURI = createRedirectURI(scheme, baseRequest.getServerName, securePort,
               baseRequest.getRequestURI, baseRequest.getQueryString)
             response.setContentLength(0)
    -        response.encodeRedirectURL(httpsURI)
    --- End diff --
    
    Nice catch.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71551/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72470/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72054/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r99668339
  
    --- Diff: docs/security.md ---
    @@ -49,10 +49,6 @@ component-specific configuration namespaces used to override the default setting
         <th>Component</th>
       </tr>
       <tr>
    -    <td><code>spark.ssl.fs</code></td>
    --- End diff --
    
    Hmmm... that code is actually being used, but not to set up the file server, but to configure HTTP clients that download from SSL-enabled servers. Let me see about making that clear in the configuration docs.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by sarutak <gi...@git.apache.org>.
Github user sarutak commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    LGTM. Merging into `master`. Thanks!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by sarutak <gi...@git.apache.org>.
Github user sarutak commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r99540244
  
    --- Diff: docs/security.md ---
    @@ -49,10 +49,6 @@ component-specific configuration namespaces used to override the default setting
         <th>Component</th>
       </tr>
       <tr>
    -    <td><code>spark.ssl.fs</code></td>
    --- End diff --
    
    The namespace `fs` seems to be still referred (https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/SecurityManager.scala#L259 ).
    We shouldn't remove this description should we?
    
    Also it's chance to modify the description about the namespace in `SecurityManager.scala`.
    
    ```
     *  All the SSL settings like `spark.ssl.xxx` where `xxx` is a particular configuration property,
     *  denote the global configuration for all the supported protocols. In order to override the global
     *  configuration for the particular protocol, the properties must be overwritten in the
     *  protocol-specific namespace. Use `spark.ssl.yyy.xxx` settings to overwrite the global
     *  configuration for particular protocol denoted by `yyy`. Currently `yyy` can be only`fs` for
     *  broadcast and file server.
    ```


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71543/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r99667702
  
    --- Diff: docs/configuration.md ---
    @@ -1797,6 +1797,20 @@ Apart from these, the following properties are also available, and may be useful
             </td>
         </tr>
         <tr>
    +        <td><code>spark.ssl.[namespace].port</code></td>
    --- End diff --
    
    This was intentional. "spark.ssl.port" doesn't make that much sense if you think about it; you want things like the master UI and history server UI to have different, well known ports, so having this shared config key here doesn't make a lot of sense. For the other configs, such as algorithms and keystore locations, sharing configuration is ok.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #71534 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/71534/testReport)** for PR 16625 at commit [`409a643`](https://github.com/apache/spark/commit/409a6438585c79e20648a23849560ead09743325).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    **[Test build #72054 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72054/testReport)** for PR 16625 at commit [`f6825d1`](https://github.com/apache/spark/commit/f6825d1ee93926fc3eb14b028a5d883caf0784ae).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/16625
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r96539560
  
    --- Diff: docs/configuration.md ---
    @@ -1781,11 +1781,25 @@ Apart from these, the following properties are also available, and may be useful
             </td>
         </tr>
         <tr>
    +        <td><code>spark.ssl.[namespace].port</code></td>
    +        <td>None</td>
    +        <td>
    +            The port where the SSL service will listen on.
    +
    +            <br />The port must be defined within a namespace configuration; see
    +            <a href="security.html#ssl-configuration">SSL Configuration</a> for the available
    +            namespaces.
    +
    +            <br />When not set, the SSL port will be derived from the non-SSL port for the
    +            same service. A value of "0" will make the service bind to an ephemeral port.
    +        </td>
    +    </tr>
    +    <tr>
             <td><code>spark.ssl.enabledAlgorithms</code></td>
             <td>Empty</td>
             <td>
                 A comma separated list of ciphers. The specified ciphers must be supported by JVM.
    -            The reference list of protocols one can find on
    +            The reference list of protocols one can found on
    --- End diff --
    
    oops.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #16625: [SPARK-17874][core] Add SSL port configuration.

Posted by ajbozarth <gi...@git.apache.org>.
Github user ajbozarth commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16625#discussion_r96533272
  
    --- Diff: docs/configuration.md ---
    @@ -1781,11 +1781,25 @@ Apart from these, the following properties are also available, and may be useful
             </td>
         </tr>
         <tr>
    +        <td><code>spark.ssl.[namespace].port</code></td>
    +        <td>None</td>
    +        <td>
    +            The port where the SSL service will listen on.
    +
    +            <br />The port must be defined within a namespace configuration; see
    +            <a href="security.html#ssl-configuration">SSL Configuration</a> for the available
    +            namespaces.
    +
    +            <br />When not set, the SSL port will be derived from the non-SSL port for the
    +            same service. A value of "0" will make the service bind to an ephemeral port.
    +        </td>
    +    </tr>
    +    <tr>
             <td><code>spark.ssl.enabledAlgorithms</code></td>
             <td>Empty</td>
             <td>
                 A comma separated list of ciphers. The specified ciphers must be supported by JVM.
    -            The reference list of protocols one can find on
    +            The reference list of protocols one can found on
    --- End diff --
    
    pretty sure it was grammatically correct before


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org