public class InactiveServiceInstance extends Object implements ServiceInstance
Constructor and Description |
---|
InactiveServiceInstance(String name) |
Modifier and Type | Method and Description |
---|---|
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 Slider.
|
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
|
public InactiveServiceInstance(String name)
public String getWorkerIdentity()
ServiceInstance
getWorkerIdentity
in interface ServiceInstance
public String getHost()
ServiceInstance
getHost
in interface ServiceInstance
public int getRpcPort()
ServiceInstance
getRpcPort
in interface ServiceInstance
public int getManagementPort()
ServiceInstance
getManagementPort
in interface ServiceInstance
public int getShufflePort()
ServiceInstance
getShufflePort
in interface ServiceInstance
public String getServicesAddress()
ServiceInstance
getServicesAddress
in interface ServiceInstance
public int getOutputFormatPort()
ServiceInstance
getOutputFormatPort
in interface ServiceInstance
public Map<String,String> getProperties()
ServiceInstance
getProperties
in interface ServiceInstance
public org.apache.hadoop.yarn.api.records.Resource getResource()
ServiceInstance
getResource
in interface ServiceInstance
Copyright © 2021 The Apache Software Foundation. All rights reserved.