org.apache.hadoop.yarn.server.applicationhistoryservice.records
Class ApplicationAttemptHistoryData

java.lang.Object
  extended by org.apache.hadoop.yarn.server.applicationhistoryservice.records.ApplicationAttemptHistoryData

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class ApplicationAttemptHistoryData
extends Object

The class contains all the fields that are stored persistently for RMAppAttempt.


Constructor Summary
ApplicationAttemptHistoryData()
           
 
Method Summary
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
 String getDiagnosticsInfo()
           
 org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
           
 String getHost()
           
 org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId()
           
 int getRPCPort()
           
 String getTrackingURL()
           
 org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState getYarnApplicationAttemptState()
           
static ApplicationAttemptHistoryData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, String host, int rpcPort, org.apache.hadoop.yarn.api.records.ContainerId masterContainerId, String diagnosticsInfo, String trackingURL, org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalApplicationStatus, org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState yarnApplicationAttemptState)
           
 void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
           
 void setDiagnosticsInfo(String diagnosticsInfo)
           
 void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalApplicationStatus)
           
 void setHost(String host)
           
 void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)
           
 void setRPCPort(int rpcPort)
           
 void setTrackingURL(String trackingURL)
           
 void setYarnApplicationAttemptState(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState yarnApplicationAttemptState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationAttemptHistoryData

public ApplicationAttemptHistoryData()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static ApplicationAttemptHistoryData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
                                                                                                             String host,
                                                                                                             int rpcPort,
                                                                                                             org.apache.hadoop.yarn.api.records.ContainerId masterContainerId,
                                                                                                             String diagnosticsInfo,
                                                                                                             String trackingURL,
                                                                                                             org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalApplicationStatus,
                                                                                                             org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState yarnApplicationAttemptState)

getApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()

setApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)

getHost

@InterfaceAudience.Public
@InterfaceStability.Unstable
public String getHost()

setHost

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setHost(String host)

getRPCPort

@InterfaceAudience.Public
@InterfaceStability.Unstable
public int getRPCPort()

setRPCPort

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setRPCPort(int rpcPort)

getTrackingURL

@InterfaceAudience.Public
@InterfaceStability.Unstable
public String getTrackingURL()

setTrackingURL

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setTrackingURL(String trackingURL)

getDiagnosticsInfo

@InterfaceAudience.Public
@InterfaceStability.Unstable
public String getDiagnosticsInfo()

setDiagnosticsInfo

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setDiagnosticsInfo(String diagnosticsInfo)

getFinalApplicationStatus

@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()

setFinalApplicationStatus

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalApplicationStatus)

getMasterContainerId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId()

setMasterContainerId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)

getYarnApplicationAttemptState

@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState getYarnApplicationAttemptState()

setYarnApplicationAttemptState

@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setYarnApplicationAttemptState(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState yarnApplicationAttemptState)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.