Topic

Apache Spark

Practical Spark work: shuffle diagnosis, executor sizing, partitioning, skew, and the evidence to collect before touching a configuration.

I have worked with Spark since 2020. The useful diagnosis usually starts with the stage graph, skew, spill, partition size, and one stubborn task—not with a copied configuration checklist. These notes focus on what I measure before changing a knob, how I separate a scheduling problem from a data-layout problem, and how to make a performance claim reproducible on data that can be shared safely.

All writing

Essay Notes from production Observed in production

Validate said SUCCESS. The upgrade would have died halfway.

A Hive Metastore 4 upgrade rehearsed on a clone: zero constraints, a validator that passed anyway, and why the plan became blue/green.

  • Iceberg & the lakehouse
  • Apache Spark
  • Observability & SLOs

14 min read

Essay Notes from production Observed in production

The Spark 4 upgrade that succeeded and wrote nothing

Spark 4.2 on hadoop-aws 3.5 read 9,029 records and wrote zero objects, and no task failed. Why the S3A committer was bypassed, and the tests that now catch it.

  • Apache Spark
  • Data quality & contracts

17 min read