Spark settings for a Fabric workspace

By Hatnest · Reviewed by Saurav Raj Joshi · Updated Nov 30, 2026

Every Fabric workspace carries its own Spark configuration. Notebooks and Spark job definitions in that workspace read it when they start a session, so a few well-chosen settings decide how fast jobs start, how much compute they can grab and how long a runaway job can live. You find them under Workspace settings, then Data Engineering/Science, then Spark settings. You need the Admin role in the workspace to change them.

The default pool

Each new workspace gets a starter pool automatically. It uses medium-sized nodes that are kept pre-warmed, so a session usually starts in seconds. This is a best-effort optimization: when no warm capacity is free, Fabric falls back to normal on-demand startup, which is slower.

On the starter pool you can adjust two things:

  • Autoscale: the pool grows and shrinks with activity, up to a maximum node count.
  • Dynamically allocate executors: Spark adds and releases executors depending on the data volume.

Both are on by default. The upper limit depends on the capacity SKU. A small F2 or F4 capacity is limited to one node, while an F64 can go up to 16 nodes (the default maximum there is 10). Lowering the limits protects a shared capacity from one noisy workspace.

When the starter pool is not enough, create a custom Spark pool with New Pool. You choose node size, autoscale range and dynamic allocation, and you can set the minimum node count to 1, which gives a single-node cluster where driver and executor share a machine. That suits small jobs and keeps them resilient to a node failure. Two catches:

  • A capacity admin must have enabled Customized workspace pools in the capacity's Spark compute settings (it is enabled by default). Without it you cannot build a custom pool.
  • A custom pool does not use pre-warmed clusters, so a session takes noticeably longer to start (around three minutes) than on the starter pool.

For latency-sensitive scheduled work, a custom live pool keeps clusters warm during a window you define.

Environment and runtime

The Environment tab sets a default environment for the workspace. An environment bundles a Spark runtime version, compute properties and libraries. Pick one as the workspace default, create a new one from the dropdown, or turn the default off and choose only a runtime version from the list. Notebooks that do not attach their own environment inherit this choice.

The related switch Customize compute configuration for items decides whether item authors may change session-level properties such as driver and executor cores and memory. If the admin turns it off, every environment in the workspace uses the default pool and its configuration.

Jobs settings

  • Job admission. Workspaces use optimistic job admission by default. Turning on Reserve maximum cores for active Spark jobs disables that approach and reserves the maximum cores for each job instead.
  • Spark session timeout. Sets how long an idle interactive session lives. The default is 20 minutes.
  • Set maximum job lifetime. A guardrail that cancels user-submitted jobs running longer than a limit you set. It covers notebook runs (including those called from a pipeline), Spark job definitions and Livy sessions. System-managed work, such as table maintenance (optimize and vacuum) and materialized lake view refreshes, is exempt. Choose a limit above your longest legitimate job.

High concurrency and logging

High concurrency mode lets several notebooks share one Spark session, which saves startup time and capacity. It is on by default for notebooks. A workspace admin turns it on separately, in the Spark settings, for notebooks that pipelines run. A separate option enables automatic logging of machine learning models and experiments, recording parameters and metrics during training.

Common mistakes

  • Expecting a Contributor to edit Spark settings. Only workspace admins can.
  • Switching to a custom pool and then wondering why startup got slower.
  • Setting a maximum job lifetime that is shorter than a normal nightly job, which cancels it halfway.
  • Creating a custom pool without checking the capacity-level switch.

For the exam

  • Spark settings are in Workspace settings under Data Engineering/Science, and need the workspace Admin role.
  • The starter pool is the default, pre-warmed and fast to start; custom pools need the capacity-level option and start more slowly.
  • Autoscale and dynamic executor allocation are configured per pool, bounded by the capacity SKU.
  • The default environment or runtime version is chosen in the Environment tab.
  • Maximum job lifetime stops user jobs only; system maintenance jobs are not affected.
  • High concurrency lets notebooks share a session.

Sources