org.apache.hadoop.yarn.api.protocolrecords
Interface RegisterApplicationMasterResponse


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface RegisterApplicationMasterResponse

The response sent by the ResourceManager to a new ApplicationMaster on registration.

The response contains critical details such as:

See Also:
AMRMProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)

Method Summary
 Map<ApplicationAccessType,String> getApplicationACLs()
          Get the ApplicationACLs for the application.
 Resource getMaximumResourceCapability()
          Get the maximum capability for any Resource allocated by the ResourceManager in the cluster.
 Resource getMinimumResourceCapability()
          Get the minimum capability for any Resource allocated by the ResourceManager in the cluster.
 

Method Detail

getMinimumResourceCapability

@InterfaceAudience.Public
@InterfaceStability.Stable
Resource getMinimumResourceCapability()
Get the minimum capability for any Resource allocated by the ResourceManager in the cluster.

Returns:
minimum capability of allocated resources in the cluster

getMaximumResourceCapability

@InterfaceAudience.Public
@InterfaceStability.Stable
Resource getMaximumResourceCapability()
Get the maximum capability for any Resource allocated by the ResourceManager in the cluster.

Returns:
maximum capability of allocated resources in the cluster

getApplicationACLs

@InterfaceAudience.Public
@InterfaceStability.Stable
Map<ApplicationAccessType,String> getApplicationACLs()
Get the ApplicationACLs for the application.

Returns:
all the ApplicationACLs


Copyright © 2012 Apache Software Foundation. All Rights Reserved.