spark-serverless-reliability-and-state-management
Installation
SKILL.md
Spark Serverless Reliability And State Management
Overview
Serverless Spark hides cluster failures behind short-lived runtimes and opaque retries. Silent partial writes, orphaned checkpoints, and timeout-induced corruption are common when agents treat serverless Spark like a long-running cluster job. This skill forces explicit state boundaries, resumable progress, and cleanup before any publish path opens.
When to Use
- implementing or reviewing Spark on
AWS Lambda,AWS Glueserverless, or comparable short-lived runtimes - designing S3-backed checkpoints, progress markers, or staged write paths
- recovering from timeout, OOM, or mid-batch partial failure without double-counting
- translating IceGuard-style checkpoint and rollback patterns into agent workflows
- hardening batch Spark that must survive cold starts, memory limits, and hard execution ceilings
Do not use this for always-on EMR or Databricks clusters unless the job also runs in a serverless path with hard time limits.