Plugin Settings
Configured via Settings > Tools > Spark Test Runner. Settings are application-level (shared across projects).
Interpreter
Choose how spark is executed:
| Mode | Description |
|---|---|
| Local | Run spark binary directly on the host |
| Docker | Run inside a Docker container (exec into running container or run a new one) |
| Docker Compose | Run inside a Docker Compose service |
Settings by mode
| Setting | Description |
|---|---|
| Spark executable | Path to the spark binary |
The simplest option — just point to where spark is installed.
| Setting | Description |
|---|---|
| Docker container/image | Container name (for exec) or image name (for run) |
| Spark path in container | Path to spark binary inside the container |
| Path mapping: host path | Project path on the host |
| Path mapping: container path | Project path inside the container |
| Setting | Description |
|---|---|
| Compose file | Path to docker-compose.yml |
| Compose service | Service name to execute in |
| Spark path in container | Path to spark binary inside the container |
| Path mapping: host path | Project path on the host |
| Path mapping: container path | Project path inside the container |
Common settings
These apply regardless of the execution mode:
| Setting | Description |
|---|---|
| Configuration file | Path to spark.yaml (passed as --configuration) |
| Cloud URL | Default SPARK_CLOUD_URL for cloud mode |
| Additional arguments | Extra CLI args appended to every run |