org.apache.hadoop.yarn.server.resourcemanager
Interface RMContext
- All Known Implementing Classes:
- RMContextImpl
public interface RMContext
Context of the ResourceManager.
getDispatcher
org.apache.hadoop.yarn.event.Dispatcher getDispatcher()
isHAEnabled
boolean isHAEnabled()
getHAServiceState
org.apache.hadoop.ha.HAServiceProtocol.HAServiceState getHAServiceState()
getStateStore
RMStateStore getStateStore()
getRMApps
ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> getRMApps()
getSystemCredentialsForApps
ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> getSystemCredentialsForApps()
getInactiveRMNodes
ConcurrentMap<String,RMNode> getInactiveRMNodes()
getRMNodes
ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> getRMNodes()
getAMLivelinessMonitor
AMLivelinessMonitor getAMLivelinessMonitor()
getAMFinishingMonitor
AMLivelinessMonitor getAMFinishingMonitor()
getContainerAllocationExpirer
ContainerAllocationExpirer getContainerAllocationExpirer()
getDelegationTokenRenewer
DelegationTokenRenewer getDelegationTokenRenewer()
getAMRMTokenSecretManager
AMRMTokenSecretManager getAMRMTokenSecretManager()
getContainerTokenSecretManager
RMContainerTokenSecretManager getContainerTokenSecretManager()
getNMTokenSecretManager
NMTokenSecretManagerInRM getNMTokenSecretManager()
getScheduler
ResourceScheduler getScheduler()
getNodesListManager
NodesListManager getNodesListManager()
getClientToAMTokenSecretManager
ClientToAMTokenSecretManagerInRM getClientToAMTokenSecretManager()
getRMAdminService
AdminService getRMAdminService()
getClientRMService
ClientRMService getClientRMService()
getApplicationMasterService
ApplicationMasterService getApplicationMasterService()
getResourceTrackerService
ResourceTrackerService getResourceTrackerService()
setClientRMService
void setClientRMService(ClientRMService clientRMService)
getRMDelegationTokenSecretManager
RMDelegationTokenSecretManager getRMDelegationTokenSecretManager()
setRMDelegationTokenSecretManager
void setRMDelegationTokenSecretManager(RMDelegationTokenSecretManager delegationTokenSecretManager)
getRMApplicationHistoryWriter
RMApplicationHistoryWriter getRMApplicationHistoryWriter()
setRMApplicationHistoryWriter
void setRMApplicationHistoryWriter(RMApplicationHistoryWriter rmApplicationHistoryWriter)
setSystemMetricsPublisher
void setSystemMetricsPublisher(SystemMetricsPublisher systemMetricsPublisher)
getSystemMetricsPublisher
SystemMetricsPublisher getSystemMetricsPublisher()
getConfigurationProvider
org.apache.hadoop.yarn.conf.ConfigurationProvider getConfigurationProvider()
isWorkPreservingRecoveryEnabled
boolean isWorkPreservingRecoveryEnabled()
getNodeLabelManager
RMNodeLabelsManager getNodeLabelManager()
setNodeLabelManager
void setNodeLabelManager(RMNodeLabelsManager mgr)
getEpoch
long getEpoch()
getReservationSystem
ReservationSystem getReservationSystem()
isSchedulerReadyForAllocatingContainers
boolean isSchedulerReadyForAllocatingContainers()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.