[ 
https://issues.apache.org/jira/browse/FLINK-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901105#comment-15901105
 ] 

Gyula Fora commented on FLINK-5985:
-----------------------------------

Hi Ufuk,

I did exactly this yesterday:

First got an error like: Cannot map savepoint state for operator xxx to the new 
program, because the operator is not available in the new program. Then I added 
the debugging to see which actual operator was misbehaving.

It showed a stateless map, so I was like whatever and set the uidHash(xxx) and 
I tried again. Now it gave the same error for a different stateless operator 
(lets say a filter). I kept adding the hashes for the stateless operators until 
I reached to the point where it complained about not being able to map back the 
Iteration sink, that's when I gave up.

> 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)

Reply via email to