Package | Description |
---|---|
org.apache.hadoop.yarn.api.records | |
org.apache.hadoop.yarn.api.records.impl.pb | |
org.apache.hadoop.yarn.server.utils |
Modifier and Type | Method and Description |
---|---|
abstract ContainerState |
ContainerStatus.getState()
Get the
ContainerState of the container. |
static ContainerState |
ContainerState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerState[] |
ContainerState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ContainerStatus |
ContainerStatus.newInstance(ContainerId containerId,
ContainerState containerState,
String diagnostics,
int exitStatus) |
abstract void |
ContainerStatus.setState(ContainerState state) |
Modifier and Type | Method and Description |
---|---|
static ContainerState |
ProtoUtils.convertFromProtoFormat(YarnProtos.ContainerStateProto e) |
ContainerState |
ContainerStatusPBImpl.getState() |
Modifier and Type | Method and Description |
---|---|
static YarnProtos.ContainerStateProto |
ProtoUtils.convertToProtoFormat(ContainerState e) |
void |
ContainerStatusPBImpl.setState(ContainerState state) |
Modifier and Type | Method and Description |
---|---|
static ContainerStatus |
BuilderUtils.newContainerStatus(ContainerId containerId,
ContainerState containerState,
String diagnostics,
int exitStatus) |
Copyright © 2013 Apache Software Foundation. All rights reserved.