Categories

Versions

You are viewing the RapidMiner Server documentation for version 9.4 - 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. Job Containers are ephemeral, they are spawned by Job Agents and either stop normally at the end of the execution or will be stopped by the spawning agents. Before the execution the agent spawning the container creates a context directory and places necessary data into it. The path to this directory is then passed along to the container so it can utilize the information needed for execution.

Context directory

The directory is created under Job Agent's {homeDir}/data/jobs/{jobId}/ using the job's ID as the name, where homeDir is either the home/ folder in the root directory of the unpackaged agent distribution or in case of the bundled Job Agent the job-agent-home/ folder in the RapidMiner Server Home folder. Before the container starts the process execution context directory will be prepared and contain the following:

  • process.xml: the RapidMiner process itself
  • auth.properties: contains a JWT token to authenticate with RapidMiner Server endpoint
  • container.properties: properties which are going to be added as system properties to the execution
  • jdbc_properties.xml: JDBC drivers and their location _ .RapidMiner: context directory used by RapidMiner Core

The container itself writes its output to the {homeDir}/data/jobs/{jobId}/ directory:

  • execution.log: the log of the container
  • error.log: log file containing the error message, created only in case of error
  • hs_err.log: JVM error log, created only in case JVM crashes