Class ContainerLogContext

java.lang.Object
org.apache.hadoop.yarn.server.api.ContainerLogContext

@Public @Unstable public class ContainerLogContext extends Object
  • Constructor Details

    • ContainerLogContext

      @Public @Unstable public ContainerLogContext(ContainerId containerId, ContainerType containerType, int exitCode)
  • Method Details

    • getContainerId

      public ContainerId getContainerId()
      Get ContainerId of the container.
      Returns:
      the container ID
    • getContainerType

      public ContainerType getContainerType()
      Get ContainerType the type of the container.
      Returns:
      the type of the container
    • getExitCode

      public int getExitCode()
      Get the exit code of the container.
      Returns:
      the exit code