public class TestCheckpointing extends BspCase
Modifier and Type | Class and Description |
---|---|
static class |
TestCheckpointing.CheckpointComputation
Actual computation.
|
static class |
TestCheckpointing.CheckpointVertexMasterCompute
Master compute
|
static class |
TestCheckpointing.CheckpointVertexWorkerContext
Worker context associated.
|
Modifier and Type | Field and Description |
---|---|
static String |
TEST_JOB_ID
ID to be used with test job
|
READER_VERTICES_OPT
Constructor and Description |
---|
TestCheckpointing()
Create the test case
|
Modifier and Type | Method and Description |
---|---|
void |
testAsyncMessageStoreCheckpoint() |
void |
testBspCheckpoint() |
void |
testBspCheckpoint(boolean useAsyncMessageStore) |
void |
testManualCheckpoint() |
void |
testManualCheckpointAtTheBeginning() |
getCallingMethodName, getNumResults, getNumWorkers, getSinglePartFileStatus, getTempPath, getZooKeeperList, prepareJob, prepareJob, process, removeAndSetOutput, runningInDistributedMode, setUp, setupConfiguration, tearDown
public static final String TEST_JOB_ID
public void testBspCheckpoint() throws InterruptedException, IOException, ClassNotFoundException
public void testAsyncMessageStoreCheckpoint() throws InterruptedException, IOException, ClassNotFoundException
public void testBspCheckpoint(boolean useAsyncMessageStore) throws IOException, InterruptedException, ClassNotFoundException
public void testManualCheckpointAtTheBeginning() throws InterruptedException, IOException, ClassNotFoundException
public void testManualCheckpoint() throws InterruptedException, IOException, ClassNotFoundException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.