Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.client.api | |
org.apache.hadoop.yarn.service.client |
Package org.apache.hadoop.yarn.service.client contains classes
for YARN Services Client API.
|
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.lang3.Range<Long> startRange,
org.apache.commons.lang3.Range<Long> 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 states in the cluster from the
ResourceManager . |
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 |
---|---|
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.
|
abstract List<ApplicationReport> |
YarnClient.getApplications(Set<String> applicationTypes,
EnumSet<YarnApplicationState> applicationStates,
Set<String> applicationTags)
Get a report (ApplicationReport) of Applications matching the given
application types, application states and application tags in the cluster.
|
abstract List<ApplicationReport> |
YarnClient.getApplications(Set<String> queues,
Set<String> users,
Set<String> applicationTypes,
EnumSet<YarnApplicationState> applicationStates)
Get a report (ApplicationReport) of Applications matching the given users,
queues, application types and application states in the cluster.
|
Modifier and Type | Method and Description |
---|---|
ServiceState |
ServiceClient.convertState(YarnApplicationState state) |
Copyright © 2024 Apache Software Foundation. All rights reserved.