org.apache.hadoop.yarn.server.resourcemanager
Interface RMContext

All Known Implementing Classes:
RMContextImpl

public interface RMContext

Context of the ResourceManager.


Method Summary
 AMLivelinessMonitor getAMFinishingMonitor()
           
 AMLivelinessMonitor getAMLivelinessMonitor()
           
 AMRMTokenSecretManager getAMRMTokenSecretManager()
           
 ApplicationMasterService getApplicationMasterService()
           
 ClientRMService getClientRMService()
           
 ClientToAMTokenSecretManagerInRM getClientToAMTokenSecretManager()
           
 org.apache.hadoop.yarn.conf.ConfigurationProvider getConfigurationProvider()
           
 ContainerAllocationExpirer getContainerAllocationExpirer()
           
 RMContainerTokenSecretManager getContainerTokenSecretManager()
           
 DelegationTokenRenewer getDelegationTokenRenewer()
           
 org.apache.hadoop.yarn.event.Dispatcher getDispatcher()
           
 long getEpoch()
           
 org.apache.hadoop.ha.HAServiceProtocol.HAServiceState getHAServiceState()
           
 ConcurrentMap<String,RMNode> getInactiveRMNodes()
           
 NMTokenSecretManagerInRM getNMTokenSecretManager()
           
 RMNodeLabelsManager getNodeLabelManager()
           
 NodesListManager getNodesListManager()
           
 ReservationSystem getReservationSystem()
           
 ResourceTrackerService getResourceTrackerService()
           
 AdminService getRMAdminService()
           
 RMApplicationHistoryWriter getRMApplicationHistoryWriter()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> getRMApps()
           
 RMDelegationTokenSecretManager getRMDelegationTokenSecretManager()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> getRMNodes()
           
 ResourceScheduler getScheduler()
           
 RMStateStore getStateStore()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> getSystemCredentialsForApps()
           
 SystemMetricsPublisher getSystemMetricsPublisher()
           
 boolean isHAEnabled()
           
 boolean isSchedulerReadyForAllocatingContainers()
           
 boolean isWorkPreservingRecoveryEnabled()
           
 void setClientRMService(ClientRMService clientRMService)
           
 void setNodeLabelManager(RMNodeLabelsManager mgr)
           
 void setRMApplicationHistoryWriter(RMApplicationHistoryWriter rmApplicationHistoryWriter)
           
 void setRMDelegationTokenSecretManager(RMDelegationTokenSecretManager delegationTokenSecretManager)
           
 void setSystemMetricsPublisher(SystemMetricsPublisher systemMetricsPublisher)
           
 

Method Detail

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.