public final class LlapFixedRegistryImpl.FixedServiceInstance extends Object implements LlapServiceInstance
| Constructor and Description |
|---|
FixedServiceInstance(String host) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExternalClientsRpcPort()
RPC endpoint for external clients - tcp traffic on this port should be opened on cloud.
|
String |
getExternalHostname()
External host, usually needed in cloud envs where we cannot access internal host from outside
|
String |
getHost()
Hostname of the service instance
|
int |
getManagementPort()
Management endpoint for service instance
|
int |
getOutputFormatPort()
OutputFormat endpoint for service instance
|
Map<String,String> |
getProperties()
Config properties of the Service Instance (llap.daemon.*)
|
org.apache.hadoop.yarn.api.records.Resource |
getResource()
Memory and Executors available for the LLAP tasks
This does not include the size of the cache or the actual vCores allocated via YARN.
|
int |
getRpcPort()
RPC Endpoint for service instance
|
String |
getServicesAddress()
Address for services hosted on http
|
int |
getShufflePort()
Shuffle Endpoint for service instance
|
String |
getWorkerIdentity()
Worker identity is a UUID (unique across restarts), to identify a node which died & was brought
back on the same host/port
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitensureCloudEnvpublic FixedServiceInstance(String host)
public String getWorkerIdentity()
ServiceInstancegetWorkerIdentity in interface ServiceInstancepublic String getHost()
ServiceInstancegetHost in interface ServiceInstancepublic int getRpcPort()
ServiceInstancegetRpcPort in interface ServiceInstancepublic int getManagementPort()
LlapServiceInstancegetManagementPort in interface LlapServiceInstancepublic int getShufflePort()
LlapServiceInstancegetShufflePort in interface LlapServiceInstancepublic int getOutputFormatPort()
LlapServiceInstancegetOutputFormatPort in interface LlapServiceInstancepublic String getExternalHostname()
LlapServiceInstancegetExternalHostname in interface LlapServiceInstancepublic int getExternalClientsRpcPort()
LlapServiceInstancegetExternalClientsRpcPort in interface LlapServiceInstancepublic String getServicesAddress()
LlapServiceInstancegetServicesAddress in interface LlapServiceInstancepublic Map<String,String> getProperties()
ServiceInstancegetProperties in interface ServiceInstancepublic org.apache.hadoop.yarn.api.records.Resource getResource()
LlapServiceInstancegetResource in interface LlapServiceInstanceCopyright © 2024 The Apache Software Foundation. All rights reserved.