Till,

So, we save the savepoints using the Kryo native format?
But I see that Kryo 2.24 (as mentioned here) is from may 2014 ...
that's ... really old !
https://github.com/EsotericSoftware/kryo/releases/tag/kryo-2.24.0

I see that Kryo has some suggestions on the migration options:
https://github.com/EsotericSoftware/kryo/wiki/Migration-to-v5#migration-guide
One thing is that they have an extra artifact that allows having multiple
versions of Kryo in a single application to make this possible.

Niels Basjes

On Fri, Jan 15, 2021 at 2:14 PM Till Rohrmann <trohrm...@apache.org> wrote:

> Hi Fred,
>
> one reason why this hasn't been updated is that Flink needs to ensure
> backwards compatibility. Hence, if the newer Kryo library serializes
> objects differently, then Flink would need to migrate old savepoints having
> been stored via the old Kryo serializer to the new format. This is
> currently not supported and afaik blocks upgrading this library.
>
> Cheers,
> Till
>
> On Fri, Jan 15, 2021 at 11:41 AM Teunissen, F.G.J. (Fred)
> <fred.teunis...@ing.com.invalid> wrote:
>
> > Hi,
> >
> > While I was resolving a dependency version conflict in our project that
> > uses Flink v1.11.2 I noticed that Flink is using the library
> > ‘com.esotericsoftware.kryo:kryo<
> > https://mvnrepository.com/artifact/com.esotericsoftware.kryo/kryo
> > >:2.24.0’.
> > Is there a reason why this library isn’t updated to a more recent version
> > (the last one is `com.esotericsoftware: kryo<
> > https://mvnrepository.com/artifact/com.esotericsoftware/kryo>:5.0.3`)
> >
> > Note. The groupId has been changed, so that could be the reason why it is
> > missed.
> >
> > Regards,
> > Fred Teunissen
> >
> > -----------------------------------------------------------------
> > ATTENTION:
> > The information in this e-mail is confidential and only meant for the
> > intended recipient. If you are not the intended recipient, don't use or
> > disclose it in any way. Please let the sender know and delete the message
> > immediately.
> > -----------------------------------------------------------------
> >
>


-- 
Best regards / Met vriendelijke groeten,

Niels Basjes

Reply via email to