public static interface AMRMClientAsync.CallbackHandler
| Modifier and Type | Method and Description |
|---|---|
float |
getProgress() |
void |
onContainersAllocated(List<Container> containers)
Called when the ResourceManager responds to a heartbeat with allocated
containers.
|
void |
onContainersCompleted(List<ContainerStatus> statuses)
Called when the ResourceManager responds to a heartbeat with completed
containers.
|
void |
onError(Throwable e)
Called when error comes from RM communications as well as from errors in
the callback itself from the app.
|
void |
onNodesUpdated(List<NodeReport> updatedNodes)
Called when nodes tracked by the ResourceManager have changed in health,
availability etc.
|
void |
onShutdownRequest()
Called when the ResourceManager wants the ApplicationMaster to shutdown
for being out of sync etc.
|
void onContainersCompleted(List<ContainerStatus> statuses)
void onContainersAllocated(List<Container> containers)
void onShutdownRequest()
void onNodesUpdated(List<NodeReport> updatedNodes)
float getProgress()
void onError(Throwable e)
e - Copyright © 2018 CERN. All Rights Reserved.