Alerting turns Iceberg maintenance from passive automation into active oversight by notifying operators when monitored conditions indicate failure, risk, or degraded performance. section 11.1.4
Orchestration tools query metadata tables, emit metrics to observability systems, and trigger alerts for signals such as excessive snapshots, delete files, or uncompacted data. section 11.1.4
Compaction failure
A failed compaction task records an open-files error and triggers the maintenance.compaction_failure alert. section 11.1.4
[2025-10-01 02:00:12,345] {taskinstance.py:1064} INFO - Starting task: compact_orders_table
[2025-10-01 02:00:13,678] {sql.py:76} INFO - Running SQL: CALL iceberg.system.rewrite_data_files('db.orders')
[2025-10-01 02:00:20,982] {sql.py:81} ERROR - Compaction failed: Too many open files
[2025-10-01 02:00:21,104] {taskinstance.py:1234} ERROR - Task failed with exception: OSError: [Errno 24] Too many open files
[2025-10-01 02:00:21,105] {taskinstance.py:1300} INFO - Marking task as FAILED
[2025-10-01 02:00:21,200] {taskinstance.py:1421} INFO - Triggering alert: maintenance.compaction_failure
Follow the task log from compaction start through failure detection and alert triggering. section 11.1.4









