public class SimpleCheckpoint extends Object implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleCheckpoint.SimpleCheckpointComputation
Actual computation.
|
static class |
SimpleCheckpoint.SimpleCheckpointVertexMasterCompute
Master compute associated with
SimpleCheckpoint. |
static class |
SimpleCheckpoint.SimpleCheckpointVertexWorkerContext
Worker context associated with
SimpleCheckpoint. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLE_FAULT
Should fault?
|
static int |
FAULTING_SUPERSTEP
Which superstep to cause the worker to fail
|
static long |
FAULTING_VERTEX_ID
Vertex id to fault on
|
static String |
SUPERSTEP_COUNT
Dynamically 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.