You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2021/10/13 10:21:00 UTC
[jira] [Created] (FLINK-24531) CheckpointingTimeBenchmark can fail
with connection timed out
Piotr Nowojski created FLINK-24531:
--------------------------------------
Summary: CheckpointingTimeBenchmark can fail with connection timed out
Key: FLINK-24531
URL: https://issues.apache.org/jira/browse/FLINK-24531
Project: Flink
Issue Type: Bug
Components: Benchmarks
Affects Versions: 1.15.0
Reporter: Piotr Nowojski
Assignee: Piotr Nowojski
There is a race condition between obtaining REST API port and actually starting up the REST API server. If REST API server start is delayed, the {{CheckpointingTimeBenchmark}} can fail with
{noformat}
java.util.concurrent.ExecutionException: org.apache.flink.shaded.netty4.io.netty.channel.ConnectTimeoutException: connection timed out: localhost/127.0.0.1:60503
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at org.apache.flink.benchmark.CheckpointingTimeBenchmark$CheckpointEnvironmentContext.waitForBackpressure(CheckpointingTimeBenchmark.java:251)
at org.apache.flink.benchmark.CheckpointingTimeBenchmark$CheckpointEnvironmentContext.setUp(CheckpointingTimeBenchmark.java:216)
at org.apache.flink.benchmark.generated.CheckpointingTimeBenchmark_checkpointSingleInput_jmhTest._jmh_tryInit_f_checkpointenvironmentcont
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)