org.apache.hadoop.yarn.server.applicationhistoryservice.records
Class ApplicationAttemptStartData
java.lang.Object
org.apache.hadoop.yarn.server.applicationhistoryservice.records.ApplicationAttemptStartData
- Direct Known Subclasses:
- ApplicationAttemptStartDataPBImpl
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class ApplicationAttemptStartData
- extends Object
The class contains the fields that can be determined when
RMAppAttempt starts, and that need to be stored persistently.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationAttemptStartData
public ApplicationAttemptStartData()
newInstance
@InterfaceAudience.Public
@InterfaceStability.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
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
setApplicationAttemptId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
getHost
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getHost()
setHost
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setHost(String host)
getRPCPort
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract int getRPCPort()
setRPCPort
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setRPCPort(int rpcPort)
getMasterContainerId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId()
setMasterContainerId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.