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

Java 11 as Che master runtime #13180

Closed
skabashnyuk opened this issue Apr 18, 2019 · 10 comments
Closed

Java 11 as Che master runtime #13180

skabashnyuk opened this issue Apr 18, 2019 · 10 comments
Assignees
Labels
area/che-server kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@skabashnyuk
Copy link
Contributor

skabashnyuk commented Apr 18, 2019

Description

There is a couple of good things that are making reasonable to consider an upgrade Che-master runtime to Java 11.
Such as:

Things to consider.

openjdk                                                   11-slim                   5cc6ea6c24c4        13 days ago         468MB
openjdk                                                   11.0.3-jdk-slim-stretch   5cc6ea6c24c4        13 days ago         468MB
openjdk                                                   11-stretch                0aa10063a184        13 days ago         815MB
openjdk                                                   11.0.3-jdk-stretch        0aa10063a184        13 days ago         815MB
registry.access.redhat.com/openjdk/openjdk-11-rhel7       latest                    b4bc55e73486        2 weeks ago         494MB
openjdk                                                   8u191-jdk-alpine          e9ea51023687        5 weeks ago         105MB

I doubt that this issue we are able to deliver before Che 7 GA I can propose such a plan:

  1. Wait when we clean up master from CHe6 related code Eclipse Che plan regarding Docker infrastructure and GWT IDE #12243
  2. Decide what to do with che-core-dynamodule-maven-plugin. I vote for remove.
  3. Decode what image to use. I vote for openjdk:11-slim
  4. Identify dependencies that are needed to be upgraded.
@skabashnyuk skabashnyuk added kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P2 Has a minor but important impact to the usage or development of the system. team/platform labels Apr 18, 2019
@skabashnyuk skabashnyuk added this to the 7.2.0 milestone Aug 27, 2019
@skabashnyuk skabashnyuk modified the milestones: 7.2.0, 7.3.0 Sep 5, 2019
@nickboldt
Copy link
Contributor

Might be related #14545

@sparkoo
Copy link
Member

sparkoo commented Sep 19, 2019

+1 for openjdk:11-slim. It uses official signed upstream builds by Red Hat. Image itself is managed by docker guys, which should be fine. It's based on debian. I would rather have centos, but couldnt find any suitable. RHEL based images does not make sense for upstream.

@benoitf
Copy link
Contributor

benoitf commented Sep 20, 2019

I would opt it for the smallest image of the runtime for upstream
including https://hub.docker.com/r/adoptopenjdk/openjdk11/tags?page=1&name=alpine-jdk

and have alternates with newer JDK like Java 13 (even if non LTS support) https://hub.docker.com/_/openjdk?tab=tags&page=1&name=alpine and/or ubi8 images

Also this time it seems smallest image that we can get is with ubi8-minimal + java11

FROM registry.access.redhat.com/ubi8/ubi-minimal
RUN microdnf install java-11
194M Sep 20 09:26 adoptopenjdk-openjdk11-x86_64-alpine-jdk-11.0.4_11.tar.gz
214M Sep 20 09:24 openjdk:11-slim.tar.gz
147M Sep 20 09:24 ubi8-java11.tar.gz

@skabashnyuk skabashnyuk modified the milestones: 7.3.0, 7.x Sep 26, 2019
@skabashnyuk skabashnyuk modified the milestones: 7.x, Backlog - Platform Oct 10, 2019
@che-bot
Copy link
Contributor

che-bot commented Apr 8, 2020

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 8, 2020
@skabashnyuk
Copy link
Contributor Author

/remove-lifecycle stale

@skabashnyuk skabashnyuk removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 8, 2020
@nickboldt
Copy link
Contributor

Any chance this might happen in 7.13? It would be great to move Che builds up to use JDK 11, if we can. 8 is well past EOL.

@nickboldt nickboldt added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Apr 16, 2020
@benoitf
Copy link
Contributor

benoitf commented Apr 16, 2020

@nickboldt Where did you read that openjdk 8 is EOL ?

@skabashnyuk
Copy link
Contributor Author

@nickboldt
Even if we have plenty of time

EOL
January 2019 for Oracle (commercial)
December 2020 for Oracle (personal use)
At least May 2026 for AdoptOpenJDK
At least June 2023[7] for Amazon Corretto
Source : https://en.wikipedia.org/wiki/Java_version_history

I agree with you. Sooner or later we have to do that. More time we postpone this - then harder it would be to implement. I have some changes that moving this forward. I will try to provide prs for that soon.

@sleshchenko sleshchenko added area/che-server and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Apr 17, 2020
@sleshchenko
Copy link
Member

@nickboldt it already has P2 and team assigned, could you elaborate more why you added need-triage label?

@sparkoo
Copy link
Member

sparkoo commented Apr 17, 2020

I guess this is the most important source of OpenJDK support for us https://access.redhat.com/articles/1299013 -> May 2026

I'm all for moving to newer Java as soon as possible and we should aim to be on latest LTS or even on latest.

8 has currently longer support than 11, but once we update to 11, moving upwards became much much easier. Keeping us on LTS means updating once in 3 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants