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


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface GetNewApplicationResponse

The response sent by the ResourceManager to the client for a request to get a new ApplicationId for submitting applications.

See Also:
ClientRMProtocol.getNewApplication(GetNewApplicationRequest)

Method Summary
 ApplicationId getApplicationId()
          Get the new ApplicationId allocated by the ResourceManager.
 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

getApplicationId

@InterfaceAudience.Public
@InterfaceStability.Stable
ApplicationId getApplicationId()
Get the new ApplicationId allocated by the ResourceManager.

Returns:
new ApplicationId allocated by the ResourceManager

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.