-
Notifications
You must be signed in to change notification settings - Fork 513
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
Java 17 support #4597
Comments
Hi @clairemcginty looked into this recently on other projects. This can probably be useful? twitter/chill#692 (comment) |
@regadas ha, I just found that link-hopping through the Kryo Java17 ticket! the jvm opt workaround seems to fix about 90% of Kryo-related errors, I just need to track down the remaining few :) ty! |
Started a branch for Scio+Java 17: https://github.com/spotify/scio/compare/java_17 Adding the java opts seems to solve about 75% of the errors, but there are still a few Kryo-related error that need to be tracked down. |
It's odd, even with the java 17
I'm wondering if it's because we're on a lower version of Kryo (kryo-shaded stopped being published after 4.x, recommendation seems to be to use the versioned jar). Unfortunately, kryo 5.x has some breaking changes that conflict with the version used in Chill... 🤷♀️ |
it looks like the culprit here is JavaOptions being ignored when So there are three potential solutions I think:
Solution 3 might be fine in the short term since we still do most active development with Java 11. |
Java 17 has been supported in Dataflow as of Beam 2.37.0. Currently several of Scio's unit tests fail when run with java 17, mostly Kryo related.
The text was updated successfully, but these errors were encountered: