thanks for the response

>I feel doubt about the conclusion that "don't try to load a savepoint from
a Java 8/11/17 build due to bumping to scala-2.12.18", since the
snapshotted state (operator/keyed state-backend),  and most key/value
serializer snapshots are generated by pure-java code.
>The only left part is that the developer uses scala UDF or scala types for
key/value types. However, since all user-facing scala APIs have been
deprecated, I don't think we have so many cases. Maybe we can give
descriptions without such strong suggestions.

That is the area where I feel I lack the knowledge to answer this precisely.
My assumption was that statement about Java 21 regarding this should be
similar to Java 17 which is almost same [1]
Sorry for the inaccuracy
Based on your statements I agree that the conclusion could be more relaxed.

I'm curious whether there are some tests or anything which could clarify
this?

[1] https://lists.apache.org/thread/mz0m6wqjmqy8htob3w4469pjbg9305do

On Wed, Nov 29, 2023 at 12:25 PM Yun Tang <myas...@live.com> wrote:

> Thanks Sergey for the great work.
>
> I feel doubt about the conclusion that "don't try to load a savepoint from
> a Java 8/11/17 build due to bummping to scala-2.12.18", since the
> snapshotted state (operator/keyed state-backend),  and most key/value
> serializer snapshots are generated by pure-java code. The only left part is
> that the developer uses scala UDF or scala types for key/value types.
> However, since all user-facing scala APIs have been deprecated [1], I don't
> think we have so many cases. Maybe we can give descriptions without such
> strong suggestions.
>
> Please correct me if I am wrong.
>
>
> [1] https://issues.apache.org/jira/browse/FLINK-29740
>
> Best
> Yun Tang
>
> ________________________________
> From: Rui Fan <1996fan...@gmail.com>
> Sent: Wednesday, November 29, 2023 16:43
> To: dev@flink.apache.org <dev@flink.apache.org>
> Subject: Re: [ANNOUNCE] Experimental Java 21 support now available on
> master
>
> Thanks Sergey for the great work!
>
> Best,
> Rui
>
> On Wed, Nov 29, 2023 at 4:42 PM Leonard Xu <xbjt...@gmail.com> wrote:
>
> > Cool !
> >
> > Thanks Sergey for the great effort and all involved.
> >
> >
> > Best,
> > Leonard
> >
> > > 2023年11月29日 下午4:31,Swapnal Varma <swapnal...@gmail.com> 写道:
> > >
> > > Congratulations Sergey, and everyone involved!
> > >
> > > Excited to work with and on this!
> > >
> > > Best,
> > > Swapnal
> > >
> > >
> > > On Wed, 29 Nov 2023, 13:58 Sergey Nuyanzin, <snuyan...@gmail.com>
> wrote:
> > >
> > >> The master branch now builds and runs with Java 21 out-of-the-box.
> > >>
> > >> Notes:
> > >> - a nightly cron build was set up.
> > >> - In Java 21 builds, Scala is being bumped to 2.12.18
> > >> which causes incompatibilities within Flink;
> > >> i.e. don't try to load a savepoint from a Java 8/11/17 build
> > >> - All the tests that are being skipped on Java 11/17
> > >> are also skipped on Java 21.
> > >>
> > >> Huge shout-out to everyone participating
> > >> in review of my Java 21 related PRs
> > >>
> > >> If you run into any issues, please report it in FLINK-33163
> > >> <https://issues.apache.org/jira/browse/FLINK-33163> .
> > >>
> > >> --
> > >> Best regards,
> > >> Sergey
> > >>
> >
> >
>


-- 
Best regards,
Sergey

Reply via email to