Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
LOG |
Constructor and Description |
---|
LocalLauncher() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is to for disposing or cleaning up any internal state accumulated by
the ILauncher
|
protected java.lang.String[] |
getSchedulerCommand() |
void |
initialize(Config mConfig,
Config mRuntime)
Initialize Launcher with Config, Uploader and topology.
|
boolean |
launch(PackingPlan packing)
Launch the topology
|
protected boolean |
setupWorkingDirectory() |
protected java.lang.Process |
startScheduler(java.lang.String[] schedulerCmd) |
public void initialize(Config mConfig, Config mRuntime)
ILauncher
initialize
in interface ILauncher
public void close()
ILauncher
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.
public boolean launch(PackingPlan packing)
protected java.lang.String[] getSchedulerCommand()
protected boolean setupWorkingDirectory()
protected java.lang.Process startScheduler(java.lang.String[] schedulerCmd)