dmvk opened a new pull request #17693:
URL: https://github.com/apache/flink/pull/17693


   https://issues.apache.org/jira/browse/FLINK-24789
   
   Reproducing the issue:
   
   ```diff
   diff --git 
a/flink-core/src/main/java/org/apache/flink/util/FatalExitExceptionHandler.java 
b/flink-core/src/main/java/org/apache/flink/util/FatalExitExceptionHandler.java
   index 8ff0e9b7b0a..2898df0e458 100644
   --- 
a/flink-core/src/main/java/org/apache/flink/util/FatalExitExceptionHandler.java
   +++ 
b/flink-core/src/main/java/org/apache/flink/util/FatalExitExceptionHandler.java
   @@ -43,6 +43,7 @@ public final class FatalExitExceptionHandler implements 
Thread.UncaughtException
                        "FATAL: Thread '{}' produced an uncaught exception. 
Stopping the process...",
                        t.getName(),
                        e);
   +            e.printStackTrace();
            } finally {
                FlinkSecurityManager.forceProcessExit(EXIT_CODE);
            }
   diff --git 
a/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/PendingCheckpoint.java
 
b/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/PendingCheckpoint.java
   index af15c82a398..8791a0ab78f 100644
   --- 
a/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/PendingCheckpoint.java
   +++ 
b/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/PendingCheckpoint.java
   @@ -547,6 +547,11 @@ public class PendingCheckpoint implements Checkpoint {
                reportFailedCheckpoint(failureCause, statsCallback);
                assertAbortSubsumedForced(reason);
            } finally {
   +            try {
   +                Thread.sleep(1000);
   +            } catch (InterruptedException e) {
   +                e.printStackTrace();
   +            }
                dispose(true, checkpointsCleaner, postCleanup, executor);
            }
   ```
   
   + repeated run of 
`OperatorCoordinatorSchedulerTest#testSnapshotAsyncFailureFailsCheckpoint`


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to