Primary node
The EMR node that runs the cluster's coordination services. AWS advises running it on Spot only if sudden termination of the cluster is acceptable.
Glossary
Short definitions of the terms that decide a Spark compute bill, from instance hours and DBUs to shuffle, spill and skew. Each entry links to the official documentation where the term comes from a standard or a platform. Terms are grouped by where they show up: the bill, the cluster, the job and the engine.
The full compute cost of one execution of a job: instance hours times rates, plus platform charges. The fairest number for comparing engines that change instance type or speed.
The unit Databricks bills processing in. A cluster emits DBUs per hour; the DBU price depends on plan, cloud and region. On Jobs Classic compute the instances are billed separately.
Source: Databricks Lakeflow Jobs pricing
The Amazon EMR price that AWS adds to the EC2 instance price and EBS storage price for each instance in a cluster.
Source: Amazon EMR pricing
Cluster resources that are allocated and billed but not doing work, such as spare nodes between busy periods or memory reserved but unused.
One instance running for one hour. On per-second billing, a cluster's instance hours are the sum of each instance's running seconds divided by 3,600. Most Spark cost levers shrink this number or its price.
Source: Amazon EMR pricing
An EC2 instance billed at the standard rate with no interruption risk. AWS quotes Spot discounts against On-Demand prices.
Source: Amazon EMR pricing
Amazon EMR charges "a per-second rate for every second you use, with a one-minute minimum", on top of the EC2 and EBS price. Shorter jobs cost less on every per-second line.
Source: Amazon EMR pricing
On classic Jobs compute, Databricks lists Photon with a "DBU emission rate 2.9X vs. non-Photon". The same cluster emits 2.9 times as many DBUs per hour with Photon on.
Source: Databricks Lakeflow Jobs pricing
Spare EC2 capacity that AWS prices at "up to a 90% discount compared to On-Demand prices" and can reclaim. On EMR it is usually used for task nodes.
One virtual CPU core used for one hour. Definity prices its Pro tier "starting at $0.003 / vCore-hour".
Source: Definity pricing
An EMR node that runs tasks and stores data in HDFS. AWS lets Spark application masters run only on core nodes so jobs survive Spot task-node loss.
An Amazon EC2 instance family offered in f2.6xlarge, f2.12xlarge and f2.48xlarge sizes. DualBird runs on F2 instances.
Source: Amazon EC2 F2 instances
An EMR feature that adds and removes instances based on workload, on EMR 5.30.0 and later (not 6.0.0), for YARN applications such as Spark.
Source: Amazon EMR managed scaling
Amazon EMR running Spark jobs on Amazon EKS (Kubernetes), priced on the vCPU and memory jobs request.
Source: Amazon EMR pricing
An EMR option with no cluster to manage, billed for the vCPU, memory and storage jobs consume. Workers range from 1 to 16 vCPU and 2 to 120 GB.
Source: Amazon EMR pricing
An EC2 instance with NVIDIA GPUs. cuDF for Apache Spark on EMR needs GPU instance types for core and task nodes and does not support ARM.
Source: AWS: Using the Nvidia RAPIDS Accelerator for Apache Spark on EMR
An ARM-based EC2 instance family. AWS states up to 30% lower cost and up to 15% better performance for Spark on EMR with Graviton2, an older AWS statement.
Source: Amazon EMR features
The EMR node that runs the cluster's coordination services. AWS advises running it on Spot only if sudden termination of the cluster is acceptable.
An EMR node that runs tasks but stores no HDFS data, which makes it the usual place for Spot capacity.
The Hadoop resource manager that schedules Spark containers on a classic EMR cluster. EMR managed scaling works only with YARN applications.
Source: Amazon EMR managed scaling
A Spark SQL feature, on by default, that re-optimizes the plan at runtime: it coalesces small shuffle partitions (advisory size 64 MB) and splits skewed join partitions (factor 5, threshold 256 MB).
A join that sends a small table to every executor instead of shuffling both sides. Spark broadcasts tables under spark.sql.autoBroadcastJoinThreshold, 10 MB by default.
Uneven data across partitions, so a few tasks take much longer than the rest while other cores wait. AQE can split skewed partitions in sort-merge joins.
The process that runs a Spark application's main program, plans the work and schedules tasks on executors.
Source: Apache Spark: Tuning
The part of Spark's unified memory region used for shuffles, joins, sorts and aggregations. spark.memory.fraction sets the region at 0.6 of heap minus 300 MiB.
Source: Apache Spark: Tuning
A JVM process on a worker node that runs a Spark application's tasks and holds its cached data. Executor count and size drive how many instances a job needs.
Source: Apache Spark: Tuning
A slice of a dataset that one task processes. Too few partitions leave cores idle; too many add scheduling overhead. spark.sql.shuffle.partitions defaults to 200.
The step where Spark redistributes data between stages, for joins and aggregations, by writing and reading it across the network. Large shuffles are a common cause of long, expensive stages.
Source: Apache Spark: Web UI
A record of a Spark application's jobs, stages and tasks, read by the history server. NVIDIA's qualification tool reads event logs to estimate GPU fit.
Data written to disk when execution memory runs out during shuffles, joins, sorts or aggregations. The Spark UI reports shuffle spill to memory and disk per stage.
Source: Apache Spark: Tuning
A cost tool that raises the use of existing nodes, for example by letting the scheduler place more containers per node before adding nodes. Pepperdata Capacity Optimizer is one.
Source: Pepperdata FAQ
When an accelerator meets an operation it does not support, that part of the plan runs on standard Spark instead. cuDF for Apache Spark and Photon both document fallback.
Source: NVIDIA spark-rapids FAQ
An engine written in C++ or Rust that executes Spark's query plan outside the JVM, usually on columnar data. Photon, Velox (under Gluten), DataFusion (under Comet and Flarion) and Auron are examples.
Source: Apache Gluten homepage
A separate service that stores shuffle data off the executors, such as Apache Celeborn. Comet 1.1.0 added native shuffle over Celeborn; Auron supports Celeborn.
Code loaded into Spark through the spark.plugins setting to change how it runs. cuDF for Apache Spark and Apache Gluten load this way; DualBird describes adding its Spark plugin.
Source: AWS: Using the Nvidia RAPIDS Accelerator for Apache Spark on EMR
Standard decision-support query suites often used for engine benchmarks. Gluten, Comet and Pepperdata publish figures on them; they compare engines more than they predict a specific ETL job.
Source: Apache Gluten homepage