public class HCatGiraphRunner extends Object implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description |
|---|---|
protected String |
dbName
dbName
|
protected String |
edgeInputTableFilterExpr
edge input table filter
|
protected String |
edgeInputTableName
edge input table name
|
protected boolean |
isVerbose
is verbose
|
protected String |
outputTableName
output table name
|
protected Map<String,String> |
outputTablePartitionValues
output table partitions
|
protected String |
vertexInputTableFilterExpr
vertex input table filter
|
protected String |
vertexInputTableName
vertex input table name
|
protected int |
workers
workers
|
| Modifier | Constructor and Description |
|---|---|
protected |
HCatGiraphRunner(Class<? extends Computation> computationClass,
Class<? extends VertexInputFormat> vertexInputFormatClass,
Class<? extends EdgeInputFormat> edgeInputFormatClass,
Class<? extends VertexOutputFormat> vertexOutputFormatClass)
Giraph runner class.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMoreOptions(org.apache.commons.cli.Options options)
Override this method to add more command-line options.
|
org.apache.hadoop.conf.Configuration |
getConf() |
protected void |
initGiraphJob(GiraphJob job)
Override this method to do additional setup with the GiraphJob that will
run.
|
static void |
main(String[] args)
main method
|
protected void |
processMoreArguments(org.apache.commons.cli.CommandLine cmd)
Override this method to process additional command-line arguments.
|
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
protected int workers
protected boolean isVerbose
protected Map<String,String> outputTablePartitionValues
protected String dbName
protected String vertexInputTableName
protected String vertexInputTableFilterExpr
protected String edgeInputTableName
protected String edgeInputTableFilterExpr
protected String outputTableName
protected HCatGiraphRunner(Class<? extends Computation> computationClass, Class<? extends VertexInputFormat> vertexInputFormatClass, Class<? extends EdgeInputFormat> edgeInputFormatClass, Class<? extends VertexOutputFormat> vertexOutputFormatClass)
computationClass - Computation classvertexInputFormatClass - Vertex input formatedgeInputFormatClass - Edge input formatvertexOutputFormatClass - Output formatpublic static void main(String[] args) throws Exception
args - system argumentsException - any errors from Hive Giraph Runnerpublic final int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic final org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic final void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurableprotected void addMoreOptions(org.apache.commons.cli.Options options)
processMoreArguments(CommandLine).options - Optionsprotected void processMoreArguments(org.apache.commons.cli.CommandLine cmd)
addMoreOptions(Options).cmd - Commandprotected void initGiraphJob(GiraphJob job)
job - GiraphJob that is going to runCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.