FW: Kryo v2 to v5 migration tool

2025-04-27 Thread Kurt Ostfeld
What you want is a Flink 1.x to Flink 2.x migration tool; that's much more complicated than simply migrating Kryo because there were lots of compatibility breaking changes beyond the Kryo upgrade. Flink 1.x used Kryo by default everywhere. Flink 2.0 does not. That's a compatibility breaking cha

[jira] [Created] (FLINK-37404) Reenable Migration Tests for Filnk 2.x

2025-02-27 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-37404: Summary: Reenable Migration Tests for Filnk 2.x Key: FLINK-37404 URL: https://issues.apache.org/jira/browse/FLINK-37404 Project: Flink Issue Type: Technical

Re: [DISCUSSION] Upgrade to Kryo 5 for Flink 2.0

2025-02-26 Thread Kurt Ostfeld
A state migration tool that can migrate savepoints/checkpoints is a great idea that would be very useful for a lot of scenarios. But that is a bigger scope issue. (fyi, CI is passing and PR should be fully ready)

Re: [DISCUSSION] Upgrade to Kryo 5 for Flink 2.0

2025-02-26 Thread Kurt Ostfeld
The only reason to keep the old version of Kryo and not either upgrade or remove Kryo is if there is a backward compatibility advantage. If backward compatibility is breaking anyway, this seems an easy choice. Java record support was the big motivation to this upgrade. From some simple tests I'

[jira] [Created] (FLINK-33866) KafkaSinkBuilder in flink-connector-kafka references DeliveryGuarantee in flink-connector-base

2023-12-17 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-33866: Summary: KafkaSinkBuilder in flink-connector-kafka references DeliveryGuarantee in flink-connector-base Key: FLINK-33866 URL: https://issues.apache.org/jira/browse/FLINK-33866

Re: [NOTICE] Experimental Java 17 support now available on master

2023-06-18 Thread Kurt Ostfeld
apache.org/confluence/display/FLINK/Flink+Improvement+Proposals > > On Sun, Jun 18, 2023 at 1:18 AM Kurt Ostfeld kurtostf...@proton.me.invalid > > wrote: > > > I built the Flink master branch and tried running this simple Flink app > > that uses a Java record: > >

[NOTICE] Experimental Java 17 support now available on master

2023-06-17 Thread Kurt Ostfeld
I built the Flink master branch and tried running this simple Flink app that uses a Java record: https://github.com/kurtostfeld/flink-kryo-upgrade-demo/blob/main/flink-record-demo/src/main/java/demo/app/Main.java It fails with the normal exception that Kryo 2.x throws when you try to serialize

Re: [DISCUSS] FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0

2023-06-10 Thread Kurt Ostfeld
Regarding this comment: "The version in the state is the serializer version, and applies to the entire state, independent of what it contains. If you use Kryo2 for reading and Kryo5 for writing (which also implies writing the new serializer version into state), then I'd assume that a migration i

Re: [DISCUSS] FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0

2023-06-08 Thread Kurt Ostfeld
> On 08/06/2023 16:06, Kurt Ostfeld wrote: > > > If I understand correctly, the scenario is resuming from multiple > > checkpoint files or from a savepoint and checkpoint files which may be > > generated by different versions of Flink > > > No; it's the

Re: [DISCUSS] FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0

2023-06-08 Thread Kurt Ostfeld
> > > PR yet...) > > > > > > What we kind of want is this: > > > 1) Kryo5 is used as the default for new jobs. (maybe not even that, > > > making it an explicit opt-in) > > > 2) Kryo2 is used for reading AND writing for existing* jobs by default.

Re: [DISCUSS] FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0

2023-06-08 Thread Kurt Ostfeld
opt-in) > 2) Kryo2 is used for reading AND writing for existing* jobs by default. > 3) Users can explicitly (and easily!) do a full migration of their jobs, > after which 2) should no longer apply. > > > > In the PR you mentioned running into issues on Java 17; to have have > som

Re: [DISCUSS] FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0

2023-05-29 Thread Kurt Ostfeld
ryo to a newer version - if you’ve solved that, kudos. > > — Ken > > > > On May 29, 2023, at 2:21 PM, Kurt Ostfeld kurtostf...@proton.me.INVALID > > wrote: > > > > Hi everyone. I would like to start the discussion thread for FLIP-317: > > Upgrade Kryo fro

[DISCUSS] FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0

2023-05-29 Thread Kurt Ostfeld
Hi everyone. I would like to start the discussion thread for FLIP-317: Upgrade Kryo from 2.24.0 to 5.5.0 [1]. There is a pull-request associated with this linked in the FLIP. I'd particularly like to hear about: - Chesnay Schepler's request to consider removing Kryo serializers from the execut

Kryo Upgrade: Request FLIP page create access

2023-05-28 Thread Kurt Ostfeld
Chesnay Schepler asked me to create a FLIP for this pull request: https://github.com/apache/flink/pull/22660 I created an account for the Flink Confluence site with username "kurto", but I don't have access to create pages, and therefore don't have access to create a FLIP. I see the FLIP docs sa

[jira] [Created] (FLINK-32104) stop-with-savepoint fails and times out with simple reproducible example

2023-05-15 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-32104: Summary: stop-with-savepoint fails and times out with simple reproducible example Key: FLINK-32104 URL: https://issues.apache.org/jira/browse/FLINK-32104 Project

[jira] [Created] (FLINK-31938) Failing Unit Test: FlinkConnectionTest.testCatalogSchema "Failed to get response for the operation"

2023-04-25 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-31938: Summary: Failing Unit Test: FlinkConnectionTest.testCatalogSchema "Failed to get response for the operation" Key: FLINK-31938 URL: https://issues.apache.org/jira/br

[jira] [Created] (FLINK-31937) Failing Unit Test: ClientTest.testClientServerIntegration "Connection leak"

2023-04-25 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-31937: Summary: Failing Unit Test: ClientTest.testClientServerIntegration "Connection leak" Key: FLINK-31937 URL: https://issues.apache.org/jira/browse/FLINK-31937

[jira] [Created] (FLINK-31897) Failing Unit Test: org.apache.flink.queryablestate.network.ClientTest.testRequestUnavailableHost

2023-04-23 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-31897: Summary: Failing Unit Test: org.apache.flink.queryablestate.network.ClientTest.testRequestUnavailableHost Key: FLINK-31897 URL: https://issues.apache.org/jira/browse/FLINK-31897

[jira] [Created] (FLINK-31880) Bad Test in OrcColumnarRowSplitReaderTest

2023-04-21 Thread Kurt Ostfeld (Jira)
Kurt Ostfeld created FLINK-31880: Summary: Bad Test in OrcColumnarRowSplitReaderTest Key: FLINK-31880 URL: https://issues.apache.org/jira/browse/FLINK-31880 Project: Flink Issue Type: Bug