| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records |
| Modifier and Type | Method and Description |
|---|---|
abstract ApplicationAttemptId |
GetContainersRequest.getApplicationAttemptId()
Get the
ApplicationAttemptId of an application attempt. |
abstract ApplicationAttemptId |
GetApplicationAttemptReportRequest.getApplicationAttemptId()
Get the
ApplicationAttemptId of an application attempt. |
abstract ApplicationAttemptId |
FailApplicationAttemptRequest.getApplicationAttemptId()
Get the
ApplicationAttemptId of the attempt to be failed. |
| Modifier and Type | Method and Description |
|---|---|
static GetContainersRequest |
GetContainersRequest.newInstance(ApplicationAttemptId applicationAttemptId) |
static GetApplicationAttemptReportRequest |
GetApplicationAttemptReportRequest.newInstance(ApplicationAttemptId applicationAttemptId) |
static FailApplicationAttemptRequest |
FailApplicationAttemptRequest.newInstance(ApplicationAttemptId attemptId) |
abstract void |
GetContainersRequest.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
Set the
ApplicationAttemptId of an application attempt |
abstract void |
GetApplicationAttemptReportRequest.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
Set the
ApplicationAttemptId of an application attempt |
abstract void |
FailApplicationAttemptRequest.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId) |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationAttemptId |
ApplicationAttemptId.fromString(String applicationAttemptIdStr) |
abstract ApplicationAttemptId |
ContainerId.getApplicationAttemptId()
Get the
ApplicationAttemptId of the application to which the
Container was assigned. |
abstract ApplicationAttemptId |
ApplicationAttemptReport.getApplicationAttemptId()
Get the
ApplicationAttemptId of this attempt of the
application |
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 ApplicationAttemptReport |
ApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId,
String host,
int rpcPort,
String url,
String oUrl,
String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId,
long startTime,
long finishTime) |
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) |
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,
Set<String> tags,
boolean unmanagedApplication,
Priority priority,
String appNodeLabelExpression,
String amNodeLabelExpression) |
protected abstract void |
ContainerId.setApplicationAttemptId(ApplicationAttemptId atId) |
abstract void |
ApplicationAttemptReport.setApplicationAttemptId(ApplicationAttemptId applicationAttemptId) |
abstract void |
ApplicationReport.setCurrentApplicationAttemptId(ApplicationAttemptId applicationAttemptId) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.