You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/02/22 08:25:26 UTC

[flink] branch master updated: [FLINK-11690][runtime] Use configured RPC timeout in MiniCluster

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b60e67  [FLINK-11690][runtime] Use configured RPC timeout in MiniCluster
6b60e67 is described below

commit 6b60e67b2ce664a6ad07667d18bda1d4fd19e40b
Author: zentol <ch...@apache.org>
AuthorDate: Wed Feb 20 15:04:54 2019 +0100

    [FLINK-11690][runtime] Use configured RPC timeout in MiniCluster
---
 .../src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java b/flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java
index 9f28821..897486c 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java
@@ -187,7 +187,7 @@ public class MiniCluster implements JobExecutorService, AutoCloseableAsync {
 		this.rpcServices = new ArrayList<>(1 + 2 + miniClusterConfiguration.getNumTaskManagers()); // common + JM + RM + TMs
 		this.dispatcherResourceManagerComponents = new ArrayList<>(1);
 
-		this.rpcTimeout = Time.seconds(10L);
+		this.rpcTimeout = miniClusterConfiguration.getRpcTimeout();
 		this.terminationFuture = CompletableFuture.completedFuture(null);
 		running = false;