You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Huang Xingbo (Jira)" <ji...@apache.org> on 2022/07/13 02:35:00 UTC
[jira] [Commented] (FLINK-26993) CheckpointCoordinatorTest#testMinCheckpointPause
[ https://issues.apache.org/jira/browse/FLINK-26993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566110#comment-17566110 ]
Huang Xingbo commented on FLINK-26993:
--------------------------------------
instance in release-1.14: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=38058&view=logs&j=b0a398c0-685b-599c-eb57-c8c2a771138e&t=747432ad-a576-5911-1e2a-68c6bedc248a
> CheckpointCoordinatorTest#testMinCheckpointPause
> ------------------------------------------------
>
> Key: FLINK-26993
> URL: https://issues.apache.org/jira/browse/FLINK-26993
> Project: Flink
> Issue Type: Technical Debt
> Components: Runtime / Checkpointing, Tests
> Affects Versions: 1.15.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.1, 1.16.0
>
>
> The test triggers checkpoints, waits for the CC to have stored a pending checkpoint, and then sends an acknowledge.
> The acknowledge can fail with an NPE because the PendingCheckpoint#checkpointTargetLocation hasn't been set yet. This doesn't happen synchronously with the PendingCheckpoint being added to CheckpointCoordinator#pendingCheckpoints.
> {code}
> Apr 01 19:57:36 [ERROR] org.apache.flink.runtime.checkpoint.CheckpointCoordinatorTest.testMinCheckpointPause Time elapsed: 0.012 s <<< ERROR!
> Apr 01 19:57:36 org.apache.flink.runtime.checkpoint.CheckpointException: Could not finalize the pending checkpoint 1. Failure reason: Failure to finalize checkpoint.
> Apr 01 19:57:36 at org.apache.flink.runtime.checkpoint.CheckpointCoordinator.finalizeCheckpoint(CheckpointCoordinator.java:1354)
> Apr 01 19:57:36 at org.apache.flink.runtime.checkpoint.CheckpointCoordinator.completePendingCheckpoint(CheckpointCoordinator.java:1241)
> Apr 01 19:57:36 at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
> ...
> Apr 01 19:57:36 Caused by: java.lang.NullPointerException
> Apr 01 19:57:36 at org.apache.flink.runtime.checkpoint.PendingCheckpoint.finalizeCheckpoint(PendingCheckpoint.java:327)
> Apr 01 19:57:36 at org.apache.flink.runtime.checkpoint.CheckpointCoordinator.finalizeCheckpoint(CheckpointCoordinator.java:1337)
> Apr 01 19:57:36 ... 50 more
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)