You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/03/31 07:11:00 UTC
[jira] [Assigned] (FLINK-26938) HybridSource recovery from savepoint fails When flink parallelism is greater than the number of Kafka partitions
[ https://issues.apache.org/jira/browse/FLINK-26938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser reassigned FLINK-26938:
--------------------------------------
Assignee: Nicholas Jiang
> HybridSource recovery from savepoint fails When flink parallelism is greater than the number of Kafka partitions
> ----------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-26938
> URL: https://issues.apache.org/jira/browse/FLINK-26938
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.14.0
> Environment: Flink 1.14.0
> Reporter: 文报
> Assignee: Nicholas Jiang
> Priority: Major
> Attachments: HybridSourceTest.java, image-2022-03-31-13-36-45-686.png
>
>
> HybridSource recovery from savepoint fails When flink parallelism is greater than the number of Kafka partitions
> First test
> Flink job before savePoint
> flink parallelism =16
> kafka partition=3
> Flink after savePoint
> case 1:
> flink parallelism =16
> kafka partition=3
> HybridSource recovery from savepoint fails
> !image-2022-03-31-13-36-45-686.png!
> case 2:
> flink parallelism =3
> kafka partition=3
> HybridSource recovery from savepoint successful
> case 3:
> flink parallelism =8
> kafka partition=3
> HybridSource recovery from savepoint fails the same NullPointerException: Source for index=0 not available
> case 4:
> flink parallelism =4
> kafka partition=3
> HybridSource recovery from savepoint fails the same NullPointerException: Source for index=0 not available
> case 5:
> flink parallelism =1
> kafka partition=3
> HybridSource recovery from savepoint successful
> Second test
> Flink job before savePoint
> flink parallelism =3
> kafka partition=3
> Flink after savePoint
> case 1:
> flink parallelism =3
> kafka partition=3
> HybridSource recovery from savepoint successful
> case 2:
> flink parallelism =1
> kafka partition=3
> HybridSource recovery from savepoint successful
> case 3:
> flink parallelism =4
> kafka partition=3
> HybridSource recovery from savepoint fails the same NullPointerException: Source for index=0 not available
> Specific code see the attached test code HybridSourceTest
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)