Files included with this skill beyond the listing page.
skill mdSKILL.md7,984 B
docsREADME.md3,375 B
docsSUMMARY.md807 B
History
First seen on skills.sh
First recorded snapshot · 7 installs
SKILL.md
Glue Diagnostics
When to use
Any AWS Glue investigation where the console alone is insufficient — job failures, OOM errors, Spark crashes, crawler schema misdetection, connection timeouts, Data Catalog drift, DPU under/over-provisioning, data skew, bookmark corruption, or Glue Studio generation errors.
Spark executor OOM vs driver OOM: executor OOM means data partitions are too large (repartition or increase worker type). Driver OOM means too much data collected to the driver (avoid collect(), reduce broadcast join size).
Job bookmarks track processed data for incremental loads. Bookmarks only work with S3 sources using job.init()/job.commit(). Resetting bookmarks reprocesses all data.
Crawler schema evolution: crawlers can add new columns but may not handle type changes gracefully. Schema change policy (UPDATEINDATABASE vs LOG) controls behavior.
Glue connections for JDBC require VPC, subnet, and security group configuration. The subnet must have a NAT gateway or VPC endpoints for Glue service access.
Glue Data Catalog vs Hive metastore: Glue Data Catalog is the default metastore for Glue jobs. External Hive metastore requires explicit configuration and network connectivity.
Glue Studio visual editor has limitations: complex transformations may require custom code nodes. Not all PySpark/Scala operations are available as visual transforms.
Spark UI is available for Glue 2.0+ jobs via the Glue console. It provides DAG visualization, stage details, and executor metrics for debugging performance issues.
Job timeout defaults to 48 hours (2880 minutes). Long-running jobs may silently consume DPUs. Always set an explicit timeout.
Glue version compatibility: Glue 2.0 (Spark 2.4), Glue 3.0 (Spark 3.1), Glue 4.0 (Spark 3.3). Library availability and behavior differ across versions.
Partition management: too many small partitions cause excessive S3 LIST calls. Too few large partitions cause OOM. Aim for 128 MB–512 MB per partition.
S3 eventual consistency impact: S3 provides strong read-after-write consistency since December 2020, but Glue Data Catalog partition metadata updates may still lag behind S3 changes.
Worker type comparison
Worker Type
DPU
Memory
vCPU
Use Case
G.1X
1
16 GB
4
Standard ETL, small-medium datasets
G.2X
2
32 GB
8
Memory-intensive transforms, large joins
G.4X
4
64 GB
16
ML transforms, very large datasets
G.8X
8
128 GB
32
Massive datasets, complex aggregations
G.025X
0.25
2 GB
2
Python shell jobs only
Z.2X
2
32 GB
8
Ray jobs (Glue 4.0+)
Glue version comparison
Version
Spark
Python
Key Features
Glue 2.0
2.4
3.7
Spark UI, no startup overhead
Glue 3.0
3.1
3.7
Optimized shuffle, auto-scaling
Glue 4.0
3.3
3.10
Ray support, Python 3.10, improved performance
Anti-hallucination rules
Always cite specific job run error messages, crawler metrics, or CloudWatch log entries as evidence.
Never assume OOM is always executor-side. Check whether the error is on the driver or executor — the fix is different.
Job bookmarks only work with supported sources (S3, JDBC) and require job.init()/job.commit() calls. Never claim bookmarks work automatically with all sources.
Crawler schema changes depend on the SchemaChangePolicy. Never assume crawlers automatically update table schemas.
Glue connections require VPC networking. Never suggest JDBC connections work without proper VPC, subnet, and security group configuration.
Spend no more than 2 minutes on any single hypothesis. Pivot if inconclusive.