| 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 |
Package org.apache.hadoop.yarn.server.resourcemanager.security
contains classes related to 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 | Description |
|---|---|---|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> |
RMActiveServiceContext.getRMApps() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> |
RMContext.getRMApps() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> |
RMContextImpl.getRMApps() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType,java.lang.String> |
RMAppManager.updateApplicationTimeout(RMApp app,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType,java.lang.String> newTimeoutInISO8601Format) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RMApplicationHistoryWriter.applicationFinished(RMApp app,
RMAppState finalState) |
|
void |
RMApplicationHistoryWriter.applicationStarted(RMApp app) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CombinedSystemMetricsPublisher.appACLsUpdated(RMApp app,
java.lang.String appViewACLs,
long updatedTime) |
|
void |
NoOpSystemMetricPublisher.appACLsUpdated(RMApp app,
java.lang.String appViewACLs,
long updatedTime) |
|
void |
SystemMetricsPublisher.appACLsUpdated(RMApp app,
java.lang.String appViewACLs,
long updatedTime) |
|
void |
TimelineServiceV1Publisher.appACLsUpdated(RMApp app,
java.lang.String appViewACLs,
long updatedTime) |
|
void |
TimelineServiceV2Publisher.appACLsUpdated(RMApp app,
java.lang.String appViewACLs,
long updatedTime) |
|
void |
CombinedSystemMetricsPublisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
|
void |
NoOpSystemMetricPublisher.appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
|
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 |
CombinedSystemMetricsPublisher.appCreated(RMApp app,
long createdTime) |
|
void |
NoOpSystemMetricPublisher.appCreated(RMApp app,
long createdTime) |
|
void |
SystemMetricsPublisher.appCreated(RMApp app,
long createdTime) |
|
void |
TimelineServiceV1Publisher.appCreated(RMApp app,
long createdTime) |
|
void |
TimelineServiceV2Publisher.appCreated(RMApp app,
long createdTime) |
|
void |
CombinedSystemMetricsPublisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
|
void |
NoOpSystemMetricPublisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
|
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 |
AbstractSystemMetricsPublisher.appLaunched(RMApp app,
long launchTime) |
|
void |
CombinedSystemMetricsPublisher.appLaunched(RMApp app,
long launchTime) |
|
void |
NoOpSystemMetricPublisher.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 |
CombinedSystemMetricsPublisher.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 |
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 |
CombinedSystemMetricsPublisher.appUpdated(RMApp app,
long updatedTime) |
|
void |
NoOpSystemMetricPublisher.appUpdated(RMApp app,
long currentTimeMillis) |
|
void |
SystemMetricsPublisher.appUpdated(RMApp app,
long updatedTime) |
|
void |
TimelineServiceV1Publisher.appUpdated(RMApp app,
long updatedTime) |
|
void |
TimelineServiceV2Publisher.appUpdated(RMApp app,
long currentTimeMillis) |
| Modifier and Type | Method | 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 | Description |
|---|---|---|
class |
RMAppImpl |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
RMAppImpl.isAppInFinalState(RMApp rmApp) |
| Constructor | 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,
java.util.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,
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> amReqs,
RMApp rmApp,
BlacklistManager amBlacklistManager) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
CapacityQueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses) |
|
boolean |
CapacityQueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses,
java.lang.String targetQueue) |
|
boolean |
FairQueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses) |
|
boolean |
FairQueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses,
java.lang.String targetQueue) |
|
boolean |
GenericQueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses) |
|
boolean |
GenericQueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses,
java.lang.String targetQueue) |
|
abstract boolean |
QueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses) |
|
abstract boolean |
QueueACLsManager.checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
java.lang.String remoteAddress,
java.util.List<java.lang.String> forwardedAddresses,
java.lang.String targetQueue) |
Check access to a targetQueue in the case of a move of an application.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.Boolean |
FairSchedulerAppsBlock.hasAccess(RMApp app,
javax.servlet.http.HttpServletRequest hsr) |
|
protected java.lang.Boolean |
RMWebServices.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,
java.lang.String diagnostic) |
|
protected javax.ws.rs.core.Response |
RMWebServices.moveApp(RMApp app,
org.apache.hadoop.security.UserGroupInformation callerUGI,
java.lang.String targetQueue) |
| Constructor | Description |
|---|---|
AppInfo(ResourceManager rm,
RMApp app,
java.lang.Boolean hasAccess,
java.lang.String schemePrefix) |
|
AppInfo(ResourceManager rm,
RMApp app,
java.lang.Boolean hasAccess,
java.lang.String schemePrefix,
DeSelectFields deSelects) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.