Modifier and Type | Class and Description |
---|---|
static class |
NodeManager.NMContext |
Modifier and Type | Method and Description |
---|---|
Context |
NodeManager.getNMContext() |
Modifier and Type | Method and Description |
---|---|
protected ContainerManagerImpl |
NodeManager.createContainerManager(Context context,
ContainerExecutor exec,
DeletionService del,
NodeStatusUpdater nodeStatusUpdater,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler) |
protected NMCollectorService |
NodeManager.createNMCollectorService(Context ctxt) |
protected NodeStatusUpdater |
NodeManager.createNodeStatusUpdater(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker) |
protected NodeStatusUpdater |
NodeManager.createNodeStatusUpdater(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
NodeLabelsProvider nodeLabelsProvider) |
protected WebServer |
NodeManager.createWebServer(Context nmContext,
ResourceView resourceView,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler) |
void |
NodeManager.DefaultContainerStateListener.init(Context context) |
void |
ContainerStateTransitionListener.init(Context context)
Init method which will be invoked by the Node Manager to inject the
NM
Context . |
Constructor and Description |
---|
NodeStatusUpdaterImpl(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
NodeManagerMetrics metrics) |
NodeStatusUpdaterImpl(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
NodeManagerMetrics metrics,
NodeLabelsProvider nodeLabelsProvider) |
Modifier and Type | Method and Description |
---|---|
Context |
AMRMProxyApplicationContext.getNMCotext()
Gets the NMContext object.
|
Context |
AMRMProxyApplicationContextImpl.getNMCotext() |
Constructor and Description |
---|
AMRMProxyApplicationContextImpl(Context nmContext,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
String user,
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> amrmToken,
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> localToken,
org.apache.hadoop.security.Credentials credentials,
org.apache.hadoop.registry.client.api.RegistryOperations registry)
Create an instance of the AMRMProxyApplicationContext.
|
AMRMProxyService(Context nmContext,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher)
Creates an instance of the service.
|
Constructor and Description |
---|
NMCollectorService(Context context) |
Modifier and Type | Field and Description |
---|---|
protected Context |
ContainerManagerImpl.context |
Modifier and Type | Method and Description |
---|---|
Context |
ContainerManagerImpl.getContext() |
Modifier and Type | Method and Description |
---|---|
protected ContainerScheduler |
ContainerManagerImpl.createContainerScheduler(Context cntxt) |
protected ContainersLauncher |
ContainerManagerImpl.createContainersLauncher(Context context,
ContainerExecutor exec) |
protected LogHandler |
ContainerManagerImpl.createLogHandler(org.apache.hadoop.conf.Configuration conf,
Context context,
DeletionService deletionService) |
protected NMTimelinePublisher |
ContainerManagerImpl.createNMTimelinePublisher(Context ctxt) |
protected ResourceLocalizationService |
ContainerManagerImpl.createResourceLocalizationService(ContainerExecutor exec,
DeletionService deletionContext,
Context nmContext,
NodeManagerMetrics nmMetrics) |
Constructor and Description |
---|
ContainerManagerImpl(Context context,
ContainerExecutor exec,
DeletionService deletionContext,
NodeStatusUpdater nodeStatusUpdater,
NodeManagerMetrics metrics,
LocalDirsHandlerService dirsHandler) |
Constructor and Description |
---|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context,
long recoveredLogInitedTime) |
Constructor and Description |
---|
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier containerTokenIdentifier,
Context context) |
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier containerTokenIdentifier,
Context context,
long startTs) |
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier containerTokenIdentifier,
Context context,
NMStateStoreService.RecoveredContainerState rcs) |
Constructor and Description |
---|
ContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
ContainerRelaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
ContainersLauncher(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
RecoveredContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
RecoverPausedContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
Constructor and Description |
---|
ResourceLocalizationService(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
DeletionService delService,
LocalDirsHandlerService dirsHandler,
Context context,
NodeManagerMetrics metrics) |
Constructor and Description |
---|
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval) |
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime) |
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime,
org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController logAggregationFileController) |
LogAggregationService(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
Context context,
DeletionService deletionService,
LocalDirsHandlerService dirsHandler) |
Modifier and Type | Field and Description |
---|---|
protected Context |
ContainersMonitorImpl.context |
Constructor and Description |
---|
ContainersMonitorImpl(ContainerExecutor exec,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
Context context) |
Constructor and Description |
---|
ContainerScheduler(Context context,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
NodeManagerMetrics metrics)
Instantiate a Container Scheduler.
|
ContainerScheduler(Context context,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
NodeManagerMetrics metrics,
int qLength) |
Constructor and Description |
---|
NMTimelinePublisher(Context context) |
Modifier and Type | Method and Description |
---|---|
static List<File> |
ContainerLogsUtils.getContainerLogDirs(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String remoteUser,
Context context)
Finds the local directories that logs for the given container are stored
on.
|
static File |
ContainerLogsUtils.getContainerLogFile(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String fileName,
String remoteUser,
Context context)
Finds the log file with the given filename for the given container.
|
static FileInputStream |
ContainerLogsUtils.openLogFileForRead(String containerIdStr,
File logFile,
Context context) |
Constructor and Description |
---|
AllApplicationsPage.AllApplicationsBlock(Context nmContext) |
AllContainersPage.AllContainersBlock(Context nmContext) |
ApplicationPage.ApplicationBlock(Context nmContext,
org.apache.hadoop.conf.Configuration conf) |
ContainerLogsPage.ContainersLogsBlock(Context context) |
ContainerPage.ContainerBlock(Context nmContext) |
NMWebAppFilter(com.google.inject.Injector injector,
Context nmContext) |
NMWebServices(Context nm,
ResourceView view,
org.apache.hadoop.yarn.webapp.WebApp webapp) |
NodePage.NodeBlock(Context context,
ResourceView resourceView) |
WebServer(Context nmContext,
ResourceView resourceView,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler) |
Constructor and Description |
---|
ContainerInfo(Context nmContext,
Container container) |
ContainerInfo(Context nmContext,
Container container,
String requestUri,
String pathPrefix,
String remoteUser) |
NMContainerLogsInfo(Context nmContext,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String remoteUser,
org.apache.hadoop.yarn.logaggregation.ContainerLogAggregationType logType) |
NodeInfo(Context context,
ResourceView resourceView) |
Copyright © 2018 Apache Software Foundation. All Rights Reserved.