org.apache.hadoop.yarn.event.Event<ContainerEventType>public class ContainerReInitEvent extends ContainerEvent
| Constructor | Description |
|---|---|
ContainerReInitEvent(org.apache.hadoop.yarn.api.records.ContainerId cID,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext upgradeContext,
ResourceSet resourceSet,
boolean autoCommit) |
Container Re-Init Event.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
getReInitLaunchContext() |
Get the Launch Context to be used for upgrade.
|
ResourceSet |
getResourceSet() |
Get the ResourceSet.
|
boolean |
isAutoCommit() |
Should this re-Initialization be auto-committed.
|
getContainerIDgetTimestamp, getType, toStringpublic ContainerReInitEvent(org.apache.hadoop.yarn.api.records.ContainerId cID,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext upgradeContext,
ResourceSet resourceSet,
boolean autoCommit)
cID - Container Id.upgradeContext - Upgrade Context.resourceSet - Resource Set.autoCommit - Auto Commit.public org.apache.hadoop.yarn.api.records.ContainerLaunchContext getReInitLaunchContext()
public ResourceSet getResourceSet()
public boolean isAutoCommit()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.