flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tillrohrmann <...@git.apache.org>
Subject [GitHub] flink pull request #5312: [FLINK-8344][WIP] Add support for HA to RestCluste...
Date Fri, 19 Jan 2018 18:41:15 GMT
Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5312#discussion_r162693549
  
    --- Diff: flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java
---
    @@ -327,13 +376,14 @@ public T getClusterId() {
     	}
     
     	private <R, A extends AsynchronouslyCreatedResource<R>> R waitForResource(
    -			final SupplierWithException<CompletableFuture<A>, IOException> resourceFutureSupplier)
    +			final Supplier<CompletableFuture<A>> resourceFutureSupplier)
     				throws IOException, InterruptedException, ExecutionException, TimeoutException {
    --- End diff --
    
    `IOException` and `TimeoutException` not thrown.


---

Mime
View raw message