Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records | |
org.apache.hadoop.yarn.applications.distributedshell | |
org.apache.hadoop.yarn.client.api |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.security | |
org.apache.hadoop.yarn.security.client |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationAttemptId |
GetApplicationAttemptReportRequest.getApplicationAttemptId()
Get the
ApplicationAttemptId of an application attempt. |
abstract ApplicationAttemptId |
GetContainersRequest.getApplicationAttemptId()
Get the
ApplicationAttemptId of an application attempt. |
Modifier and Type | Method and Description |
---|---|
static GetApplicationAttemptReportRequest |
GetApplicationAttemptReportRequest.newInstance(ApplicationAttemptId applicationAttemptId) |
static GetContainersRequest |
GetContainersRequest.newInstance(ApplicationAttemptId applicationAttemptId) |
abstract void |
GetApplicationAttemptReportRequest.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
Set the
ApplicationAttemptId of an application attempt |
abstract void |
GetContainersRequest.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
Set the
ApplicationAttemptId of an application attempt |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationAttemptId |
ApplicationAttemptReport.getApplicationAttemptId()
Get the
ApplicationAttemptId of this attempt of the
application |
abstract ApplicationAttemptId |
ContainerId.getApplicationAttemptId()
Get the
ApplicationAttemptId of the application to which the
Container was assigned. |
abstract ApplicationAttemptId |
ApplicationReport.getCurrentApplicationAttemptId()
Get the
ApplicationAttemptId of the current
attempt of the application |
static ApplicationAttemptId |
ApplicationAttemptId.newInstance(ApplicationId appId,
int attemptId) |
Modifier and Type | Method and Description |
---|---|
int |
ApplicationAttemptId.compareTo(ApplicationAttemptId other) |
static ContainerId |
ContainerId.newContainerId(ApplicationAttemptId appAttemptId,
long containerId) |
static ContainerId |
ContainerId.newInstance(ApplicationAttemptId appAttemptId,
int containerId)
Deprecated.
|
static ApplicationAttemptReport |
ApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId,
String host,
int rpcPort,
String url,
String oUrl,
String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId) |
static ApplicationReport |
ApplicationReport.newInstance(ApplicationId applicationId,
ApplicationAttemptId applicationAttemptId,
String user,
String queue,
String name,
String host,
int rpcPort,
Token clientToAMToken,
YarnApplicationState state,
String diagnostics,
String url,
long startTime,
long finishTime,
FinalApplicationStatus finalStatus,
ApplicationResourceUsageReport appResources,
String origTrackingUrl,
float progress,
String applicationType,
Token amRmToken) |
abstract void |
ApplicationAttemptReport.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId) |
protected abstract void |
ContainerId.setApplicationAttemptId(ApplicationAttemptId atId) |
abstract void |
ApplicationReport.setCurrentApplicationAttemptId(ApplicationAttemptId applicationAttemptId) |
Modifier and Type | Field and Description |
---|---|
protected ApplicationAttemptId |
ApplicationMaster.appAttemptID |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationAttemptReport |
AHSClient.getApplicationAttemptReport(ApplicationAttemptId applicationAttemptId)
Get a report of the given ApplicationAttempt.
|
abstract ApplicationAttemptReport |
YarnClient.getApplicationAttemptReport(ApplicationAttemptId applicationAttemptId)
Get a report of the given ApplicationAttempt.
|
abstract List<ContainerReport> |
AHSClient.getContainers(ApplicationAttemptId applicationAttemptId)
Get a report of all (Containers) of ApplicationAttempt in the cluster.
|
abstract List<ContainerReport> |
YarnClient.getContainers(ApplicationAttemptId applicationAttemptId)
Get a report of all (Containers) of ApplicationAttempt in the cluster.
|
Modifier and Type | Method and Description |
---|---|
ApplicationAttemptId |
NMTokenIdentifier.getApplicationAttemptId() |
ApplicationAttemptId |
AMRMTokenIdentifier.getApplicationAttemptId() |
Constructor and Description |
---|
AMRMTokenIdentifier(ApplicationAttemptId appAttemptId,
int masterKeyId) |
NMTokenIdentifier(ApplicationAttemptId appAttemptId,
NodeId nodeId,
String applicationSubmitter,
int masterKeyId) |
Modifier and Type | Method and Description |
---|---|
ApplicationAttemptId |
ClientToAMTokenIdentifier.getApplicationAttemptID() |
Modifier and Type | Method and Description |
---|---|
SecretKey |
ClientToAMTokenSecretManager.getMasterKey(ApplicationAttemptId applicationAttemptID) |
abstract SecretKey |
BaseClientToAMTokenSecretManager.getMasterKey(ApplicationAttemptId applicationAttemptId) |
Constructor and Description |
---|
ClientToAMTokenIdentifier(ApplicationAttemptId id,
String client) |
ClientToAMTokenSecretManager(ApplicationAttemptId applicationAttemptID,
byte[] key) |
Copyright © 2016 Apache Software Foundation. All Rights Reserved.