public class YarnResourceManagerFactory extends ActiveResourceManagerFactory<YarnWorkerNode>
ActiveResourceManagerFactory
implementation which creates a ActiveResourceManager
with YarnResourceManagerDriver
.log
Modifier and Type | Method and Description |
---|---|
protected ResourceManagerDriver<YarnWorkerNode> |
createResourceManagerDriver(Configuration configuration,
String webInterfaceUrl,
String rpcAddress) |
protected ResourceManagerRuntimeServicesConfiguration |
createResourceManagerRuntimeServicesConfiguration(Configuration configuration) |
static YarnResourceManagerFactory |
getInstance() |
boolean |
supportMultiLeaderSession()
This indicates whether the process should be terminated after losing leadership.
|
createResourceManager, createStartWorkerFailureRater, getEffectiveConfigurationForResourceManager, getEffectiveConfigurationForResourceManagerAndRuntimeServices
createResourceManager, createResourceManagerProcessContext
public static YarnResourceManagerFactory getInstance()
protected ResourceManagerDriver<YarnWorkerNode> createResourceManagerDriver(Configuration configuration, String webInterfaceUrl, String rpcAddress)
createResourceManagerDriver
in class ActiveResourceManagerFactory<YarnWorkerNode>
protected ResourceManagerRuntimeServicesConfiguration createResourceManagerRuntimeServicesConfiguration(Configuration configuration) throws ConfigurationException
createResourceManagerRuntimeServicesConfiguration
in class ResourceManagerFactory<YarnWorkerNode>
ConfigurationException
public boolean supportMultiLeaderSession()
ResourceManagerFactory
supportMultiLeaderSession
in class ResourceManagerFactory<YarnWorkerNode>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.