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

All Known Implementing Classes:
RegisterApplicationMasterResponsePBImpl

@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.
 void setApplicationACLs(Map<ApplicationAccessType,String> acls)
          Set the ApplicationACLs for the application.
 void setMaximumResourceCapability(Resource capability)
           
 void setMinimumResourceCapability(Resource capability)
           
 

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

setMinimumResourceCapability

@InterfaceAudience.Private
@InterfaceStability.Unstable
void setMinimumResourceCapability(Resource capability)

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

setMaximumResourceCapability

@InterfaceAudience.Private
@InterfaceStability.Unstable
void setMaximumResourceCapability(Resource capability)

getApplicationACLs

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

Returns:
all the ApplicationACLs

setApplicationACLs

@InterfaceAudience.Private
@InterfaceStability.Unstable
void setApplicationACLs(Map<ApplicationAccessType,String> acls)
Set the ApplicationACLs for the application.

Parameters:
acls -


Copyright © 2012 Apache Software Foundation. All Rights Reserved.