AMRMClientAsync.AbstractCallbackHandler
instead.@Deprecated public static interface AMRMClientAsync.CallbackHandler
Modifier and Type | Method and Description |
---|---|
float |
getProgress()
Deprecated.
|
void |
onContainersAllocated(List<org.apache.hadoop.yarn.api.records.Container> containers)
Deprecated.
Called when the ResourceManager responds to a heartbeat with allocated
containers.
|
void |
onContainersCompleted(List<org.apache.hadoop.yarn.api.records.ContainerStatus> statuses)
Deprecated.
Called when the ResourceManager responds to a heartbeat with completed
containers.
|
void |
onError(Throwable e)
Deprecated.
Called when error comes from RM communications as well as from errors in
the callback itself from the app.
|
void |
onNodesUpdated(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(List<org.apache.hadoop.yarn.api.records.ContainerStatus> statuses)
void onContainersAllocated(List<org.apache.hadoop.yarn.api.records.Container> containers)
void onShutdownRequest()
void onNodesUpdated(List<org.apache.hadoop.yarn.api.records.NodeReport> updatedNodes)
float getProgress()
void onError(Throwable e)
e
- Copyright © 2008–2018 Apache Software Foundation. All rights reserved.