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

Set default JdkAddOpenModules for Java 17 #4710

Merged
merged 3 commits into from
Feb 17, 2023
Merged

Conversation

clairemcginty
Copy link
Contributor

Required for Kryo coders to function.

If users sets the JdkAddOpenModules option in their job specifically, it will completely override these default options from Scio.

@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #4710 (351b981) into main (1c30980) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #4710      +/-   ##
==========================================
- Coverage   60.94%   60.91%   -0.03%     
==========================================
  Files         286      286              
  Lines       10467    10472       +5     
  Branches      750      758       +8     
==========================================
  Hits         6379     6379              
- Misses       4088     4093       +5     
Impacted Files Coverage Δ
...potify/scio/runners/dataflow/DataflowContext.scala 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -20,7 +20,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
java-version: 17
Copy link
Contributor

Choose a reason for hiding this comment

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

don't we want to run it in both 11 and 17?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally yes, but not sure it's worth the extra Dataflow cost... imo since our release config still targets Java 8 I think we're pretty well-covered as far as writing compatible code. wdyt?

@clairemcginty clairemcginty merged commit bd2f04e into main Feb 17, 2023
@clairemcginty clairemcginty deleted the set-java-17-worker-opts branch February 17, 2023 19:49
farzad-sedghi pushed a commit to farzad-sedghi/scio that referenced this pull request Mar 6, 2023
* Set JdkAddOpenModules for Java 17

* Check that options are null

* Run Dataflow IT test on 17
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

3 participants