org.apache.hadoop.yarn.api.protocolrecords
Class GetNewApplicationResponse
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetNewApplicationResponse
public GetNewApplicationResponse()
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 © 2013 Apache Software Foundation. All Rights Reserved.