Hi Krzysztof All the tests run with Java 11 after FLINK-13457[1]. Its fix version is set to 1.10. So, I fear 1.9.1 is not guaranteed to be running on java 11. I suggest you to wait for the release-1.10.
[1]https://issues.apache.org/jira/browse/FLINK-13457 Best, Yangze Guo On Fri, Jan 10, 2020 at 5:13 PM Krzysztof Chmielewski <[email protected]> wrote: > > Hi, > Thank you for your answer. Btw it seams that you send the replay only to my > address and not to the mailing list :) > > I'm looking forward to try out 1.10-rc then. > > Regarding second thing you wrote, that > "on Java 11, all the tests(including end to end tests) would be run with Java > 11 profile now." > I'm not sure if I get that fully. You meant that currently Flink builds are > running on java 11? > > I was not rebuilding Flink 1.9.1 sources with JDK 11. I just ran 1.9.1 build > on JRE 11 locally on my machine and > I also modify Job Cluster Dockerfile to use openjdk:13-jdk-alpine as a base > image instead openjdk:8-jre-alpine. > > Are here any users who are currently running Flink on Java 11 or higher? What > are your experiences? > > Thanks, > > pt., 10 sty 2020 o 03:14 Yangze Guo <[email protected]> napisaĆ(a): >> >> Hi, Krzysztof >> >> Regarding the release-1.10, the community is now focus on this effort. >> I believe we will have our first release candidate soon. >> >> Regarding the issue when running Flink on Java 11, all the >> tests(including end to end tests) would be run with Java 11 profile >> now. If you meet any problem, feel free to open a new JIRA ticket or >> ask in user/dev ML. >> >> Best, >> Yangze Guo >> >> On Fri, Jan 10, 2020 at 1:11 AM KristoffSC >> <[email protected]> wrote: >> > >> > Hi guys, >> > well We have requirement in our project to use Java 11, although we would >> > really like to use Flink because it seems to match our needs perfectly. >> > >> > We were testing it on java 1.8 and all looks fine. >> > We tried to run it on Java 11 and also looks fine, at least for now. >> > >> > We were also running this as a Job Cluster, and since those images [1] are >> > based on openjdk:8-jre-alpine we switch to java 13-jdk-alpine. Cluster >> > started and submitted the job. All seemed fine. >> > >> > The Job and 3rd party library that this job is using were compiled with >> > Java >> > 11. >> > I was looking for any posts related to java 11 issues and I've found this >> > [2] one. >> > We are also aware of ongoing FLINK-10725 [3] but this is assigned to 1.10 >> > FLink version >> > >> > Having all of this, I would like to ask few questions >> > >> > 1. Is there any release date planed for 1.10? >> > 2. Are you aware of any issues regarding running Flink on Java 11? >> > 3. If my Job code would not use any code features from java 11, would flink >> > handle it when running on java 11? Or they are some internal >> > functionalities >> > that would not be working on Java 11 (things that are using unsafe or >> > reflections?) >> > >> > Thanks, >> > Krzysztof >> > >> > >> > [1] >> > https://github.com/apache/flink/blob/release-1.9/flink-container/docker/README.md >> > [2] >> > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/UnsupportedOperationException-from-org-apache-flink-shaded-asm6-org-objectweb-asm-ClassVisitor-visit1-td28571.html >> > [3] https://issues.apache.org/jira/browse/FLINK-10725 >> > >> > >> > >> > -- >> > Sent from: >> > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
