## Uses of Class
org.apache.hadoop.yarn.api.records.YarnApplicationState

- Packages that use YarnApplicationState
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.protocolrecords |
  org.apache.hadoop.yarn.api.records |
  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.

- - ### Uses of YarnApplicationState in org.apache.hadoop.yarn.api.protocolrecords

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type YarnApplicationState
    Modifier and Type | Method and Description
    --- | ---
    `abstract EnumSet<YarnApplicationState>` | GetApplicationsRequest.`getApplicationStates()` Get the application states to filter applications on

    Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type YarnApplicationState
    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 types in the cluster from the `ResourceManager`.

  - ### Uses of YarnApplicationState in org.apache.hadoop.yarn.api.records

    Methods in org.apache.hadoop.yarn.api.records that return YarnApplicationState
    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.

  - ### Uses of YarnApplicationState in org.apache.hadoop.yarn.client.api

    Method parameters in org.apache.hadoop.yarn.client.api with type arguments of type YarnApplicationState
    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.

  - ### Uses of YarnApplicationState in org.apache.hadoop.yarn.service.client

    Methods in org.apache.hadoop.yarn.service.client with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw YarnApplicationState
    Modifier and Type | Method and Description
    --- | ---
    `ServiceState` | ServiceClient.`convertState(YarnApplicationState state)`

Copyright © 2022 Apache Software Foundation. All rights reserved.