AMRMClientAsync.AbstractCallbackHandler@Deprecated
public static interface AMRMClientAsync.CallbackHandler
AMRMClientAsync.AbstractCallbackHandler instead.| Modifier and Type | Method | Description |
|---|---|---|
float |
getProgress() |
Deprecated.
|
void |
onContainersAllocated(java.util.List<org.apache.hadoop.yarn.api.records.Container> containers) |
Deprecated.
Called when the ResourceManager responds to a heartbeat with allocated
containers.
|
void |
onContainersCompleted(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> statuses) |
Deprecated.
Called when the ResourceManager responds to a heartbeat with completed
containers.
|
void |
onError(java.lang.Throwable e) |
Deprecated.
Called when error comes from RM communications as well as from errors in
the callback itself from the app.
|
void |
onNodesUpdated(java.util.List<org.apache.hadoop.yarn.api.records.NodeReport> updatedNodes) |
Deprecated.
Called when nodes tracked by the ResourceManager have changed in health,
availability etc.
|
void |
onShutdownRequest() |
Deprecated.
Called when the ResourceManager wants the ApplicationMaster to shutdown
for being out of sync etc.
|
void onContainersCompleted(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> statuses)
void onContainersAllocated(java.util.List<org.apache.hadoop.yarn.api.records.Container> containers)
void onShutdownRequest()
void onNodesUpdated(java.util.List<org.apache.hadoop.yarn.api.records.NodeReport> updatedNodes)
float getProgress()
void onError(java.lang.Throwable e)
e - Copyright © 2008–2025 Apache Software Foundation. All rights reserved.