[
https://issues.apache.org/jira/browse/FLINK-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311087#comment-15311087
]
ASF GitHub Bot commented on FLINK-4000:
---------------------------------------
GitHub user rekhajoshm opened a pull request:
https://github.com/apache/flink/pull/2061
[FLINK-4000] Checkpoint dictionaries null after taskmgr failures
Fix for exception during job restart after task mgr failure, at which point
restoreState fails as checkpoint dictionaries can be null.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rekhajoshm/flink FLINK-4000
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2061.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 #2061
----
commit 1e1ce9efefccf5a5585be802af4200e9d1ae7a98
Author: Rekha Joshi <[email protected]>
Date: 2016-06-01T20:03:50Z
Merge pull request #1 from apache/master
Apache Flink master pull
commit 88929dcd989c34c3232f29a96af1b32ec1315911
Author: Joshi <[email protected]>
Date: 2016-06-01T20:56:52Z
[FLINK-4000] Checkpoint dictionaries null after taskmgr failures
----
> Exception: Could not restore checkpointed state to operators and functions;
> during Job Restart (Job restart is triggered due to one of the task manager
> failure)
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-4000
> URL: https://issues.apache.org/jira/browse/FLINK-4000
> Project: Flink
> Issue Type: Bug
> Components: DataStream API
> Affects Versions: 1.0.3
> Environment: //Fault Tolerance Configuration of the Job
> env.enableCheckpointing(5000);
> env.getCheckpointConfig().setCheckpointingMode(CheckpointingMode.EXACTLY_ONCE);
> env.getCheckpointConfig().setMaxConcurrentCheckpoints(1);
> env.setRestartStrategy(RestartStrategies.fixedDelayRestart( 3,10000));
> Reporter: Aride Chettali
> Assignee: Rekha Joshi
>
> java.lang.Exception: Could not restore checkpointed state to operators and
> functions
> at
> org.apache.flink.streaming.runtime.tasks.StreamTask.restoreState(StreamTask.java:457)
> at
> org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:209)
> at org.apache.flink.runtime.taskmanager.Task.run(Task.java:559)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.Exception: Failed to restore state to function: null
> at
> org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.restoreState(AbstractUdfStreamOperator.java:168)
> at
> org.apache.flink.streaming.runtime.tasks.StreamTask.restoreState(StreamTask.java:449)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.flink.streaming.api.functions.source.MessageAcknowledgingSourceBase.restoreState(MessageAcknowledgingSourceBase.java:184)
> at
> org.apache.flink.streaming.api.functions.source.MessageAcknowledgingSourceBase.restoreState(MessageAcknowledgingSourceBase.java:80)
> at
> org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.restoreState(AbstractUdfStreamOperator.java:165)
> ... 4 more
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)