public class TestPartitionStores extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestPartitionStores.EmptyComputation
Test compute method that sends each edge a notification of its parents.
|
static class |
TestPartitionStores.MyComputation |
static class |
TestPartitionStores.TestOutOfCoreMessagesComputation |
| Constructor and Description |
|---|
TestPartitionStores() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testDiskBackedPartitionStore() |
void |
testDiskBackedPartitionStoreAdaptiveOOC() |
void |
testDiskBackedPartitionStoreComputation() |
void |
testDiskBackedPartitionStoreMT() |
void |
testDiskBackedPartitionStoreMTStatic() |
void |
testDiskBackedPartitionStoreWithByteArrayComputation() |
void |
testDiskBackedPartitionStoreWithByteArrayPartition() |
void |
testEdgeCombineWithByteArrayPartition() |
void |
testEdgeCombineWithSimplePartition() |
void |
testOutOfCoreMessages() |
void |
testReadWrite(PartitionStore<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable> partitionStore,
ImmutableClassesGiraphConfiguration<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable> conf)
Test reading/writing to/from a partition store
|
void |
testSimplePartitionStore() |
void |
testUnsafePartitionSerializationClass() |
public void setUp()
public void testSimplePartitionStore()
public void testUnsafePartitionSerializationClass()
throws IOException
IOExceptionpublic void testDiskBackedPartitionStoreWithByteArrayPartition()
throws IOException
IOExceptionpublic void testDiskBackedPartitionStore()
throws IOException
IOExceptionpublic void testDiskBackedPartitionStoreComputation()
throws Exception
Exceptionpublic void testDiskBackedPartitionStoreWithByteArrayComputation()
throws Exception
Exceptionpublic void testDiskBackedPartitionStoreMT()
throws Exception
Exceptionpublic void testDiskBackedPartitionStoreMTStatic()
throws Exception
Exceptionpublic void testDiskBackedPartitionStoreAdaptiveOOC()
throws Exception
Exceptionpublic void testReadWrite(PartitionStore<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable> partitionStore, ImmutableClassesGiraphConfiguration<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.NullWritable> conf)
partitionStore - Partition store to testconf - Configuration to usepublic void testEdgeCombineWithSimplePartition()
throws IOException
IOExceptionpublic void testEdgeCombineWithByteArrayPartition()
throws IOException
IOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.