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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationResponse

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetNewApplicationResponse
extends Object

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

See Also:
ApplicationClientProtocol.getNewApplication(GetNewApplicationRequest)

Constructor Summary
GetNewApplicationResponse()
           
 
Method Summary
abstract  ApplicationId getApplicationId()
          Get the new ApplicationId allocated by the ResourceManager.
abstract  Resource getMaximumResourceCapability()
          Get the maximum capability for any Resource allocated by the ResourceManager in the cluster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetNewApplicationResponse

public GetNewApplicationResponse()
Method Detail

getApplicationId

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

Returns:
new ApplicationId allocated by the ResourceManager

getMaximumResourceCapability

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract 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 © 2014 Apache Software Foundation. All Rights Reserved.