-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Upgrade to Java 11 #451
Upgrade to Java 11 #451
Conversation
Hi @Yanson. Thanks for your PR. I'm waiting for a gojek member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @woop |
@Yanson One of the reason which prevented us from using Java 11, is due to Apache Beam / Dataflow does not officially supporting Java 11. So we certainly need to check if this change will affect ingestion, especially for Dataflow runner. In any case there shouldn't be any issue running the serving component on Java 11. |
/ok-to-test |
This change makes sense, but we'd need to ensure compatibility first before making the move like @khorshuheng said. |
Looking at the test failures, it seems as though they are still running on e.g. http://prow.feast.ai/prowjob?prowjob=9bf59c76-43cf-11ea-9ebf-e2420cc0b547 Is it possible to re-run with the |
We are using Java 11 for all Dataflow projects internally, and as noted our Feast build is also on Java 11. The only compatibility problem is the way in which files to upload are detected. Of course, I don't expect you to take my word for it so let's get it building on Prow as the first step. |
@woop @khorshuheng I am not familiar with prow, is there something one of us needs to do to get this to build with newly specified base images? |
By design, prow config change will only happen after the change has been merged into master. But this PR happens to be an exception where this design become unsuitable. We will be testing this on our end first, by replicating the prow test on our environment. |
@Yanson Thank you for your patience. Will be having a look at this soon. |
/retest |
1 similar comment
/retest |
/test test-end-to-end-batch |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: woop, Yanson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Yanson: Updated the
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is good for Core and Serving especially because of container runtime friendliness improvements that have come since Java 8, but I think it might be wise to continue building Ingestion with 8, given Beam support is still an open issue to-date. This would be a bit annoying since the Internally we'll probably have to maintain building Ingestion that way for quite some time, as Spark is our Beam runner. It's likely to be awhile yet before Spark 3 (now at preview stage) supporting Java 11 makes it to enterprise Hadoop distributions, cloud platforms, etc. I believe it's reasons like this that vendors are supporting OpenJDK 8 until at least 2023. |
That's disappointing to hear. As mentioned, we don't have an issue with Java 11 and Dataflow, but will likely be looking at Spark soon so if that's a showstopper we will require the change too. Unsure how we would go about multi-project maven build with different JDKs. Do you have more details on how you're using Spark as a runner? (OT but please find a place to discuss, e.g. Slack) |
What this PR does / why we need it:
Upgrade Feast to next LTS - Java 11 - since Java 8 is outdated and no longer supported.
Our internal build and testing of Feast has been on Java 11 all along, so it's fair to say there shouldn't be any problems. I'm not able to fully test because 1) slight variation in base-images for building/packaging, 2) we use a different Dockerfile that uses pre-built Jars from another step rather than a 'builder' pattern
Which issue(s) this PR fixes:
NONE
Does this PR introduce a user-facing change?: