public class SimpleVertexWithWorkerContext extends Object implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
SimpleVertexWithWorkerContext.EmitterWorkerContext
Example worker context to emit data as part of a superstep.
|
static class |
SimpleVertexWithWorkerContext.SimpleComputation
Actual vetex implementation
|
Modifier and Type | Field and Description |
---|---|
static String |
OUTPUTDIR
Directory name of where to write.
|
Constructor and Description |
---|
SimpleVertexWithWorkerContext() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static void |
main(String[] args)
Executable from the command line.
|
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public static final String OUTPUTDIR
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.