Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-45541][CORE] Add SSLFactory #43386

Closed
wants to merge 5 commits into from

Conversation

hasnain-db
Copy link
Contributor

What changes were proposed in this pull request?

As titled - add a factory which supports creating SSL engines, and a corresponding builder for it. This will be used in a follow up PR by the TransportContext and related files to add SSL support.

Why are the changes needed?

We need a mechanism to initialize the appropriate SSL implementation with the configured settings (such as protocol, ciphers, etc) for RPC SSL support.

Does this PR introduce any user-facing change?

No

How was this patch tested?

existing tests. This will be more thoroughly tested in a follow up PR which adds callsites to it. It has been integration tested as part of #42685

Was this patch authored or co-authored using generative AI tooling?

No

@hasnain-db
Copy link
Contributor Author

test failures looked unrelated, retrying now though.

@github-actions github-actions bot added the CORE label Oct 16, 2023
@hasnain-db
Copy link
Contributor Author

cc @mridulm @JoshRosen now that tests are green

Copy link
Contributor

@mridulm mridulm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a quick pass through the change, will go over the PR again in more detail later this week.

Copy link
Contributor

@mridulm mridulm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of nits.
Can you update to master and retrigger the tests please ? Let us see if we can get a clean build (though the failures are not related)

@hasnain-db
Copy link
Contributor Author

will re-request review once CI comes back

Copy link
Contributor

@mridulm mridulm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, will wait for CI to succeed.

@hasnain-db
Copy link
Contributor Author

thanks! some jobs failed, rerunning them so hopefully there is a green CI in the morning

@mridulm mridulm closed this in 2709426 Oct 22, 2023
@mridulm
Copy link
Contributor

mridulm commented Oct 22, 2023

The test failure is unrelated to this PR.
Merging to master.

Thanks for fixing this @hasnain-db !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants