[
https://issues.apache.org/jira/browse/FLINK-8811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16383436#comment-16383436
]
ASF GitHub Bot commented on FLINK-8811:
---------------------------------------
Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/5600#discussion_r171814808
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/minicluster/MiniCluster.java
---
@@ -178,6 +181,13 @@ public URI getRestAddress() {
}
}
+ public HighAvailabilityServices getHighAvailabilityServices() {
+ synchronized (lock) {
+ checkState(running, "MiniCluster is not yet running.");
--- End diff --
Because all state accesses to the MiniCluster are guarded since it can be
used by potentially multiple threads.
> Add MiniClusterClient to allow fast MiniCluster operations
> ----------------------------------------------------------
>
> Key: FLINK-8811
> URL: https://issues.apache.org/jira/browse/FLINK-8811
> Project: Flink
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 1.5.0, 1.6.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Critical
> Labels: flip-6
> Fix For: 1.5.0, 1.6.0
>
>
> We should offer a {{ClusterClient}} implementation for the {{MiniCluster}}.
> That way we would be able to submit and wait for result without polling how
> it would be the case by using the {{RestClusterClient}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)