[ 
https://issues.apache.org/jira/browse/SPARK-41719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shrikant Prasad updated SPARK-41719:
------------------------------------
    Description: 
If ${ns}.enabled is false, there is no use of setting rest of ${ns}.* settings 
in SSLOptions as this requires unnecessary operations to be performed to set 
these properties. 

As per SSLOptions,
 * SSLOptions is intended to provide the maximum common set of SSL settings, 
which are supported
 * by the protocol, which it can generate the configuration for.
*
 * @param enabled enables or disables SSL; *if it is set to false, the rest of 
the settings are disregarded*

  was:
If ${ns}.enabled is false, there is no use of setting rest of ${ns}.* settings 
in SSLOptions as this requires unnecessary operations to be performed to set 
these properties. 

As per SSLOptions,
 * SSLOptions is intended to provide the maximum common set of SSL settings, 
which are supported
* by the protocol, which it can generate the configuration for.
*
* @param enabled enables or disables SSL; *if it is set to false, the rest of 
the*
** settings are disregarded*


> Spark SSL Options should be set only when ssl is enabled
> --------------------------------------------------------
>
>                 Key: SPARK-41719
>                 URL: https://issues.apache.org/jira/browse/SPARK-41719
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.2.4
>            Reporter: Shrikant Prasad
>            Priority: Major
>
> If ${ns}.enabled is false, there is no use of setting rest of ${ns}.* 
> settings in SSLOptions as this requires unnecessary operations to be 
> performed to set these properties. 
> As per SSLOptions,
>  * SSLOptions is intended to provide the maximum common set of SSL settings, 
> which are supported
>  * by the protocol, which it can generate the configuration for.
> *
>  * @param enabled enables or disables SSL; *if it is set to false, the rest 
> of the settings are disregarded*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to