Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
    Pipeline Spec OverviewConnections
    Sources
    Transforms
    Destinations
    Execution Settings
Execution
Deployment
Troubleshooting
Examples
Pipeline Authoring

Execution Settings

The optional execution.settings block sets Spark resources per run. Every key maps to a Spark submit property and overrides the platform's submit defaults for that pipeline - no code or cluster changes needed.

At a glance

  • Optional - omit execution.settings to use the platform's Spark defaults.
  • Driver and executors - set memory and cores for each role.
  • Run controls - timeout, task_max_retries, and priority tune how a run behaves.

All settings

Driver

SettingTypeDefaultMaps to
driver_memory4g, 1024m1gspark.driver.memory
driver_coresint ≥ 11spark.driver.cores
driver_memory_overheadstring256mspark.driver.memoryOverhead

Executors

SettingTypeDefaultMaps to
executor_memorystring1gspark.executor.memory
executor_coresint ≥ 11spark.executor.cores
executor_memory_overheadstring512mspark.executor.memoryOverhead
executorsint ≥ 12spark.executor.instances
dynamic_allocationboolfalsespark.dynamicAllocation.enabled
maximum_coresint ≥ 14spark.cores.max

Run

SettingTypeDefaultMaps to
timeout60s, 30m, 2h300sspark.network.timeout
task_max_retriesint ≥ 34spark.task.maxFailures
prioritylow, medium, high-spark.scheduler.priority

Example

Code
execution: settings: driver_memory: "512m" driver_cores: 1 executor_memory: "2g" executor_cores: 2 executors: 3 timeout: "10m" task_max_retries: 3 priority: high maximum_cores: 8 dynamic_allocation: false

Notes

  • executors is a fixed count - set dynamic_allocation: true to let Spark scale executors instead, and maximum_cores caps the total cores the run may claim.
  • task_max_retries has a minimum of 3 - the platform's executor-exclusion safety layer needs room to retry before a task fails the run.
  • Streaming throttles are set per asset/output instead: max_offsets_per_trigger on stream assets (see Sources) and trigger_interval on streaming outputs (see Destinations).
  • Unknown setting keys warn and are ignored - the run continues with the defaults.
  • Check what the cluster can actually give you: GET /api/cluster/resources returns total and available cores and memory from the Spark Master.

Related pages

  • Pipeline Spec Overview - the full spec model
  • Execution Lifecycle - how runs use these settings
  • Spark Troubleshooting - memory and timeout problems
  • API Reference - the schemas endpoint (/api/schemas/execution/settings)
Suggest edit
Last modified on November 26, 2026
API DestinationsExecution Lifecycle
On this page
  • At a glance
  • All settings
    • Driver
    • Executors
    • Run
  • Example
  • Notes
  • Related pages
YAML