public class HighAvailabilityServicesUtils extends Object
HighAvailabilityServices implementations.| Modifier and Type | Class and Description |
|---|---|
static class |
HighAvailabilityServicesUtils.AddressResolution |
| Constructor and Description |
|---|
HighAvailabilityServicesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HighAvailabilityServices |
createAvailableOrEmbeddedServices(Configuration config,
Executor executor) |
static HighAvailabilityServices |
createHighAvailabilityServices(Configuration configuration,
Executor executor,
HighAvailabilityServicesUtils.AddressResolution addressResolution) |
static Tuple2<String,Integer> |
getJobManagerAddress(Configuration configuration)
Returns the JobManager's hostname and port extracted from the given
Configuration. |
public static HighAvailabilityServices createAvailableOrEmbeddedServices(Configuration config, Executor executor) throws Exception
Exceptionpublic static HighAvailabilityServices createHighAvailabilityServices(Configuration configuration, Executor executor, HighAvailabilityServicesUtils.AddressResolution addressResolution) throws Exception
Exceptionpublic static Tuple2<String,Integer> getJobManagerAddress(Configuration configuration) throws ConfigurationException
Configuration.configuration - Configuration to extract the JobManager's address fromConfigurationException - if the JobManager's address cannot be extracted from the configurationCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.