Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager | |
org.apache.hadoop.yarn.server.resourcemanager.ahs | |
org.apache.hadoop.yarn.server.resourcemanager.metrics |
Package org.apache.hadoop.yarn.server.resourcemanager.metrics contains
classes related to publishing app/container events to ATS.
|
org.apache.hadoop.yarn.server.resourcemanager.recovery |
This package contains classes to recovery the resourcemanager.
|
org.apache.hadoop.yarn.server.resourcemanager.rmapp | |
org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt | |
org.apache.hadoop.yarn.server.resourcemanager.security | |
org.apache.hadoop.yarn.server.resourcemanager.webapp | |
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao |
This package contains the web data access objects (DAO) for the RM.
|
Modifier and Type | Method and Description |
---|---|
ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> |
RMContext.getRMApps() |
ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> |
RMContextImpl.getRMApps() |
ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> |
RMActiveServiceContext.getRMApps() |
Modifier and Type | Method and Description |
---|---|
Map<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType,String> |
RMAppManager.updateApplicationTimeout(RMApp app,
Map<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType,String> newTimeoutInISO8601Format) |
Modifier and Type | Method and Description |
---|---|
void |
RMApplicationHistoryWriter.applicationFinished(RMApp app,
RMAppState finalState) |
void |
RMApplicationHistoryWriter.applicationStarted(RMApp app) |
Modifier and Type | Method and Description |
---|---|
void |
SystemMetricsPublisher.appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
TimelineServiceV1Publisher.appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
TimelineServiceV2Publisher.appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
NoOpSystemMetricPublisher.appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
CombinedSystemMetricsPublisher.appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
SystemMetricsPublisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
void |
TimelineServiceV1Publisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemptState,
RMApp app,
long finishedTime) |
void |
TimelineServiceV2Publisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
void |
NoOpSystemMetricPublisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
void |
CombinedSystemMetricsPublisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
void |
SystemMetricsPublisher.appCreated(RMApp app,
long createdTime) |
void |
TimelineServiceV1Publisher.appCreated(RMApp app,
long createdTime) |
void |
TimelineServiceV2Publisher.appCreated(RMApp app,
long createdTime) |
void |
NoOpSystemMetricPublisher.appCreated(RMApp app,
long createdTime) |
void |
CombinedSystemMetricsPublisher.appCreated(RMApp app,
long createdTime) |
void |
SystemMetricsPublisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
TimelineServiceV1Publisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
TimelineServiceV2Publisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
NoOpSystemMetricPublisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
CombinedSystemMetricsPublisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
AbstractSystemMetricsPublisher.appLaunched(RMApp app,
long launchTime) |
void |
SystemMetricsPublisher.appLaunched(RMApp app,
long launchTime) |
void |
TimelineServiceV1Publisher.appLaunched(RMApp app,
long launchTime) |
void |
TimelineServiceV2Publisher.appLaunched(RMApp app,
long launchTime) |
void |
NoOpSystemMetricPublisher.appLaunched(RMApp app,
long launchTime) |
void |
CombinedSystemMetricsPublisher.appLaunched(RMApp app,
long launchTime) |
void |
SystemMetricsPublisher.appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
TimelineServiceV1Publisher.appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
TimelineServiceV2Publisher.appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
NoOpSystemMetricPublisher.appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
CombinedSystemMetricsPublisher.appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
SystemMetricsPublisher.appUpdated(RMApp app,
long updatedTime) |
void |
TimelineServiceV1Publisher.appUpdated(RMApp app,
long updatedTime) |
void |
TimelineServiceV2Publisher.appUpdated(RMApp app,
long currentTimeMillis) |
void |
NoOpSystemMetricPublisher.appUpdated(RMApp app,
long currentTimeMillis) |
void |
CombinedSystemMetricsPublisher.appUpdated(RMApp app,
long updatedTime) |
Modifier and Type | Method and Description |
---|---|
void |
RMStateStore.removeApplication(RMApp app)
Non-blocking API
ResourceManager services call this to remove an application from the state
store
This does not block the dispatcher threads
There is no notification of completion for this operation.
|
void |
RMStateStore.storeNewApplication(RMApp app)
Non-Blocking API
ResourceManager services use this to store the application's state
This does not block the dispatcher threads
RMAppStoredEvent will be sent on completion to notify the RMApp.
|
Modifier and Type | Class and Description |
---|---|
class |
RMAppImpl |
Modifier and Type | Method and Description |
---|---|
static boolean |
RMAppImpl.isAppInFinalState(RMApp rmApp) |
Constructor and Description |
---|
RMAppAttemptImpl(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
RMContext rmContext,
YarnScheduler scheduler,
ApplicationMasterService masterService,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext,
org.apache.hadoop.conf.Configuration conf,
List<org.apache.hadoop.yarn.api.records.ResourceRequest> amReqs,
RMApp rmApp) |
RMAppAttemptImpl(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
RMContext rmContext,
YarnScheduler scheduler,
ApplicationMasterService masterService,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext,
org.apache.hadoop.conf.Configuration conf,
List<org.apache.hadoop.yarn.api.records.ResourceRequest> amReqs,
RMApp rmApp,
BlacklistManager amBlacklistManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
QueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
String remoteAddress,
List<String> forwardedAddresses) |
boolean |
QueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
String remoteAddress,
List<String> forwardedAddresses,
String targetQueue)
Check access to a targetQueue in the case of a move of an application.
|
Modifier and Type | Method and Description |
---|---|
protected Boolean |
RMWebServices.hasAccess(RMApp app,
javax.servlet.http.HttpServletRequest hsr) |
protected Boolean |
FairSchedulerAppsBlock.hasAccess(RMApp app,
javax.servlet.http.HttpServletRequest hsr) |
protected javax.ws.rs.core.Response |
RMWebServices.killApp(RMApp app,
org.apache.hadoop.security.UserGroupInformation callerUGI,
javax.servlet.http.HttpServletRequest hsr,
String diagnostic) |
protected javax.ws.rs.core.Response |
RMWebServices.moveApp(RMApp app,
org.apache.hadoop.security.UserGroupInformation callerUGI,
String targetQueue) |
Constructor and Description |
---|
AppInfo(ResourceManager rm,
RMApp app,
Boolean hasAccess,
String schemePrefix) |
AppInfo(ResourceManager rm,
RMApp app,
Boolean hasAccess,
String schemePrefix,
DeSelectFields deSelects) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.