You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/07 10:07:18 UTC

[jira] [Commented] (FLINK-6742) Improve error message when savepoint migration fails due to task removal

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

ASF GitHub Bot commented on FLINK-6742:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/4083

    [FLINK-6742] Improve savepoint migration failure error message

    This PR improves the error messages if the savepoint migration fails because a stateful task was removed or the parallelism of stateful operator was changed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 6742

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4083.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 #4083
    
----
commit 6f701d17e7eb62a21f5c9466ba9acf8696ec9ab8
Author: zentol <ch...@apache.org>
Date:   2017-06-07T10:03:21Z

    [FLINK-6742] Improve savepoint migration failure error message

commit 38b07a7c4654a84b4370ed948be3ab76c28afad5
Author: zentol <ch...@apache.org>
Date:   2017-06-07T10:03:57Z

    [hotfix] Improve readability in SPV2#convertToOperatorStateSavepointV2

----


> Improve error message when savepoint migration fails due to task removal
> ------------------------------------------------------------------------
>
>                 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
>            Assignee: Chesnay Schepler
>            Priority: Minor
>              Labels: flink-rel-1.3.1-blockers
>
> 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)