Package | Description |
---|---|
org.apache.hive.service.server | |
org.apache.hive.service.servlet |
Modifier and Type | Method and Description |
---|---|
protected HiveServer2Instance |
HS2ActivePassiveHARegistry.createServiceInstance(org.apache.hadoop.registry.client.types.ServiceRecord srv) |
HiveServer2Instance |
HS2ActivePassiveHARegistry.getInstance(String instanceId) |
HiveServer2Instance |
HS2ActivePassiveHARegistry.getLeader() |
HiveServer2Instance |
HiveServer2HAInstanceSet.getLeader()
In Active/Passive setup, returns current active leader.
|
Modifier and Type | Method and Description |
---|---|
Collection<HiveServer2Instance> |
HS2ActivePassiveHARegistry.getAll() |
Set<HiveServer2Instance> |
HS2ActivePassiveHARegistry.getByHost(String host) |
ServiceInstanceSet<HiveServer2Instance> |
HS2ActivePassiveHARegistry.getInstances(String component,
long clusterReadyTimeoutMs) |
Modifier and Type | Method and Description |
---|---|
void |
HS2ActivePassiveHARegistry.registerStateChangeListener(ServiceInstanceStateChangeListener<HiveServer2Instance> listener) |
Modifier and Type | Method and Description |
---|---|
Collection<HiveServer2Instance> |
HS2Peers.HS2Instances.getHiveServer2Instances() |
Modifier and Type | Method and Description |
---|---|
void |
HS2Peers.HS2Instances.setHiveServer2Instances(Collection<HiveServer2Instance> hiveServer2Instances) |
Constructor and Description |
---|
HS2Instances(Collection<HiveServer2Instance> hiveServer2Instances) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.