[
https://issues.apache.org/jira/browse/FLINK-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185502#comment-16185502
]
Till Rohrmann commented on FLINK-7648:
--------------------------------------
In order to wait on the completion you can do
{code}
@Test
public void testStandaloneSessionCluster() throws ExecutionException,
InterruptedException {
Configuration configuration = new Configuration();
configuration.setString(JobManagerOptions.ADDRESS, "localhost");
StandaloneSessionClusterEntrypoint standaloneSessionClusterEntrypoint =
new StandaloneSessionClusterEntrypoint(configuration);
standaloneSessionClusterEntrypoint.startCluster();
standaloneSessionClusterEntrypoint.getTerminationFuture().get();
}
{code}
> Port TaskManagersHandler to new REST endpoint
> ---------------------------------------------
>
> Key: FLINK-7648
> URL: https://issues.apache.org/jira/browse/FLINK-7648
> Project: Flink
> Issue Type: Sub-task
> Components: REST, Webfrontend
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Bowen Li
> Labels: flip-6
> Fix For: 1.4.0
>
>
> Port existing {{TaskManagersHandler}} to the new REST endpoint
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)