public class TestBspBasic extends BspCase
READER_VERTICES_OPT
Constructor and Description |
---|
TestBspBasic() |
Modifier and Type | Method and Description |
---|---|
void |
testBspCombiner()
Run a sample BSP job locally with message combiner and
checkout output value.
|
void |
testBspFail()
Run a sample BSP job in JobTracker, kill a task, and make sure
the job fails (not enough attempts to restart)
|
void |
testBspMasterCompute()
Run a sample BSP job locally and test MasterCompute.
|
void |
testBspMsg()
Run a sample BSP job locally and test messages.
|
void |
testBspPageRankWithAggregatorWriter()
Run a sample BSP job locally and test PageRank with AggregatorWriter.
|
void |
testBspShortestPaths()
Run a sample BSP job locally and test shortest paths.
|
void |
testBspSuperStep()
Run a sample BSP job locally and test supersteps.
|
void |
testEmptyVertexInputFormat()
Run a sample BSP job locally with no vertices and make sure
it completes.
|
void |
testHaltSuperstep0()
Test halting at superstep 0
|
void |
testInputSplitLocality()
Run a test to see if the InputSplitPathOrganizer can correctly sort
locality information from a mocked znode of data.
|
void |
testInstantiateNullVertex()
Test whether vertices with NullWritable for vertex value type, edge value
type and message value type can be instantiated.
|
void |
testInstantiateVertex()
Just instantiate the vertex (all functions are implemented) and the
VertexInputFormat using reflection.
|
void |
testLocalJobRunnerConfig()
Do some checks for local job runner.
|
getCallingMethodName, getNumResults, getNumWorkers, getSinglePartFileStatus, getTempPath, getZooKeeperList, prepareJob, prepareJob, process, removeAndSetOutput, runningInDistributedMode, setUp, setupConfiguration, tearDown
public void testInstantiateVertex() throws InstantiationException, IllegalAccessException, IOException, InterruptedException, IllegalArgumentException, InvocationTargetException, SecurityException, NoSuchMethodException
public void testInstantiateNullVertex() throws IOException
IOException
public void testLocalJobRunnerConfig() throws IOException, InterruptedException, ClassNotFoundException
public void testBspFail() throws IOException, InterruptedException, ClassNotFoundException
public void testBspSuperStep() throws IOException, InterruptedException, ClassNotFoundException
public void testBspMsg() throws IOException, InterruptedException, ClassNotFoundException
public void testEmptyVertexInputFormat() throws IOException, InterruptedException, ClassNotFoundException
public void testBspCombiner() throws IOException, InterruptedException, ClassNotFoundException
public void testInputSplitLocality() throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOException
org.apache.zookeeper.KeeperException
InterruptedException
public void testBspShortestPaths() throws IOException, InterruptedException, ClassNotFoundException
public void testBspPageRankWithAggregatorWriter() throws IOException, InterruptedException, ClassNotFoundException
public void testBspMasterCompute() throws IOException, InterruptedException, ClassNotFoundException
public void testHaltSuperstep0() throws IOException, InterruptedException, ClassNotFoundException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.