|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProto>
org.apache.hadoop.yarn.server.resourcemanager.recovery.records.impl.pb.ApplicationAttemptStateDataPBImpl
public class ApplicationAttemptStateDataPBImpl
| Constructor Summary | |
|---|---|
ApplicationAttemptStateDataPBImpl()
|
|
ApplicationAttemptStateDataPBImpl(org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProto proto)
|
|
| Method Summary | |
|---|---|
static RMAppAttemptState |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.RMAppAttemptStateProto e)
|
static org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.RMAppAttemptStateProto |
convertToProtoFormat(RMAppAttemptState e)
|
ByteBuffer |
getAppAttemptTokens()
The application attempt tokens that belong to this attempt |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAttemptId()
The ApplicationAttemptId for the application attempt |
String |
getDiagnostics()
Get the diagnositic information of the attempt |
org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
Get the final finish status of the application. |
String |
getFinalTrackingUrl()
Get the original not-proxied final tracking url for the application. |
org.apache.hadoop.yarn.api.records.Container |
getMasterContainer()
|
org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProto |
getProto()
|
long |
getStartTime()
Get the start time of the application. |
RMAppAttemptState |
getState()
Get the final state of the application attempt. |
static ApplicationAttemptStateData |
newApplicationAttemptStateData(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId,
org.apache.hadoop.yarn.api.records.Container container,
ByteBuffer attemptTokens,
long startTime,
RMAppAttemptState finalState,
String finalTrackingUrl,
String diagnostics,
org.apache.hadoop.yarn.api.records.FinalApplicationStatus amUnregisteredFinalStatus)
|
void |
setAppAttemptTokens(ByteBuffer attemptTokens)
|
void |
setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
|
void |
setDiagnostics(String diagnostics)
|
void |
setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState)
|
void |
setFinalTrackingUrl(String url)
Set the final tracking Url of the AM. |
void |
setMasterContainer(org.apache.hadoop.yarn.api.records.Container container)
|
void |
setStartTime(long startTime)
|
void |
setState(RMAppAttemptState state)
|
| Methods inherited from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase |
|---|
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationAttemptStateDataPBImpl()
public ApplicationAttemptStateDataPBImpl(org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProto proto)
| Method Detail |
|---|
public org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.ApplicationAttemptStateDataProto>public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAttemptId()
ApplicationAttemptStateData
getAttemptId in interface ApplicationAttemptStateDatapublic void setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
setAttemptId in interface ApplicationAttemptStateDatapublic org.apache.hadoop.yarn.api.records.Container getMasterContainer()
getMasterContainer in interface ApplicationAttemptStateDatapublic void setMasterContainer(org.apache.hadoop.yarn.api.records.Container container)
setMasterContainer in interface ApplicationAttemptStateDatapublic ByteBuffer getAppAttemptTokens()
ApplicationAttemptStateData
getAppAttemptTokens in interface ApplicationAttemptStateDatapublic void setAppAttemptTokens(ByteBuffer attemptTokens)
setAppAttemptTokens in interface ApplicationAttemptStateDatapublic RMAppAttemptState getState()
ApplicationAttemptStateData
getState in interface ApplicationAttemptStateDatapublic void setState(RMAppAttemptState state)
setState in interface ApplicationAttemptStateDatapublic String getFinalTrackingUrl()
ApplicationAttemptStateData
getFinalTrackingUrl in interface ApplicationAttemptStateDatapublic void setFinalTrackingUrl(String url)
ApplicationAttemptStateData
setFinalTrackingUrl in interface ApplicationAttemptStateDatapublic String getDiagnostics()
ApplicationAttemptStateData
getDiagnostics in interface ApplicationAttemptStateDatapublic void setDiagnostics(String diagnostics)
setDiagnostics in interface ApplicationAttemptStateDatapublic long getStartTime()
ApplicationAttemptStateData
getStartTime in interface ApplicationAttemptStateDatapublic void setStartTime(long startTime)
setStartTime in interface ApplicationAttemptStateDatapublic org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
ApplicationAttemptStateData
getFinalApplicationStatus in interface ApplicationAttemptStateDatapublic void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState)
setFinalApplicationStatus in interface ApplicationAttemptStateData
public static ApplicationAttemptStateData newApplicationAttemptStateData(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId,
org.apache.hadoop.yarn.api.records.Container container,
ByteBuffer attemptTokens,
long startTime,
RMAppAttemptState finalState,
String finalTrackingUrl,
String diagnostics,
org.apache.hadoop.yarn.api.records.FinalApplicationStatus amUnregisteredFinalStatus)
public static org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.RMAppAttemptStateProto convertToProtoFormat(RMAppAttemptState e)
public static RMAppAttemptState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.RMAppAttemptStateProto e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||