|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.giraph.BspCase
org.apache.giraph.TestBspBasic
public class TestBspBasic
Unit test for many simple BSP applications.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher |
|---|
org.apache.zookeeper.Watcher.Event |
| Field Summary |
|---|
| Fields inherited from class org.apache.giraph.BspCase |
|---|
READER_VERTICES |
| Constructor Summary | |
|---|---|
TestBspBasic()
|
|
| Method Summary | |
|---|---|
void |
testBspCombiner()
Run a sample BSP job locally with 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 |
testInputSplitPathOrganizer()
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. |
| Methods inherited from class org.apache.giraph.BspCase |
|---|
getCallingMethodName, getNumResults, getNumWorkers, getSinglePartFileStatus, getTempPath, getZooKeeperList, prepareJob, prepareJob, process, removeAndSetOutput, runningInDistributedMode, setUp, setupConfiguration, tearDown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestBspBasic()
| Method Detail |
|---|
public void testInstantiateVertex()
throws InstantiationException,
IllegalAccessException,
IOException,
InterruptedException,
IllegalArgumentException,
InvocationTargetException,
SecurityException,
NoSuchMethodException
IllegalAccessException
InstantiationException
InterruptedException
IOException
InvocationTargetException
IllegalArgumentException
NoSuchMethodException
SecurityException
public void testInstantiateNullVertex()
throws IOException
IOException
public void testLocalJobRunnerConfig()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testBspFail()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testBspSuperStep()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testBspMsg()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testEmptyVertexInputFormat()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testBspCombiner()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testInputSplitPathOrganizer()
throws IOException,
org.apache.zookeeper.KeeperException,
InterruptedException
IOException
org.apache.zookeeper.KeeperException
InterruptedException
public void testBspShortestPaths()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testBspPageRankWithAggregatorWriter()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
public void testBspMasterCompute()
throws IOException,
InterruptedException,
ClassNotFoundException
IOException
ClassNotFoundException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||