Uses of Enum Class org.apache.hadoop.yarn.api.records.YarnApplicationState (Apache Hadoop YARN API 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.records, enum: YarnApplicationState

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

Packages that use YarnApplicationState
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.

- ## 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
  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
  Description
  `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`.
  `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`.
  `abstract void`
  GetApplicationsRequest.`setApplicationStates(EnumSet<YarnApplicationState> applicationStates)`
  Set the application states to filter applications on

- ## 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
  Description
  `abstract YarnApplicationState`
  ApplicationReport.`getYarnApplicationState()`
  Get the `YarnApplicationState` of the application.
  `static YarnApplicationState`
  YarnApplicationState.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static YarnApplicationState[]`
  YarnApplicationState.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.hadoop.yarn.api.records with parameters of type YarnApplicationState
  Modifier and Type
  Method
  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 submitTime, long launchTime, 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 submitTime, long launchTime, 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)`
  `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 launchTime, 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 launchTime, 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)`
  `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)`
  `abstract void`
  ApplicationReport.`setYarnApplicationState(YarnApplicationState state)`