Characterizing and Fixing Silent Data Loss in Spark-on-AWS-Lambda with Open Table Formats

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Gandla, Srujan Kumar
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911613973430272
author Gandla, Srujan Kumar
author_facet Gandla, Srujan Kumar
contents AWS Lambda terminates containers with an uncatchable SIGKILL signal when a function exceeds its configured timeout. When a Spark-on-AWS-Lambda (SoAL) job is killed between Phase 1 (data upload) and Phase 2 (metadata commit) of a write, the result is silent data loss: orphaned Parquet files accumulate on S3 while the table's committed state remains unchanged and standard monitoring raises no alert. We characterize this vulnerability across Delta Lake and Apache Iceberg through 860 controlled kill-injection experiments at three dataset sizes. A SIGKILL landing in the inter-phase gap produced silent data loss in 100% of trials for both formats. We then present SafeWriter, a language-level wrapper that arms a watchdog thread 30 seconds before the Lambda timeout, triggers a format-native rollback via SQL, and records a checkpoint document on S3. SafeWriter converted every tested kill scenario into a clean, detectable rollback with under 100 ms added to normal write paths.
format Preprint
id arxiv_https___arxiv_org_abs_2604_20081
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Characterizing and Fixing Silent Data Loss in Spark-on-AWS-Lambda with Open Table Formats
Gandla, Srujan Kumar
Distributed, Parallel, and Cluster Computing
H.2.4; D.4.5
AWS Lambda terminates containers with an uncatchable SIGKILL signal when a function exceeds its configured timeout. When a Spark-on-AWS-Lambda (SoAL) job is killed between Phase 1 (data upload) and Phase 2 (metadata commit) of a write, the result is silent data loss: orphaned Parquet files accumulate on S3 while the table's committed state remains unchanged and standard monitoring raises no alert. We characterize this vulnerability across Delta Lake and Apache Iceberg through 860 controlled kill-injection experiments at three dataset sizes. A SIGKILL landing in the inter-phase gap produced silent data loss in 100% of trials for both formats. We then present SafeWriter, a language-level wrapper that arms a watchdog thread 30 seconds before the Lambda timeout, triggers a format-native rollback via SQL, and records a checkpoint document on S3. SafeWriter converted every tested kill scenario into a clean, detectable rollback with under 100 ms added to normal write paths.
title Characterizing and Fixing Silent Data Loss in Spark-on-AWS-Lambda with Open Table Formats
topic Distributed, Parallel, and Cluster Computing
H.2.4; D.4.5
url https://arxiv.org/abs/2604.20081