Java org.apache.hadoop.yarn.api.records ContainerStatus fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.yarn.api.records ContainerStatus fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.yarn.api.records ContainerStatus.

The text is from its open source code.

Constructor

Method

ContainerIdgetContainerId()
Get the ContainerId of the container.
StringgetDiagnostics()
Get diagnostic messages for failed containers.
intgetExitStatus()

Get the exit status for the container.

Note: This is valid only for completed containers i.e.

ContainerStategetState()
Get the ContainerState of the container.
ContainerStatusnewInstance(ContainerId containerId, ContainerState containerState, String diagnostics, int exitStatus)
voidsetExitStatus(int exitStatus)