ContainerStateTransitionListener, org.apache.hadoop.yarn.state.StateTransitionListener<ContainerImpl,ContainerEvent,ContainerState>public static class NodeManager.DefaultContainerStateListener extends org.apache.hadoop.yarn.state.MultiStateTransitionListener<ContainerImpl,ContainerEvent,ContainerState> implements ContainerStateTransitionListener
| Constructor | Description |
|---|---|
DefaultContainerStateListener() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
init(Context context) |
Init method which will be invoked by the Node Manager to inject the
NM
Context. |
addListener, postTransition, preTransitionpublic void init(Context context)
ContainerStateTransitionListenerContext.init in interface ContainerStateTransitionListenercontext - NM Context.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.