public class DAGRecoveredEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
DAGRecoveredEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
org.apache.tez.dag.records.TezDAGID dagId,
String dagName,
String user,
long recoveredTime,
DAGState recoveredState,
String recoveryFailureReason,
String containerLogs) |
DAGRecoveredEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
org.apache.tez.dag.records.TezDAGID dagId,
String dagName,
String user,
long recoveredTime,
String containerLogs) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
String |
getContainerLogs() |
org.apache.tez.dag.records.TezDAGID |
getDagID() |
String |
getDagName() |
HistoryEventType |
getEventType() |
DAGState |
getRecoveredDagState() |
long |
getRecoveredTime() |
String |
getRecoveryFailureReason() |
String |
getUser() |
boolean |
isHistoryEvent() |
boolean |
isHistoryLoggingEnabled() |
boolean |
isRecoveryEvent() |
void |
setHistoryLoggingEnabled(boolean historyLoggingEnabled) |
void |
toProtoStream(com.google.protobuf.CodedOutputStream outputStream) |
String |
toString() |
public DAGRecoveredEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
org.apache.tez.dag.records.TezDAGID dagId,
String dagName,
String user,
long recoveredTime,
DAGState recoveredState,
String recoveryFailureReason,
String containerLogs)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic void toProtoStream(com.google.protobuf.CodedOutputStream outputStream)
throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(com.google.protobuf.CodedInputStream inputStream)
throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
public org.apache.tez.dag.records.TezDAGID getDagID()
public long getRecoveredTime()
public DAGState getRecoveredDagState()
public String getRecoveryFailureReason()
public String getDagName()
public String getUser()
public boolean isHistoryLoggingEnabled()
public void setHistoryLoggingEnabled(boolean historyLoggingEnabled)
public String getContainerLogs()
Copyright © 2019 Apache Software Foundation. All rights reserved.