You are viewing the RapidMiner Server documentation for version 9.7 -Check here for latest version
Job Containers
Job Containers are the executing entities, they communicate with RapidMiner Server and connect to various persistent storages and endpoints if needed by the process itself.
Lifecycle and communication with the Job Agent
Job Containers are spawned by Job Agents and bound locally to a system port determined by the Job Agent. They are persistent by default which means that they will always be running as separate system process as long as the Job Agent is neither stopping nor restarting them. They can also be configured to restart at the end of a execution or via periodic timers. For more information on how to configure essential behavior of the Job Agent please refer to theJob Agent's configuration page.
Job directory
The directory is created under{homeDir}/data/jobs/{jobId}/
using the job's ID as folder name, wherehomeDir
is either thehome/
folder in the root directory of the unpackaged agent distribution or in case of the bundled Job Agent thejob-agent-home/
folder in theRapidMiner Server Homefolder. This folder contains the following files for the execution of a specific job:
execution.log
- the log of the executed processerror.log
- log file containing the error message, created only in case of error
Container working directory
Each container owns a specific container directory. The location of this directory is{homeDir} /数据/ containers/
and it contains the context directory.RapidMiner
which is copied by the agent to this directory before the container is started. It also contains information about the container application itself, namely in theapplication.properties
file which is automatically used by the spawned container.
When the agent spawns the container additional libraries are also loaded for this container. The container will use this context until it gets shut down or restarted.
If a job arrives in the agent, it redirects this job bundled with custom information like properties from therapidminer.properties
file to the container.
Container log directory
The container itself writes its output to the{homeDir}/log/container-
. It contains information about submitted jobs, the state of the current execution and any error which might have occurred during the execution.