You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/06/14 19:25:57 UTC
[GitHub] [flink] Myasuka opened a new pull request #8745: Task not fail
checkpoint
Myasuka opened a new pull request #8745: Task not fail checkpoint
URL: https://github.com/apache/flink/pull/8745
## What is the purpose of the change
FLINK-11662 has been a known and urgent issue after Flink-1.8 release. There exist two parts to fix this problem, one is from task side to disable task to fail on checkpoint errors. Another part is to let JM to decide when to fail the whole job which has been part of work in https://github.com/apache/flink/pull/8322.
This PR mainly focus on the task side and choose to base on https://github.com/apache/flink/pull/8322 before it merged since that is very unlikely to still have significant changes at this point.
## Brief change log
- Deprecate `isFailTaskOnCheckpointError` and `setFailTaskOnCheckpointError` in `ExecutionConfig`.
- Deprecate `isFailOnCheckpointingErrors` and `setFailOnCheckpointingErrors` in `CheckpointConfig`.
- Remove `FailingCheckpointExceptionHandler`
## Verifying this change
This change added tests and can be verified as follows:
- Refactor `CheckpointExceptionHandlerConfigurationTest` and `CheckpointExceptionHandlerTest` to verify the default logic changed.
- Refactor `StreamTaskTest` to verify the default logic changed on task side.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): **no**
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: **yes**
- The serializers: **no**
- The runtime per-record code paths (performance sensitive): **no**
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: **no**
- The S3 file system connector: **no**
## Documentation
- Does this pull request introduce a new feature? **no**
- If yes, how is the feature documented? **JavaDocs**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services