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

Chesnay Schepler commented on FLINK-6742:
-----------------------------------------

We can improve the error message, but this is supposed to fail. When restoring 
from a 1.2 savepoint in 1.3 the topology must not change as outlined in 
https://ci.apache.org/projects/flink/flink-docs-release-1.3/ops/upgrading.html#application-topology.
 Admittedly, we should make that more prominent.

Once you took a new 1.3 savepoint you can modify them at will again.

The {{allowNonRestoredState}} flag is ignored on purpose to prevent users from 
violating the above requirement by accident.

> Savepoint conversion might fail if operators change
> ---------------------------------------------------
>
>                 Key: FLINK-6742
>                 URL: https://issues.apache.org/jira/browse/FLINK-6742
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.3.0
>            Reporter: Gyula Fora
>            Priority: Critical
>
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.flink.runtime.checkpoint.savepoint.SavepointV2.convertToOperatorStateSavepointV2(SavepointV2.java:171)
>       at 
> org.apache.flink.runtime.checkpoint.savepoint.SavepointLoader.loadAndValidateSavepoint(SavepointLoader.java:75)
>       at 
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.restoreSavepoint(CheckpointCoordinator.java:1090)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to