public class StratosphereEngine extends DDPEngine
NOTE: Only DDP pattern and I/O actors may be present in the workflow. Other actors must placed inside the composite pattern actors or in a different sub-workflow.
_additionalJars, _classLoader, _configDirStr, _CONNECT_TIMEOUT, _container, _degreeOfParallelism, _director, _displayRedirectDir, _engineName, _jobArgumentsMap, _jobDir, _jobLock, _sameJVM, _serverStartStopLock, _subWorkflows, _writeSubWorkflowsToFiles| Constructor and Description |
|---|
StratosphereEngine(DDPDirector director)
Create a new StratosphereEngine.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addSubModelToContract(SingleInputPatternActor pactor,
eu.stratosphere.api.common.operators.Operator contract)
Write the sub-workflow of a SingleInputPatternActor either to a parameter
in the PACT plan configuration or to a file.
|
protected void |
_executeDDPJob()
Execute the engine.
|
protected eu.stratosphere.api.common.Plan |
_getModelPlan()
Constructs a PACT Plan from the model.
|
java.lang.Object |
clone(Workspace workspace)
Clone the StratosphereEngine into the specified workspace.
|
void |
preinitialize()
Initialize the engine.
|
static void |
shutdownServer()
Shutdown the Stratosphere server if one was started.
|
void |
stop()
Stop any running Stratosphere jobs.
|
void |
wrapup()
Free resources.
|
_addParameters, _checkConfigDir, _checkFilesBeforeStartingServer, _checkModel, _checkModelForNonDDPActors, _checkServer, _copyParameters, _createJobDirectory, _getJarList, _getParametersInHierarchy, _parseOutputFromStartingServer, _removeParameters, _setPortTypes, attributeChanged, clone, closeAllEffigies, createEffigy, fire, getDisplayRedirectDir, getModel, getName, getServerTypes, postfirepublic StratosphereEngine(DDPDirector director) throws IllegalActionException, NameDuplicationException
director - The director containing this engine.IllegalActionExceptionNameDuplicationExceptionpublic java.lang.Object clone(Workspace workspace) throws java.lang.CloneNotSupportedException
protected void _executeDDPJob() throws IllegalActionException
_executeDDPJob in class DDPEngineIllegalActionExceptionpublic void preinitialize() throws IllegalActionException
preinitialize in class DDPEngineIllegalActionExceptionpublic void stop() throws IllegalActionException
stop in class DDPEngineIllegalActionExceptionpublic static void shutdownServer() throws IllegalActionException
IllegalActionExceptionpublic void wrapup() throws IllegalActionException
wrapup in class DDPEngineIllegalActionExceptionprotected void _addSubModelToContract(SingleInputPatternActor pactor, eu.stratosphere.api.common.operators.Operator contract) throws IllegalActionException
IllegalActionExceptionprotected eu.stratosphere.api.common.Plan _getModelPlan() throws IllegalActionException
IllegalActionException