[
https://issues.apache.org/jira/browse/FLINK-26723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508760#comment-17508760
]
Jiangjie Qin edited comment on FLINK-26723 at 3/18/22, 12:51 PM:
-----------------------------------------------------------------
[~zoucao] yes, we should get the splits from the assignment here. That is a
bug. Do you want to submit a patch?
was (Author: becket_qin):
[~zoucao] yes, we should get the splits from the assignment here. That is a
bug.
> Fix the content of exception in SourceCoordinatorContext
> --------------------------------------------------------
>
> Key: FLINK-26723
> URL: https://issues.apache.org/jira/browse/FLINK-26723
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination
> Reporter: zoucao
> Priority: Major
>
> the exception in `SourceCoordinatorContext#SourceCoordinatorContext` will
> always be
> "Cannot assign splits null to subtask xxx because the subtask is not
> registered."
> We should fix it by using splits info.
> [see|https://github.com/apache/flink/blob/ccbb05ea4f11aac51103cadd13a6a2e38e319e8b/flink-runtime/src/main/java/org/apache/flink/runtime/source/coordinator/SourceCoordinatorContext.java#L202]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)