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

[BEAM-6182] Disable conscrypt by default #7203

Merged
merged 3 commits into from Dec 5, 2018
Merged

Conversation

aaltay
Copy link
Member

@aaltay aaltay commented Dec 5, 2018

Changing the default because conscrypt is continuing to cause stability issues. This change only affects Dataflow runner.


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

@aaltay
Copy link
Member Author

aaltay commented Dec 5, 2018

cc: @chamikaramj (We may need to cherry pick this to the release branch.)

Copy link
Contributor

@swegner swegner left a comment

Choose a reason for hiding this comment

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

Please tag this PR with the associated JIRA.

A few minor comments, otherwise LGTM

"Dataflow runner uses conscrypt by default for SSL. To disable this feature, "
+ "pass pipeline option --experiments={}",
"Dataflow runner is using conscrypt SSL. To disable this feature, "
+ "remove the pipeline option --experiments={}",
experimentName);
Security.insertProviderAt(new OpenSSLProvider(), 1);
} else {
LOG.info(
Copy link
Contributor

Choose a reason for hiding this comment

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

I would demote this to debug log. Since the Beam default is now consistent with Java default, it seems like it will be noise for most users.

Copy link
Member Author

Choose a reason for hiding this comment

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

I would like to keep it as an info since this is a change in behavior for Dataflow runner.

@aaltay aaltay changed the title Disable conscrypt by default [BEAM-6182] Disable conscrypt by default Dec 5, 2018
@aaltay
Copy link
Member Author

aaltay commented Dec 5, 2018

Thank you @swegner. Addressed your questions. Will merge this after tests pass.

@aaltay aaltay merged commit 9448dba into apache:master Dec 5, 2018
aaltay added a commit to aaltay/beam that referenced this pull request Dec 5, 2018
chamikaramj added a commit that referenced this pull request Dec 5, 2018
@aaltay aaltay deleted the cons2 branch December 20, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants