@InterfaceAudience.Public @InterfaceStability.Stable public interface AllocateResponse
The response sent by the ResourceManager the
ApplicationMaster during resource negotiation.
The response, via AMResponse, includes:
| Modifier and Type | Method and Description |
|---|---|
AMResponse |
getAMResponse()
Get the
AMResponse sent by the ResourceManager. |
int |
getNumClusterNodes()
Get the number of hosts available on the cluster.
|
@InterfaceAudience.Public @InterfaceStability.Stable AMResponse getAMResponse()
AMResponse sent by the ResourceManager.AMResponse sent by the ResourceManager@InterfaceAudience.Public @InterfaceStability.Stable int getNumClusterNodes()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.