[
https://issues.apache.org/jira/browse/FLINK-24531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-24531.
----------------------------------
Resolution: Fixed
merged commit 6bb3bff into apache/flink-benchmarks:master
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)