Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records | |
org.apache.hadoop.yarn.client.api |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
abstract EnumSet<YarnApplicationState> |
GetApplicationsRequest.getApplicationStates()
Get the application states to filter applications on
|
Modifier and Type | Method and Description |
---|---|
static GetApplicationsRequest |
GetApplicationsRequest.newInstance(ApplicationsRequestScope scope,
Set<String> users,
Set<String> queues,
Set<String> applicationTypes,
Set<String> applicationTags,
EnumSet<YarnApplicationState> applicationStates,
org.apache.commons.lang.math.LongRange startRange,
org.apache.commons.lang.math.LongRange finishRange,
Long limit)
The request from clients to get a report of Applications matching the
giving application types in the cluster from the
ResourceManager . |
static GetApplicationsRequest |
GetApplicationsRequest.newInstance(EnumSet<YarnApplicationState> applicationStates)
The request from clients to get a report of Applications matching the
giving application states in the cluster from the
ResourceManager . |
static GetApplicationsRequest |
GetApplicationsRequest.newInstance(Set<String> applicationTypes,
EnumSet<YarnApplicationState> applicationStates)
The request from clients to get a report of Applications matching the
giving and application types and application types in the cluster from the
ResourceManager . |
abstract void |
GetApplicationsRequest.setApplicationStates(EnumSet<YarnApplicationState> applicationStates)
Set the application states to filter applications on
|
Modifier and Type | Method and Description |
---|---|
abstract YarnApplicationState |
ApplicationReport.getYarnApplicationState()
Get the
YarnApplicationState of the application. |
static YarnApplicationState |
YarnApplicationState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YarnApplicationState[] |
YarnApplicationState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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 |
ApplicationReport.setYarnApplicationState(YarnApplicationState state) |
Modifier and Type | Method and Description |
---|---|
abstract List<ApplicationReport> |
YarnClient.getApplications(EnumSet<YarnApplicationState> applicationStates)
Get a report (ApplicationReport) of Applications matching the given
application states in the cluster.
|
abstract List<ApplicationReport> |
YarnClient.getApplications(Set<String> applicationTypes,
EnumSet<YarnApplicationState> applicationStates)
Get a report (ApplicationReport) of Applications matching the given
application types and application states in the cluster.
|
Copyright © 2016 Apache Software Foundation. All Rights Reserved.