public class RecoveryParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RecoveryParser.DAGRecoveryData |
static class |
RecoveryParser.TaskAttemptRecoveryData |
static class |
RecoveryParser.TaskRecoveryData |
static class |
RecoveryParser.VertexRecoveryData |
| Constructor and Description |
|---|
RecoveryParser(DAGAppMaster dagAppMaster,
org.apache.hadoop.fs.FileSystem recoveryFS,
org.apache.hadoop.fs.Path recoveryDataDir,
int currentAttemptId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] argv) |
static List<HistoryEvent> |
parseDAGRecoveryFile(org.apache.hadoop.fs.FSDataInputStream inputStream) |
RecoveryParser.DAGRecoveryData |
parseRecoveryData()
1.
|
static List<HistoryEvent> |
readRecoveryEvents(org.apache.tez.dag.api.TezConfiguration tezConf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
int attempt) |
public RecoveryParser(DAGAppMaster dagAppMaster, org.apache.hadoop.fs.FileSystem recoveryFS, org.apache.hadoop.fs.Path recoveryDataDir, int currentAttemptId) throws IOException
IOExceptionpublic static List<HistoryEvent> parseDAGRecoveryFile(org.apache.hadoop.fs.FSDataInputStream inputStream) throws IOException
IOExceptionpublic static List<HistoryEvent> readRecoveryEvents(org.apache.tez.dag.api.TezConfiguration tezConf, org.apache.hadoop.yarn.api.records.ApplicationId appId, int attempt) throws IOException
IOExceptionpublic static void main(String[] argv) throws IOException
IOExceptionpublic RecoveryParser.DAGRecoveryData parseRecoveryData() throws IOException
IOExceptionCopyright © 2019 Apache Software Foundation. All rights reserved.