Closed Sevenannn closed 4 months ago
@Sevenannn Good call. I probably overlooked this because this error never popped up when running spark connect locally.
I created PR #39 to correct this.
@sjrusso8 Thanks for taking a look at this! The PR looks good to me
I already have a fix in mind for this issue, and I can make a PR if this issue is reviewed and approved, thanks!
Description
The current spark-connect-rs library configures all endpoints to
https
scheme. Whentls
feature is enabled, connection cannot be successfully made to server without TLS configured, for example, when connecting to a Spark cluster set up at localhostExpected Behavior
When
tls
feature is enabled in spark-connect-rs crate, connection to server with / without TLS configured should both be successfulProposed Fix
Default endpoint scheme to
http
, set it tohttps
only whenuse_ssl=true
is specified in connection stringRelated Issue