public class HS2ActivePassiveHARegistryClient extends Object
| Constructor and Description |
|---|
HS2ActivePassiveHARegistryClient() |
| Modifier and Type | Method and Description |
|---|---|
static HS2ActivePassiveHARegistry |
getClient(org.apache.hadoop.conf.Configuration conf)
Helper method to get a HiveServer2HARegistry instance to read from the registry.
|
public static HS2ActivePassiveHARegistry getClient(org.apache.hadoop.conf.Configuration conf) throws IOException
conf - Configuration instance which contains service registry information.IOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.