[
https://issues.apache.org/jira/browse/FLINK-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907169#comment-15907169
]
ASF GitHub Bot commented on FLINK-5985:
---------------------------------------
GitHub user StefanRRichter opened a pull request:
https://github.com/apache/flink/pull/3523
[FLINK-5985] Report no task states for stateless tasks in checkpointing
This PR fixes [FLINK-5985]. The solution is based on acknowledging `null`
instead of some empty SubtaskState to
`CheckpointCoordinator#acknowledgeCheckpoint(...)`, so that no `TaskState` is
registered under the `JobVertexID` of a stateless task in the checkpoint.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StefanRRichter/flink
no-taskstate-for-stateless
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3523.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3523
----
commit af45e89d011033b98ceca455725c7f167052ec74
Author: Stefan Richter <[email protected]>
Date: 2017-03-10T16:55:45Z
[FLINK-5985] Report no task states for stateless tasks in checkpointing
----
> Flink treats every task as stateful (making topology changes impossible)
> ------------------------------------------------------------------------
>
> Key: FLINK-5985
> URL: https://issues.apache.org/jira/browse/FLINK-5985
> Project: Flink
> Issue Type: Bug
> Components: State Backends, Checkpointing
> Affects Versions: 1.2.0
> Reporter: Gyula Fora
> Priority: Critical
>
> It seems that Flink treats every Task as stateful so changing the topology
> is not possible without setting uid on every single operator.
> If the topology has an iteration this is virtually impossible (or at least
> gets super hacky)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)