Package | Description |
---|---|
org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.server.api |
Modifier and Type | Method and Description |
---|---|
abstract ExecutionType |
ContainerReport.getExecutionType()
Get the execution type of the container.
|
ExecutionType |
ContainerStatus.getExecutionType()
Get the
ExecutionType of the container. |
abstract ExecutionType |
Container.getExecutionType()
Get the
ExecutionType for the container. |
abstract ExecutionType |
UpdateContainerRequest.getExecutionType()
Get the target
ExecutionType of the container. |
abstract ExecutionType |
ExecutionTypeRequest.getExecutionType()
Get
ExecutionType . |
static ExecutionType |
ExecutionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
ExecutionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ResourceRequest.ResourceRequestBuilder |
ResourceRequest.ResourceRequestBuilder.executionType(ExecutionType executionType)
Set the
executionTypeRequest of the request with 'ensure
execution type' flag set to true. |
static ContainerStatus |
ContainerStatus.newInstance(ContainerId containerId,
ExecutionType executionType,
ContainerState containerState,
String diagnostics,
int exitStatus) |
static Container |
Container.newInstance(ContainerId containerId,
NodeId nodeId,
String nodeHttpAddress,
Resource resource,
Priority priority,
Token containerToken,
ExecutionType executionType) |
static ContainerReport |
ContainerReport.newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
String diagnosticInfo,
String logUrl,
int containerExitStatus,
ContainerState containerState,
String nodeHttpAddress,
ExecutionType executionType) |
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance(ExecutionType execType) |
static ExecutionTypeRequest |
ExecutionTypeRequest.newInstance(ExecutionType execType,
boolean ensureExecutionType) |
static UpdateContainerRequest |
UpdateContainerRequest.newInstance(int version,
ContainerId containerId,
ContainerUpdateType updateType,
Resource targetCapability,
ExecutionType targetExecutionType) |
abstract void |
ContainerReport.setExecutionType(ExecutionType executionType) |
void |
ContainerStatus.setExecutionType(ExecutionType executionType) |
abstract void |
Container.setExecutionType(ExecutionType executionType)
Set the
ExecutionType for the container. |
abstract void |
UpdateContainerRequest.setExecutionType(ExecutionType executionType)
Set the target
ExecutionType of the container. |
abstract void |
ExecutionTypeRequest.setExecutionType(ExecutionType execType)
Set the
ExecutionType of the requested container. |
Modifier and Type | Method and Description |
---|---|
ExecutionType |
ContainerContext.getExecutionType()
Get
ExecutionType the execution type of the container
being initialized or stopped. |
Constructor and Description |
---|
ContainerContext(String user,
ContainerId containerId,
Resource resource,
ContainerType containerType,
ExecutionType executionType) |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.