public class SimpleCheckpoint extends Object implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SimpleCheckpoint.SimpleCheckpointComputationActual computation. | 
| static class  | SimpleCheckpoint.SimpleCheckpointVertexMasterComputeMaster compute associated with  SimpleCheckpoint. | 
| static class  | SimpleCheckpoint.SimpleCheckpointVertexWorkerContextWorker context associated with  SimpleCheckpoint. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | ENABLE_FAULTShould fault? | 
| static int | FAULTING_SUPERSTEPWhich superstep to cause the worker to fail | 
| static long | FAULTING_VERTEX_IDVertex id to fault on | 
| static String | SUPERSTEP_COUNTDynamically set number of supersteps | 
| Constructor and Description | 
|---|
| SimpleCheckpoint() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.conf.Configuration | getConf() | 
| static void | main(String[] args)Executable from the command line. | 
| int | run(String[] args) | 
| void | setConf(org.apache.hadoop.conf.Configuration conf) | 
public static final int FAULTING_SUPERSTEP
public static final long FAULTING_VERTEX_ID
public static final String SUPERSTEP_COUNT
public static final String ENABLE_FAULT
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic static void main(String[] args) throws Exception
args - Command line args.Exceptionpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.