public abstract class GiraphBenchmark extends Object implements org.apache.hadoop.util.Tool
| Constructor and Description |
|---|
GiraphBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<BenchmarkOption> |
getBenchmarkOptions()
Get the options to use in this benchmark.
|
org.apache.hadoop.conf.Configuration |
getConf() |
protected abstract void |
prepareConfiguration(GiraphConfiguration conf,
org.apache.commons.cli.CommandLine cmd)
Process options from CommandLine and prepare configuration for running
the job.
|
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic abstract Set<BenchmarkOption> getBenchmarkOptions()
protected abstract void prepareConfiguration(GiraphConfiguration conf, org.apache.commons.cli.CommandLine cmd)
conf - Configurationcmd - Command lineCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.