public class LocalBlockRunner extends Object
Modifier and Type | Field and Description |
---|---|
static IntConfOption |
NUM_PARTITIONS
Number of vertex partitions
|
static IntConfOption |
NUM_THREADS
Number of threads to use
|
static BooleanConfOption |
RUN_ALL_CHECKS
Whether to run all supported checks.
|
static BooleanConfOption |
SERIALIZE_MASTER |
Modifier and Type | Method and Description |
---|---|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
runApp(TestGraph<I,V,E> graph)
Run Block Application specified within the conf, on a given graph,
locally, in-memory.
|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
runApp(TestGraph<I,V,E> graph,
boolean useFullDigraphTests)
Run Block Application specified within the conf, on a given graph,
locally, in-memory.
|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
runAppWithVertexOutput(TestGraph<I,V,E> graph,
SimpleVertexWriter<I,V,E> vertexSaver)
Run Block Application specified within the conf, on a given graph,
locally, in-memory, with a given vertexSaver.
|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
runBlock(TestGraph<I,V,E> graph,
Block block,
Object executionStage)
Run Block from a specified execution stage on a given graph,
locally, in-memory.
|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
runBlockWithVertexOutput(Block block,
Object executionStage,
TestGraph<I,V,E> graph,
SimpleVertexWriter<I,V,E> vertexSaver)
Run Block from a specified execution stage on a given graph,
locally, in-memory, with a given vertexSaver.
|
public static final IntConfOption NUM_THREADS
public static final IntConfOption NUM_PARTITIONS
public static final BooleanConfOption RUN_ALL_CHECKS
public static final BooleanConfOption SERIALIZE_MASTER
public static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> TestGraph<I,V,E> runApp(TestGraph<I,V,E> graph, boolean useFullDigraphTests) throws Exception
Exception
public static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> void runApp(TestGraph<I,V,E> graph)
public static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> void runBlock(TestGraph<I,V,E> graph, Block block, Object executionStage)
public static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> void runAppWithVertexOutput(TestGraph<I,V,E> graph, SimpleVertexWriter<I,V,E> vertexSaver)
public static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> void runBlockWithVertexOutput(Block block, Object executionStage, TestGraph<I,V,E> graph, SimpleVertexWriter<I,V,E> vertexSaver)
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.