public class SimpleMigrationMasterBlockFactory extends MigrationFullBlockFactory
Modifier and Type | Class and Description |
---|---|
static class |
SimpleMigrationMasterBlockFactory.SimpleMigrationMasterComputation
Demonstrates a computation with a centralized part implemented via a
MasterCompute.
|
static class |
SimpleMigrationMasterBlockFactory.SimpleMigrationMasterCompute
MasterCompute used with
SimpleMigrationMasterBlockFactory.SimpleMigrationMasterComputation . |
static class |
SimpleMigrationMasterBlockFactory.SimpleMigrationMasterWorkerContext
Worker context used with
SimpleMigrationMasterBlockFactory.SimpleMigrationMasterComputation . |
CONFIGURATORS
Constructor and Description |
---|
SimpleMigrationMasterBlockFactory() |
Modifier and Type | Method and Description |
---|---|
Block |
createBlock(GiraphConfiguration conf)
Create a block (representing a full Giraph job), based on the given
configuration.
|
protected Class<org.apache.hadoop.io.FloatWritable> |
getEdgeValueClass(GiraphConfiguration conf)
Concrete edge value class application will use.
|
protected Class<org.apache.hadoop.io.LongWritable> |
getVertexIDClass(GiraphConfiguration conf)
Concrete vertex id class application will use.
|
protected Class<org.apache.hadoop.io.DoubleWritable> |
getVertexValueClass(GiraphConfiguration conf)
Concrete vertex value class application will use.
|
protected Class<SimpleMigrationMasterBlockFactory.SimpleMigrationMasterWorkerContext> |
getWorkerContextValueClass(GiraphConfiguration conf)
Concrete worker context value class application will use, if overridden.
|
createExecutionStage, createMigrationAppBlock
additionalInitConfig, getConvenienceConfiguratorPackages, getGcJavaOpts, initConfig, registerOutputs, shouldCreateVertexOnMsgs, shouldSendOneMessageToAll
public Block createBlock(GiraphConfiguration conf)
BlockFactory
protected Class<org.apache.hadoop.io.LongWritable> getVertexIDClass(GiraphConfiguration conf)
AbstractBlockFactory
getVertexIDClass
in class AbstractBlockFactory<MigrationSuperstepStage>
protected Class<org.apache.hadoop.io.DoubleWritable> getVertexValueClass(GiraphConfiguration conf)
AbstractBlockFactory
getVertexValueClass
in class AbstractBlockFactory<MigrationSuperstepStage>
protected Class<org.apache.hadoop.io.FloatWritable> getEdgeValueClass(GiraphConfiguration conf)
AbstractBlockFactory
getEdgeValueClass
in class AbstractBlockFactory<MigrationSuperstepStage>
protected Class<SimpleMigrationMasterBlockFactory.SimpleMigrationMasterWorkerContext> getWorkerContextValueClass(GiraphConfiguration conf)
AbstractBlockFactory
getWorkerContextValueClass
in class MigrationFullBlockFactory
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.