|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AMRMClientAsync.CallbackHandler
Method Summary | |
---|---|
float |
getProgress()
|
void |
onContainersAllocated(List<org.apache.hadoop.yarn.api.records.Container> containers)
Called when the ResourceManager responds to a heartbeat with allocated containers. |
void |
onContainersCompleted(List<org.apache.hadoop.yarn.api.records.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<org.apache.hadoop.yarn.api.records.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. |
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |