| Constructor and Description |
|---|
RMContextImpl()
Default constructor.
|
RMContextImpl(org.apache.hadoop.yarn.event.Dispatcher rmDispatcher,
ContainerAllocationExpirer containerAllocationExpirer,
AMLivelinessMonitor amLivelinessMonitor,
AMLivelinessMonitor amFinishingMonitor,
DelegationTokenRenewer delegationTokenRenewer,
AMRMTokenSecretManager appTokenSecretManager,
RMContainerTokenSecretManager containerTokenSecretManager,
NMTokenSecretManagerInRM nmTokenSecretManager,
ClientToAMTokenSecretManagerInRM clientToAMTokenSecretManager,
RMApplicationHistoryWriter rmApplicationHistoryWriter) |
public RMContextImpl()
public RMContextImpl(org.apache.hadoop.yarn.event.Dispatcher rmDispatcher,
ContainerAllocationExpirer containerAllocationExpirer,
AMLivelinessMonitor amLivelinessMonitor,
AMLivelinessMonitor amFinishingMonitor,
DelegationTokenRenewer delegationTokenRenewer,
AMRMTokenSecretManager appTokenSecretManager,
RMContainerTokenSecretManager containerTokenSecretManager,
NMTokenSecretManagerInRM nmTokenSecretManager,
ClientToAMTokenSecretManagerInRM clientToAMTokenSecretManager,
RMApplicationHistoryWriter rmApplicationHistoryWriter)
public org.apache.hadoop.yarn.event.Dispatcher getDispatcher()
getDispatcher in interface RMContextpublic RMStateStore getStateStore()
getStateStore in interface RMContextpublic ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> getRMApps()
public ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> getRMNodes()
getRMNodes in interface RMContextpublic ConcurrentMap<String,RMNode> getInactiveRMNodes()
getInactiveRMNodes in interface RMContextpublic ContainerAllocationExpirer getContainerAllocationExpirer()
getContainerAllocationExpirer in interface RMContextpublic AMLivelinessMonitor getAMLivelinessMonitor()
getAMLivelinessMonitor in interface RMContextpublic AMLivelinessMonitor getAMFinishingMonitor()
getAMFinishingMonitor in interface RMContextpublic DelegationTokenRenewer getDelegationTokenRenewer()
getDelegationTokenRenewer in interface RMContextpublic AMRMTokenSecretManager getAMRMTokenSecretManager()
getAMRMTokenSecretManager in interface RMContextpublic RMContainerTokenSecretManager getContainerTokenSecretManager()
getContainerTokenSecretManager in interface RMContextpublic NMTokenSecretManagerInRM getNMTokenSecretManager()
getNMTokenSecretManager in interface RMContextpublic ResourceScheduler getScheduler()
getScheduler in interface RMContextpublic NodesListManager getNodesListManager()
getNodesListManager in interface RMContextpublic ClientToAMTokenSecretManagerInRM getClientToAMTokenSecretManager()
getClientToAMTokenSecretManager in interface RMContextpublic AdminService getRMAdminService()
getRMAdminService in interface RMContextpublic void setStateStore(RMStateStore store)
public ClientRMService getClientRMService()
getClientRMService in interface RMContextpublic ApplicationMasterService getApplicationMasterService()
getApplicationMasterService in interface RMContextpublic ResourceTrackerService getResourceTrackerService()
getResourceTrackerService in interface RMContextpublic void setClientRMService(ClientRMService clientRMService)
setClientRMService in interface RMContextpublic RMDelegationTokenSecretManager getRMDelegationTokenSecretManager()
getRMDelegationTokenSecretManager in interface RMContextpublic void setRMDelegationTokenSecretManager(RMDelegationTokenSecretManager delegationTokenSecretManager)
setRMDelegationTokenSecretManager in interface RMContextpublic boolean isHAEnabled()
isHAEnabled in interface RMContextpublic org.apache.hadoop.ha.HAServiceProtocol.HAServiceState getHAServiceState()
getHAServiceState in interface RMContextpublic RMApplicationHistoryWriter getRMApplicationHistoryWriter()
getRMApplicationHistoryWriter in interface RMContextpublic void setRMApplicationHistoryWriter(RMApplicationHistoryWriter rmApplicationHistoryWriter)
setRMApplicationHistoryWriter in interface RMContextpublic org.apache.hadoop.yarn.conf.ConfigurationProvider getConfigurationProvider()
getConfigurationProvider in interface RMContextpublic void setConfigurationProvider(org.apache.hadoop.yarn.conf.ConfigurationProvider configurationProvider)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.