Class GetApplicationAttemptsResponse

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptsResponse

@Public @Unstable public abstract class GetApplicationAttemptsResponse extends Object

The response sent by the ResourceManager to a client requesting a list of ApplicationAttemptReport for application attempts.

The ApplicationAttemptReport for each application includes the details of an application attempt.

See Also:
  • Constructor Details

    • GetApplicationAttemptsResponse

      public GetApplicationAttemptsResponse()
  • Method Details

    • newInstance

      @Public @Unstable public static GetApplicationAttemptsResponse newInstance(List<ApplicationAttemptReport> applicationAttempts)
    • getApplicationAttemptList

      @Public @Unstable public abstract List<ApplicationAttemptReport> getApplicationAttemptList()
      Get a list of ApplicationReport of an application.
      Returns:
      a list of ApplicationReport of an application
    • setApplicationAttemptList

      @Public @Unstable public abstract void setApplicationAttemptList(List<ApplicationAttemptReport> applicationAttempts)
      Get a list of ApplicationReport of an application.
      Parameters:
      applicationAttempts - a list of ApplicationReport of an application