Class ApplicationAttemptStartData
java.lang.Object
org.apache.hadoop.yarn.server.applicationhistoryservice.records.ApplicationAttemptStartData
- Direct Known Subclasses:
ApplicationAttemptStartDataPBImpl
The class contains the fields that can be determined when
RMAppAttempt starts, and that need to be stored persistently.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.hadoop.yarn.api.records.ApplicationAttemptIdabstract StringgetHost()abstract org.apache.hadoop.yarn.api.records.ContainerIdabstract intstatic ApplicationAttemptStartDatanewInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, String host, int rpcPort, org.apache.hadoop.yarn.api.records.ContainerId masterContainerId) abstract voidsetApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) abstract voidabstract voidsetMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId) abstract voidsetRPCPort(int rpcPort)
-
Constructor Details
-
ApplicationAttemptStartData
public ApplicationAttemptStartData()
-
-
Method Details
-
newInstance
@Public @Unstable public static ApplicationAttemptStartData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, String host, int rpcPort, org.apache.hadoop.yarn.api.records.ContainerId masterContainerId) -
getApplicationAttemptId
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId() -
setApplicationAttemptId
@Public @Unstable public abstract void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) -
getHost
-
setHost
-
getRPCPort
@Public @Unstable public abstract int getRPCPort() -
setRPCPort
@Public @Unstable public abstract void setRPCPort(int rpcPort) -
getMasterContainerId
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId() -
setMasterContainerId
@Public @Unstable public abstract void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)
-