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) |
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProtoStream(InputStream inputStream) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
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(OutputStream 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)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream 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)
Copyright © 2015 Apache Software Foundation. All rights reserved.