public class LlapZookeeperRegistryImpl.DynamicServiceInstance extends ServiceInstanceBase implements LlapServiceInstance
Constructor and Description |
---|
DynamicServiceInstance(org.apache.hadoop.registry.client.types.ServiceRecord srv) |
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
|
int |
getManagementPort()
Management endpoint for service instance
|
int |
getOutputFormatPort()
OutputFormat endpoint for service instance
|
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.
|
String |
getServicesAddress()
Address for services hosted on http
|
int |
getShufflePort()
Shuffle Endpoint for service instance
|
String |
toString() |
equals, getHost, getProperties, getRpcPort, getWorkerIdentity, hashCode, setHost, setProperties, setRpcPort, setWorkerIdentity
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
ensureCloudEnv
getHost, getProperties, getRpcPort, getWorkerIdentity
public DynamicServiceInstance(org.apache.hadoop.registry.client.types.ServiceRecord srv) throws IOException
IOException
public int getShufflePort()
LlapServiceInstance
getShufflePort
in interface LlapServiceInstance
public String getServicesAddress()
LlapServiceInstance
getServicesAddress
in interface LlapServiceInstance
public String getExternalHostname()
LlapServiceInstance
getExternalHostname
in interface LlapServiceInstance
public int getExternalClientsRpcPort()
LlapServiceInstance
getExternalClientsRpcPort
in interface LlapServiceInstance
public org.apache.hadoop.yarn.api.records.Resource getResource()
LlapServiceInstance
getResource
in interface LlapServiceInstance
public String toString()
toString
in class ServiceInstanceBase
public int getManagementPort()
LlapServiceInstance
getManagementPort
in interface LlapServiceInstance
public int getOutputFormatPort()
LlapServiceInstance
getOutputFormatPort
in interface LlapServiceInstance
Copyright © 2022 The Apache Software Foundation. All rights reserved.