public class StandaloneMiniCluster extends Object implements org.apache.flink.util.AutoCloseableAsync
FlinkMiniCluster
has been changed to use
the HighAvailabilityServices
. With this change we can no longer use the
RemoteEnvironment
to connect against the
FlinkMiniCluster
, because the remote environment cannot retrieve the current leader
session id.Constructor and Description |
---|
StandaloneMiniCluster(org.apache.flink.configuration.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync() |
org.apache.flink.configuration.Configuration |
getConfiguration() |
String |
getHostname() |
int |
getPort() |
public String getHostname()
public int getPort()
public org.apache.flink.configuration.Configuration getConfiguration()
public CompletableFuture<Void> closeAsync()
closeAsync
in interface org.apache.flink.util.AutoCloseableAsync
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.