GetContainerReportResponse (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.api.protocolrecords, class: GetContainerReportResponse

Package org.apache.hadoop.yarn.api.protocolrecords

# Class GetContainerReportResponse

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

@Public @Unstable public abstract class GetContainerReportResponse extends Object

The response sent by the `ResourceManager` to a client requesting a container report.

The response includes a `ContainerReport` which has details of a container.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetContainerReportResponse()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract ContainerReport`
  `getContainerReport()`
  Get the `ContainerReport` for the container.
  `static GetContainerReportResponse`
  `newInstance(ContainerReport containerReport)`
  `abstract void`
  `setContainerReport(ContainerReport containerReport)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GetContainerReportResponse

    public GetContainerReportResponse()

- ## Method Details

  - ### newInstance

    @Public @Unstable public static GetContainerReportResponse newInstance(ContainerReport containerReport)

  - ### getContainerReport

    @Public @Unstable public abstract ContainerReport getContainerReport()
    Get the `ContainerReport` for the container.
    Returns:
      `ContainerReport` for the container

  - ### setContainerReport

    @Public @Unstable public abstract void setContainerReport(ContainerReport containerReport)