Constructor and Description |
---|
BGDClient(String input,
int numSplits,
int memory,
int fanOut,
BGDControlParameters bgdControlParameters) |
Modifier and Type | Method and Description |
---|---|
static BGDClient |
fromCommandLine(String[] args) |
LauncherStatus |
run(Configuration runtimeConfiguration,
String jobName,
int timeout)
Runs BGD on the given runtime - with timeout.
|
void |
submit(Configuration runtimeConfiguration,
String jobName)
Runs BGD on the given runtime.
|
@Inject public BGDClient(String input, int numSplits, int memory, int fanOut, BGDControlParameters bgdControlParameters)
public void submit(Configuration runtimeConfiguration, String jobName) throws Exception
runtimeConfiguration
- the runtime to run on.jobName
- the name of the job on the runtime.Exception
public LauncherStatus run(Configuration runtimeConfiguration, String jobName, int timeout) throws Exception
runtimeConfiguration
- the runtime to run on.jobName
- the name of the job on the runtime.timeout
- the time after which the job will be killed if not completed, in msException
public static final BGDClient fromCommandLine(String[] args) throws Exception
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.