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
IOException
public void testDiskBackedPartitionStoreWithByteArrayPartition() throws IOException
IOException
public void testDiskBackedPartitionStore() throws IOException
IOException
public void testDiskBackedPartitionStoreComputation() throws Exception
Exception
public void testDiskBackedPartitionStoreWithByteArrayComputation() throws Exception
Exception
public void testDiskBackedPartitionStoreMT() throws Exception
Exception
public void testDiskBackedPartitionStoreMTStatic() throws Exception
Exception
public void testDiskBackedPartitionStoreAdaptiveOOC() throws Exception
Exception
public 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
IOException
public void testEdgeCombineWithByteArrayPartition() throws IOException
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.