Shrikant Prasad created SPARK-41719:
---------------------------------------

             Summary: 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


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